Class ListOccAvailabilitiesRequest
Implements
Inherited Members
Namespace: Oci.CapacitymanagementService.Requests
Assembly: OCI.DotNetSDK.Capacitymanagement.dll
Syntax
public class ListOccAvailabilitiesRequest : IOciRequest
Examples
Click here to see an example of how to use ListOccAvailabilities request.
Properties
DateExpectedCapacityHandover
Declaration
[HttpConverter(TargetEnum.Query, "dateExpectedCapacityHandover")]
public string DateExpectedCapacityHandover { get; set; }
Property Value
Type | Description |
---|---|
string | The capacity handover date of the capacity constraint to filter the list of capacity constraints. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return. |
OccAvailabilityCatalogId
Declaration
[Required(ErrorMessage = "OccAvailabilityCatalogId is required.")]
[HttpConverter(TargetEnum.Path, "occAvailabilityCatalogId")]
public string OccAvailabilityCatalogId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the availability catalog. |
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 |
ResourceName
Declaration
[HttpConverter(TargetEnum.Query, "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the resource to filter the list of capacity constraints. |
ResourceType
Declaration
[HttpConverter(TargetEnum.Query, "resourceType")]
public string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string | Resource type using which the capacity constraints of an availability catalog can be filtered. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListOccAvailabilitiesRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListOccAvailabilitiesRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. The default order for resource name is ascending. The default order for date of capacity handover is descending. |
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'. |
WorkloadType
Declaration
[HttpConverter(TargetEnum.Query, "workloadType")]
public string WorkloadType { get; set; }
Property Value
Type | Description |
---|---|
string | Workload type using the resources in an availability catalog can be filtered. |