1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Vault
  5. getSecretVersionSdkV2
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Vault.getSecretVersionSdkV2

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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>
Copy
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]
Copy
func GetSecretVersionSdkV2(ctx *Context, args *GetSecretVersionSdkV2Args, opts ...InvokeOption) (*GetSecretVersionSdkV2Result, error)
func GetSecretVersionSdkV2Output(ctx *Context, args *GetSecretVersionSdkV2OutputArgs, opts ...InvokeOption) GetSecretVersionSdkV2ResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSecretVersionSdkV2Result> getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOptions options)
public static Output<GetSecretVersionSdkV2Result> getSecretVersionSdkV2(GetSecretVersionSdkV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SecretId This property is required. string
SecretVersionNumber This property is required. string
SecretId This property is required. string
SecretVersionNumber This property is required. string
secretId This property is required. String
secretVersionNumber This property is required. String
secretId This property is required. string
secretVersionNumber This property is required. string
secret_id This property is required. str
secret_version_number This property is required. str
secretId This property is required. String
secretVersionNumber This property is required. String

getSecretVersionSdkV2 Result

The following output properties are available:

ContentType string
Id string
The provider-assigned unique ID for this managed resource.
IsContentAutoGenerated bool
Name string
SecretId string
SecretVersionNumber string
Stages List<string>
TimeCreated string
TimeOfCurrentVersionExpiry string
TimeOfDeletion string
VersionNumber string
ContentType string
Id string
The provider-assigned unique ID for this managed resource.
IsContentAutoGenerated bool
Name string
SecretId string
SecretVersionNumber string
Stages []string
TimeCreated string
TimeOfCurrentVersionExpiry string
TimeOfDeletion string
VersionNumber string
contentType String
id String
The provider-assigned unique ID for this managed resource.
isContentAutoGenerated Boolean
name String
secretId String
secretVersionNumber String
stages List<String>
timeCreated String
timeOfCurrentVersionExpiry String
timeOfDeletion String
versionNumber String
contentType string
id string
The provider-assigned unique ID for this managed resource.
isContentAutoGenerated boolean
name string
secretId string
secretVersionNumber string
stages string[]
timeCreated string
timeOfCurrentVersionExpiry string
timeOfDeletion string
versionNumber string
content_type str
id str
The provider-assigned unique ID for this managed resource.
is_content_auto_generated bool
name str
secret_id str
secret_version_number str
stages Sequence[str]
time_created str
time_of_current_version_expiry str
time_of_deletion str
version_number str
contentType String
id String
The provider-assigned unique ID for this managed resource.
isContentAutoGenerated Boolean
name String
secretId String
secretVersionNumber String
stages List<String>
timeCreated String
timeOfCurrentVersionExpiry String
timeOfDeletion String
versionNumber String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi