GetSecretVersion

Deprecated: gcp.monitoring.getSecretVersion has been deprecated in favor of gcp.secretmanager.getSecretVersion

Using GetSecretVersion

function getSecretVersion(args: GetSecretVersionArgs, opts?: InvokeOptions): Promise<GetSecretVersionResult>
function  get_secret_version(project=None, secret=None, version=None, opts=None)
func GetSecretVersion(ctx *Context, args *GetSecretVersionArgs, opts ...InvokeOption) (*GetSecretVersionResult, error)
public static class GetSecretVersion {
    public static Task<GetSecretVersionResult> InvokeAsync(GetSecretVersionArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Secret string
Project string
Version string
Secret string
Project string
Version string
secret string
project string
version string
secret str
project str
version str

GetSecretVersion Result

The following output properties are available:

CreateTime string
DestroyTime string
Enabled bool
Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string
Secret string
SecretData string
Version string
CreateTime string
DestroyTime string
Enabled bool
Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string
Secret string
SecretData string
Version string
createTime string
destroyTime string
enabled boolean
id string

The provider-assigned unique ID for this managed resource.

name string
project string
secret string
secretData string
version string
create_time str
destroy_time str
enabled bool
id str

The provider-assigned unique ID for this managed resource.

name str
project str
secret str
secret_data str
version str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.