Class ListGroupsRequest
Implements
Inherited Members
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class ListGroupsRequest : IOciRequest
Examples
Click here to see an example of how to use ListGroups 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 (remember that the tenancy is simply the root compartment). |
Remarks
Required
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public Group.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Group.LifecycleStateEnum? | A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return in a paginated "List" call. |
Name
Declaration
[HttpConverter(TargetEnum.Query, "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to only return resources that match the given name exactly. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | The value of the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListGroupsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListGroupsRequest.SortByEnum? | The field to sort by. You can provide one sort order ( |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListGroupsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListGroupsRequest.SortOrderEnum? | The sort order to use, either ascending ( |