Class ListOccCapacityRequestsInternalRequest
Implements
Inherited Members
Namespace: Oci.CapacitymanagementService.Requests
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class ListOccCapacityRequestsInternalRequest : IOciRequest
Examples
Click here to see an example of how to use ListOccCapacityRequestsInternal request.
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes. |
Remarks
Required
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only the resources that match the entire display name. The match is not case sensitive. |
Id
Declaration
[HttpConverter(TargetEnum.Query, "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The maximum number of items to return. |
Namespace
Declaration
[HttpConverter(TargetEnum.Query, "namespace")]
public Namespace? Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Namespace? | The namespace by which we would filter the list. |
OccAvailabilityCatalogId
Declaration
[HttpConverter(TargetEnum.Query, "occAvailabilityCatalogId")]
public string OccAvailabilityCatalogId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created. |
OccCustomerGroupId
Declaration
[Required(ErrorMessage = "OccCustomerGroupId is required.")]
[HttpConverter(TargetEnum.Query, "occCustomerGroupId")]
public string OccCustomerGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The customer group ocid by which we would filter the list. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A token representing the position at which to start retrieving results. This must come from |
RequestType
Declaration
[HttpConverter(TargetEnum.Query, "requestType")]
public OccCapacityRequest.RequestTypeEnum? RequestType { get; set; }
Property Value
| Type | Description |
|---|---|
| OccCapacityRequest.RequestTypeEnum? | A filter to return only the resources that match the request type. The match is not case sensitive. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListOccCapacityRequestsInternalRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListOccCapacityRequestsInternalRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. The default order for display name is ascending. The default order for time created is reverse chronological order(latest date at the top). |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| SortOrder? | The sort order to use, either 'ASC' or 'DESC'. |