Class UpdateKeyRequest
Implements
Inherited Members
Namespace: Oci.KeymanagementService.Requests
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class UpdateKeyRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateKey request.
Properties
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call for a
resource, set the |
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
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. |
UpdateKeyDetails
Declaration
[Required(ErrorMessage = "UpdateKeyDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateKeyDetails UpdateKeyDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdateKeyDetails | UpdateKeyDetails |
Remarks
Required