Class ListCccInfrastructuresRequest
Implements
Inherited Members
Namespace: Oci.ComputecloudatcustomerService.Requests
Assembly: OCI.DotNetSDK.Computecloudatcustomer.dll
Syntax
public class ListCccInfrastructuresRequest : IOciRequest
Examples
Click here to see an example of how to use ListCccInfrastructures request.
Properties
AccessLevel
Declaration
[HttpConverter(TargetEnum.Query, "accessLevel")]
public ListCccInfrastructuresRequest.AccessLevelEnum? AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
ListCccInfrastructuresRequest.AccessLevelEnum? | Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. |
CccInfrastructureId
Declaration
[HttpConverter(TargetEnum.Query, "cccInfrastructureId")]
public string CccInfrastructureId { get; set; }
Property Value
Type | Description |
---|---|
string | An OCID for a Compute Cloud@Customer Infrastructure. |
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which to list resources. |
CompartmentIdInSubtree
Declaration
[HttpConverter(TargetEnum.Query, "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
Type | Description |
---|---|
bool? | Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. |
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only resources that match the entire display name given. |
DisplayNameContains
Declaration
[HttpConverter(TargetEnum.Query, "displayNameContains")]
public string DisplayNameContains { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only resources whose display name contains the substring. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public CccInfrastructure.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
CccInfrastructure.LifecycleStateEnum? | A filter used to return only resources that match the given lifecycleState. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request OCID for tracing. |
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 the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListCccInfrastructuresRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListCccInfrastructuresRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. |
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'. |