Class ListKeyVersionsRequest
Implements
Inherited Members
Namespace: Oci.KeymanagementService.Requests
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class ListKeyVersionsRequest : IOciRequest
Examples
Click here to see an example of how to use ListKeyVersions request.
Properties
KeyId
Declaration
[Required(ErrorMessage = "KeyId is required.")]
[HttpConverter(TargetEnum.Path, "keyId")]
public string KeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key. |
Remarks
Required
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. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service. |
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 ListKeyVersionsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListKeyVersionsRequest.SortByEnum? | The field to sort by. You can specify only one sort order. The default
order for |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListKeyVersionsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListKeyVersionsRequest.SortOrderEnum? | The sort order to use, either ascending ( |