Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Vault.getSecretVersionSdkV2
Explore with Pulumi AI
Using getSecretVersionSdkV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecretVersionSdkV2(args: GetSecretVersionSdkV2Args, opts?: InvokeOptions): Promise<GetSecretVersionSdkV2Result>
function getSecretVersionSdkV2Output(args: GetSecretVersionSdkV2OutputArgs, opts?: InvokeOptions): Output<GetSecretVersionSdkV2Result>def get_secret_version_sdk_v2(secret_id: Optional[str] = None,
                              secret_version_number: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSecretVersionSdkV2Result
def get_secret_version_sdk_v2_output(secret_id: Optional[pulumi.Input[str]] = None,
                              secret_version_number: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSecretVersionSdkV2Result]func GetSecretVersionSdkV2(ctx *Context, args *GetSecretVersionSdkV2Args, opts ...InvokeOption) (*GetSecretVersionSdkV2Result, error)
func GetSecretVersionSdkV2Output(ctx *Context, args *GetSecretVersionSdkV2OutputArgs, opts ...InvokeOption) GetSecretVersionSdkV2ResultOutput> Note: This function is named GetSecretVersionSdkV2 in the Go SDK.
public static class GetSecretVersionSdkV2 
{
    public static Task<GetSecretVersionSdkV2Result> InvokeAsync(GetSecretVersionSdkV2Args args, InvokeOptions? opts = null)
    public static Output<GetSecretVersionSdkV2Result> Invoke(GetSecretVersionSdkV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecretVersionSdkV2Result> getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOptions options)
public static Output<GetSecretVersionSdkV2Result> getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOptions options)
fn::invoke:
  function: oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SecretId string
- SecretVersion stringNumber 
- SecretId string
- SecretVersion stringNumber 
- secretId String
- secretVersion StringNumber 
- secretId string
- secretVersion stringNumber 
- secret_id str
- secret_version_ strnumber 
- secretId String
- secretVersion StringNumber 
getSecretVersionSdkV2 Result
The following output properties are available:
- ContentType string
- Id string
- The provider-assigned unique ID for this managed resource.
- IsContent boolAuto Generated 
- Name string
- SecretId string
- SecretVersion stringNumber 
- Stages List<string>
- TimeCreated string
- TimeOf stringCurrent Version Expiry 
- TimeOf stringDeletion 
- VersionNumber string
- ContentType string
- Id string
- The provider-assigned unique ID for this managed resource.
- IsContent boolAuto Generated 
- Name string
- SecretId string
- SecretVersion stringNumber 
- Stages []string
- TimeCreated string
- TimeOf stringCurrent Version Expiry 
- TimeOf stringDeletion 
- VersionNumber string
- contentType String
- id String
- The provider-assigned unique ID for this managed resource.
- isContent BooleanAuto Generated 
- name String
- secretId String
- secretVersion StringNumber 
- stages List<String>
- timeCreated String
- timeOf StringCurrent Version Expiry 
- timeOf StringDeletion 
- versionNumber String
- contentType string
- id string
- The provider-assigned unique ID for this managed resource.
- isContent booleanAuto Generated 
- name string
- secretId string
- secretVersion stringNumber 
- stages string[]
- timeCreated string
- timeOf stringCurrent Version Expiry 
- timeOf stringDeletion 
- versionNumber string
- content_type str
- id str
- The provider-assigned unique ID for this managed resource.
- is_content_ boolauto_ generated 
- name str
- secret_id str
- secret_version_ strnumber 
- stages Sequence[str]
- time_created str
- time_of_ strcurrent_ version_ expiry 
- time_of_ strdeletion 
- version_number str
- contentType String
- id String
- The provider-assigned unique ID for this managed resource.
- isContent BooleanAuto Generated 
- name String
- secretId String
- secretVersion StringNumber 
- stages List<String>
- timeCreated String
- timeOf StringCurrent Version Expiry 
- timeOf StringDeletion 
- versionNumber String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.