Class ListServiceProvidersRequest
Implements
Inherited Members
Namespace: Oci.DelegateaccesscontrolService.Requests
Assembly: OCI.DotNetSDK.Delegateaccesscontrol.dll
Syntax
public class ListServiceProvidersRequest : IOciRequest
Examples
Click here to see an example of how to use ListServiceProviders 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. |
Remarks
Required
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public ServiceProvider.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| ServiceProvider.LifecycleStateEnum? | A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The maximum number of items to return. |
Name
Declaration
[HttpConverter(TargetEnum.Query, "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return Service Provider resources that match the given name. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. |
ServiceProviderType
Declaration
[HttpConverter(TargetEnum.Query, "serviceProviderType")]
public ServiceProvider.ServiceProviderTypeEnum? ServiceProviderType { get; set; }
Property Value
| Type | Description |
|---|---|
| ServiceProvider.ServiceProviderTypeEnum? | A filter to return only Service Provider resources whose provider type matches the given provider type. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListServiceProvidersRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListServiceProvidersRequest.SortByEnum? | The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. If no value is specified, timeCreated is default. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrders? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| SortOrders? | The sort order to use, either 'asc' or 'desc'. |
SupportedResourceType
Declaration
[HttpConverter(TargetEnum.Query, "supportedResourceType")]
public DelegationControlResourceType? SupportedResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| DelegationControlResourceType? | A filter to return only Service Provider resources whose supported resource type matches the given resource type. |