Class GetSecretBundleRequest
Implements
Inherited Members
Namespace: Oci.SecretsService.Requests
Assembly: OCI.DotNetSDK.Secrets.dll
Syntax
public class GetSecretBundleRequest : IOciRequest
Examples
Click here to see an example of how to use GetSecretBundle request.
Properties
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. |
SecretId
Declaration
[Required(ErrorMessage = "SecretId is required.")]
[HttpConverter(TargetEnum.Path, "secretId")]
public string SecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the secret. |
Remarks
Required
SecretVersionName
Declaration
[HttpConverter(TargetEnum.Query, "secretVersionName")]
public string SecretVersionName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the secret. (This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.) |
Stage
Declaration
[HttpConverter(TargetEnum.Query, "stage")]
public GetSecretBundleRequest.StageEnum? Stage { get; set; }
Property Value
Type | Description |
---|---|
GetSecretBundleRequest.StageEnum? | The rotation state of the secret version. |
VersionNumber
Declaration
[HttpConverter(TargetEnum.Query, "versionNumber")]
public long? VersionNumber { get; set; }
Property Value
Type | Description |
---|---|
long? | The version number of the secret. |