ssm

package
v0.1.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProductsArgs

type GetProductsArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getProducts.

type GetProductsOutputArgs

type GetProductsOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getProducts.

func (GetProductsOutputArgs) ElementType

func (GetProductsOutputArgs) ElementType() reflect.Type

type GetProductsResult

type GetProductsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string   `pulumi:"id"`
	Products         []string `pulumi:"products"`
	ResultOutputFile *string  `pulumi:"resultOutputFile"`
}

A collection of values returned by getProducts.

func GetProducts

func GetProducts(ctx *pulumi.Context, args *GetProductsArgs, opts ...pulumi.InvokeOption) (*GetProductsResult, error)

type GetProductsResultOutput

type GetProductsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProducts.

func (GetProductsResultOutput) ElementType

func (GetProductsResultOutput) ElementType() reflect.Type

func (GetProductsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProductsResultOutput) Products

func (GetProductsResultOutput) ResultOutputFile

func (o GetProductsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetProductsResultOutput) ToGetProductsResultOutput

func (o GetProductsResultOutput) ToGetProductsResultOutput() GetProductsResultOutput

func (GetProductsResultOutput) ToGetProductsResultOutputWithContext

func (o GetProductsResultOutput) ToGetProductsResultOutputWithContext(ctx context.Context) GetProductsResultOutput

type GetRotationDetailArgs

type GetRotationDetailArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	SecretName       string  `pulumi:"secretName"`
}

A collection of arguments for invoking getRotationDetail.

type GetRotationDetailOutputArgs

type GetRotationDetailOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SecretName       pulumi.StringInput    `pulumi:"secretName"`
}

A collection of arguments for invoking getRotationDetail.

func (GetRotationDetailOutputArgs) ElementType

type GetRotationDetailResult

type GetRotationDetailResult struct {
	EnableRotation bool `pulumi:"enableRotation"`
	Frequency      int  `pulumi:"frequency"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string  `pulumi:"id"`
	LatestRotateTime    string  `pulumi:"latestRotateTime"`
	NextRotateBeginTime string  `pulumi:"nextRotateBeginTime"`
	ResultOutputFile    *string `pulumi:"resultOutputFile"`
	SecretName          string  `pulumi:"secretName"`
}

A collection of values returned by getRotationDetail.

type GetRotationDetailResultOutput

type GetRotationDetailResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRotationDetail.

func (GetRotationDetailResultOutput) ElementType

func (GetRotationDetailResultOutput) EnableRotation

func (o GetRotationDetailResultOutput) EnableRotation() pulumi.BoolOutput

func (GetRotationDetailResultOutput) Frequency

func (GetRotationDetailResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRotationDetailResultOutput) LatestRotateTime

func (o GetRotationDetailResultOutput) LatestRotateTime() pulumi.StringOutput

func (GetRotationDetailResultOutput) NextRotateBeginTime

func (o GetRotationDetailResultOutput) NextRotateBeginTime() pulumi.StringOutput

func (GetRotationDetailResultOutput) ResultOutputFile

func (GetRotationDetailResultOutput) SecretName

func (GetRotationDetailResultOutput) ToGetRotationDetailResultOutput

func (o GetRotationDetailResultOutput) ToGetRotationDetailResultOutput() GetRotationDetailResultOutput

func (GetRotationDetailResultOutput) ToGetRotationDetailResultOutputWithContext

func (o GetRotationDetailResultOutput) ToGetRotationDetailResultOutputWithContext(ctx context.Context) GetRotationDetailResultOutput

type GetRotationHistoryArgs

type GetRotationHistoryArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	SecretName       string  `pulumi:"secretName"`
}

A collection of arguments for invoking getRotationHistory.

type GetRotationHistoryOutputArgs

type GetRotationHistoryOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SecretName       pulumi.StringInput    `pulumi:"secretName"`
}

A collection of arguments for invoking getRotationHistory.

func (GetRotationHistoryOutputArgs) ElementType

type GetRotationHistoryResult

type GetRotationHistoryResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string   `pulumi:"id"`
	ResultOutputFile *string  `pulumi:"resultOutputFile"`
	SecretName       string   `pulumi:"secretName"`
	VersionIds       []string `pulumi:"versionIds"`
}

A collection of values returned by getRotationHistory.

type GetRotationHistoryResultOutput

type GetRotationHistoryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRotationHistory.

func (GetRotationHistoryResultOutput) ElementType

func (GetRotationHistoryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRotationHistoryResultOutput) ResultOutputFile

func (GetRotationHistoryResultOutput) SecretName

func (GetRotationHistoryResultOutput) ToGetRotationHistoryResultOutput

func (o GetRotationHistoryResultOutput) ToGetRotationHistoryResultOutput() GetRotationHistoryResultOutput

func (GetRotationHistoryResultOutput) ToGetRotationHistoryResultOutputWithContext

func (o GetRotationHistoryResultOutput) ToGetRotationHistoryResultOutputWithContext(ctx context.Context) GetRotationHistoryResultOutput

func (GetRotationHistoryResultOutput) VersionIds

type GetSecretVersionsArgs

type GetSecretVersionsArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	SecretName       string  `pulumi:"secretName"`
	VersionId        *string `pulumi:"versionId"`
}

A collection of arguments for invoking getSecretVersions.

type GetSecretVersionsOutputArgs

type GetSecretVersionsOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SecretName       pulumi.StringInput    `pulumi:"secretName"`
	VersionId        pulumi.StringPtrInput `pulumi:"versionId"`
}

A collection of arguments for invoking getSecretVersions.

func (GetSecretVersionsOutputArgs) ElementType

type GetSecretVersionsResult

type GetSecretVersionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                 string                               `pulumi:"id"`
	ResultOutputFile   *string                              `pulumi:"resultOutputFile"`
	SecretName         string                               `pulumi:"secretName"`
	SecretVersionLists []GetSecretVersionsSecretVersionList `pulumi:"secretVersionLists"`
	VersionId          *string                              `pulumi:"versionId"`
}

A collection of values returned by getSecretVersions.

type GetSecretVersionsResultOutput

type GetSecretVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecretVersions.

func (GetSecretVersionsResultOutput) ElementType

func (GetSecretVersionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecretVersionsResultOutput) ResultOutputFile

func (GetSecretVersionsResultOutput) SecretName

func (GetSecretVersionsResultOutput) SecretVersionLists

func (GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutput

func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutput() GetSecretVersionsResultOutput

func (GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutputWithContext

func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutputWithContext(ctx context.Context) GetSecretVersionsResultOutput

func (GetSecretVersionsResultOutput) VersionId

type GetSecretVersionsSecretVersionList

type GetSecretVersionsSecretVersionList struct {
	SecretBinary string `pulumi:"secretBinary"`
	SecretString string `pulumi:"secretString"`
	VersionId    string `pulumi:"versionId"`
}

type GetSecretVersionsSecretVersionListArgs

type GetSecretVersionsSecretVersionListArgs struct {
	SecretBinary pulumi.StringInput `pulumi:"secretBinary"`
	SecretString pulumi.StringInput `pulumi:"secretString"`
	VersionId    pulumi.StringInput `pulumi:"versionId"`
}

func (GetSecretVersionsSecretVersionListArgs) ElementType

func (GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutput

func (i GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput

func (GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutputWithContext

func (i GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListOutput

type GetSecretVersionsSecretVersionListArray

type GetSecretVersionsSecretVersionListArray []GetSecretVersionsSecretVersionListInput

func (GetSecretVersionsSecretVersionListArray) ElementType

func (GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutput

func (i GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutput() GetSecretVersionsSecretVersionListArrayOutput

func (GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutputWithContext

func (i GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListArrayOutput

type GetSecretVersionsSecretVersionListArrayInput

type GetSecretVersionsSecretVersionListArrayInput interface {
	pulumi.Input

	ToGetSecretVersionsSecretVersionListArrayOutput() GetSecretVersionsSecretVersionListArrayOutput
	ToGetSecretVersionsSecretVersionListArrayOutputWithContext(context.Context) GetSecretVersionsSecretVersionListArrayOutput
}

GetSecretVersionsSecretVersionListArrayInput is an input type that accepts GetSecretVersionsSecretVersionListArray and GetSecretVersionsSecretVersionListArrayOutput values. You can construct a concrete instance of `GetSecretVersionsSecretVersionListArrayInput` via:

GetSecretVersionsSecretVersionListArray{ GetSecretVersionsSecretVersionListArgs{...} }

type GetSecretVersionsSecretVersionListArrayOutput

type GetSecretVersionsSecretVersionListArrayOutput struct{ *pulumi.OutputState }

func (GetSecretVersionsSecretVersionListArrayOutput) ElementType

func (GetSecretVersionsSecretVersionListArrayOutput) Index

func (GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutput

func (o GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutput() GetSecretVersionsSecretVersionListArrayOutput

func (GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutputWithContext

func (o GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListArrayOutput

type GetSecretVersionsSecretVersionListInput

type GetSecretVersionsSecretVersionListInput interface {
	pulumi.Input

	ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput
	ToGetSecretVersionsSecretVersionListOutputWithContext(context.Context) GetSecretVersionsSecretVersionListOutput
}

GetSecretVersionsSecretVersionListInput is an input type that accepts GetSecretVersionsSecretVersionListArgs and GetSecretVersionsSecretVersionListOutput values. You can construct a concrete instance of `GetSecretVersionsSecretVersionListInput` via:

GetSecretVersionsSecretVersionListArgs{...}

type GetSecretVersionsSecretVersionListOutput

type GetSecretVersionsSecretVersionListOutput struct{ *pulumi.OutputState }

func (GetSecretVersionsSecretVersionListOutput) ElementType

func (GetSecretVersionsSecretVersionListOutput) SecretBinary

func (GetSecretVersionsSecretVersionListOutput) SecretString

func (GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutput

func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput

func (GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutputWithContext

func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListOutput

func (GetSecretVersionsSecretVersionListOutput) VersionId

type GetSecretsArgs

type GetSecretsArgs struct {
	OrderType        *int                   `pulumi:"orderType"`
	ProductName      *string                `pulumi:"productName"`
	ResultOutputFile *string                `pulumi:"resultOutputFile"`
	SecretName       *string                `pulumi:"secretName"`
	SecretType       *int                   `pulumi:"secretType"`
	State            *int                   `pulumi:"state"`
	Tags             map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getSecrets.

type GetSecretsOutputArgs

type GetSecretsOutputArgs struct {
	OrderType        pulumi.IntPtrInput    `pulumi:"orderType"`
	ProductName      pulumi.StringPtrInput `pulumi:"productName"`
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SecretName       pulumi.StringPtrInput `pulumi:"secretName"`
	SecretType       pulumi.IntPtrInput    `pulumi:"secretType"`
	State            pulumi.IntPtrInput    `pulumi:"state"`
	Tags             pulumi.MapInput       `pulumi:"tags"`
}

A collection of arguments for invoking getSecrets.

func (GetSecretsOutputArgs) ElementType

func (GetSecretsOutputArgs) ElementType() reflect.Type

type GetSecretsResult

type GetSecretsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string                 `pulumi:"id"`
	OrderType        *int                   `pulumi:"orderType"`
	ProductName      *string                `pulumi:"productName"`
	ResultOutputFile *string                `pulumi:"resultOutputFile"`
	SecretLists      []GetSecretsSecretList `pulumi:"secretLists"`
	SecretName       *string                `pulumi:"secretName"`
	SecretType       *int                   `pulumi:"secretType"`
	State            *int                   `pulumi:"state"`
	Tags             map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getSecrets.

func GetSecrets

func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)

type GetSecretsResultOutput

type GetSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecrets.

func (GetSecretsResultOutput) ElementType

func (GetSecretsResultOutput) ElementType() reflect.Type

func (GetSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecretsResultOutput) OrderType

func (GetSecretsResultOutput) ProductName

func (GetSecretsResultOutput) ResultOutputFile

func (o GetSecretsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetSecretsResultOutput) SecretLists

func (GetSecretsResultOutput) SecretName

func (GetSecretsResultOutput) SecretType

func (GetSecretsResultOutput) State

func (GetSecretsResultOutput) Tags

func (GetSecretsResultOutput) ToGetSecretsResultOutput

func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput

func (GetSecretsResultOutput) ToGetSecretsResultOutputWithContext

func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput

type GetSecretsSecretList

type GetSecretsSecretList struct {
	AssociatedInstanceIds []string `pulumi:"associatedInstanceIds"`
	CreateTime            int      `pulumi:"createTime"`
	CreateUin             int      `pulumi:"createUin"`
	DeleteTime            int      `pulumi:"deleteTime"`
	Description           string   `pulumi:"description"`
	KmsKeyId              string   `pulumi:"kmsKeyId"`
	KmsKeyType            string   `pulumi:"kmsKeyType"`
	NextRotationTime      int      `pulumi:"nextRotationTime"`
	ProductName           string   `pulumi:"productName"`
	ProjectId             int      `pulumi:"projectId"`
	ResourceId            string   `pulumi:"resourceId"`
	ResourceName          string   `pulumi:"resourceName"`
	RotationBeginTime     string   `pulumi:"rotationBeginTime"`
	RotationFrequency     int      `pulumi:"rotationFrequency"`
	RotationStatus        int      `pulumi:"rotationStatus"`
	SecretName            string   `pulumi:"secretName"`
	SecretType            int      `pulumi:"secretType"`
	Status                string   `pulumi:"status"`
	TargetUin             int      `pulumi:"targetUin"`
}

type GetSecretsSecretListArgs

type GetSecretsSecretListArgs struct {
	AssociatedInstanceIds pulumi.StringArrayInput `pulumi:"associatedInstanceIds"`
	CreateTime            pulumi.IntInput         `pulumi:"createTime"`
	CreateUin             pulumi.IntInput         `pulumi:"createUin"`
	DeleteTime            pulumi.IntInput         `pulumi:"deleteTime"`
	Description           pulumi.StringInput      `pulumi:"description"`
	KmsKeyId              pulumi.StringInput      `pulumi:"kmsKeyId"`
	KmsKeyType            pulumi.StringInput      `pulumi:"kmsKeyType"`
	NextRotationTime      pulumi.IntInput         `pulumi:"nextRotationTime"`
	ProductName           pulumi.StringInput      `pulumi:"productName"`
	ProjectId             pulumi.IntInput         `pulumi:"projectId"`
	ResourceId            pulumi.StringInput      `pulumi:"resourceId"`
	ResourceName          pulumi.StringInput      `pulumi:"resourceName"`
	RotationBeginTime     pulumi.StringInput      `pulumi:"rotationBeginTime"`
	RotationFrequency     pulumi.IntInput         `pulumi:"rotationFrequency"`
	RotationStatus        pulumi.IntInput         `pulumi:"rotationStatus"`
	SecretName            pulumi.StringInput      `pulumi:"secretName"`
	SecretType            pulumi.IntInput         `pulumi:"secretType"`
	Status                pulumi.StringInput      `pulumi:"status"`
	TargetUin             pulumi.IntInput         `pulumi:"targetUin"`
}

func (GetSecretsSecretListArgs) ElementType

func (GetSecretsSecretListArgs) ElementType() reflect.Type

func (GetSecretsSecretListArgs) ToGetSecretsSecretListOutput

func (i GetSecretsSecretListArgs) ToGetSecretsSecretListOutput() GetSecretsSecretListOutput

func (GetSecretsSecretListArgs) ToGetSecretsSecretListOutputWithContext

func (i GetSecretsSecretListArgs) ToGetSecretsSecretListOutputWithContext(ctx context.Context) GetSecretsSecretListOutput

type GetSecretsSecretListArray

type GetSecretsSecretListArray []GetSecretsSecretListInput

func (GetSecretsSecretListArray) ElementType

func (GetSecretsSecretListArray) ElementType() reflect.Type

func (GetSecretsSecretListArray) ToGetSecretsSecretListArrayOutput

func (i GetSecretsSecretListArray) ToGetSecretsSecretListArrayOutput() GetSecretsSecretListArrayOutput

func (GetSecretsSecretListArray) ToGetSecretsSecretListArrayOutputWithContext

func (i GetSecretsSecretListArray) ToGetSecretsSecretListArrayOutputWithContext(ctx context.Context) GetSecretsSecretListArrayOutput

type GetSecretsSecretListArrayInput

type GetSecretsSecretListArrayInput interface {
	pulumi.Input

	ToGetSecretsSecretListArrayOutput() GetSecretsSecretListArrayOutput
	ToGetSecretsSecretListArrayOutputWithContext(context.Context) GetSecretsSecretListArrayOutput
}

GetSecretsSecretListArrayInput is an input type that accepts GetSecretsSecretListArray and GetSecretsSecretListArrayOutput values. You can construct a concrete instance of `GetSecretsSecretListArrayInput` via:

GetSecretsSecretListArray{ GetSecretsSecretListArgs{...} }

type GetSecretsSecretListArrayOutput

type GetSecretsSecretListArrayOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretListArrayOutput) ElementType

func (GetSecretsSecretListArrayOutput) Index

func (GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutput

func (o GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutput() GetSecretsSecretListArrayOutput

func (GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutputWithContext

func (o GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutputWithContext(ctx context.Context) GetSecretsSecretListArrayOutput

type GetSecretsSecretListInput

type GetSecretsSecretListInput interface {
	pulumi.Input

	ToGetSecretsSecretListOutput() GetSecretsSecretListOutput
	ToGetSecretsSecretListOutputWithContext(context.Context) GetSecretsSecretListOutput
}

GetSecretsSecretListInput is an input type that accepts GetSecretsSecretListArgs and GetSecretsSecretListOutput values. You can construct a concrete instance of `GetSecretsSecretListInput` via:

GetSecretsSecretListArgs{...}

type GetSecretsSecretListOutput

type GetSecretsSecretListOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretListOutput) AssociatedInstanceIds

func (o GetSecretsSecretListOutput) AssociatedInstanceIds() pulumi.StringArrayOutput

func (GetSecretsSecretListOutput) CreateTime

func (GetSecretsSecretListOutput) CreateUin

func (GetSecretsSecretListOutput) DeleteTime

func (GetSecretsSecretListOutput) Description

func (GetSecretsSecretListOutput) ElementType

func (GetSecretsSecretListOutput) ElementType() reflect.Type

func (GetSecretsSecretListOutput) KmsKeyId

func (GetSecretsSecretListOutput) KmsKeyType

func (GetSecretsSecretListOutput) NextRotationTime

func (o GetSecretsSecretListOutput) NextRotationTime() pulumi.IntOutput

func (GetSecretsSecretListOutput) ProductName

func (GetSecretsSecretListOutput) ProjectId

func (GetSecretsSecretListOutput) ResourceId

func (GetSecretsSecretListOutput) ResourceName

func (GetSecretsSecretListOutput) RotationBeginTime

func (o GetSecretsSecretListOutput) RotationBeginTime() pulumi.StringOutput

func (GetSecretsSecretListOutput) RotationFrequency

func (o GetSecretsSecretListOutput) RotationFrequency() pulumi.IntOutput

func (GetSecretsSecretListOutput) RotationStatus

func (o GetSecretsSecretListOutput) RotationStatus() pulumi.IntOutput

func (GetSecretsSecretListOutput) SecretName

func (GetSecretsSecretListOutput) SecretType

func (GetSecretsSecretListOutput) Status

func (GetSecretsSecretListOutput) TargetUin

func (GetSecretsSecretListOutput) ToGetSecretsSecretListOutput

func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutput() GetSecretsSecretListOutput

func (GetSecretsSecretListOutput) ToGetSecretsSecretListOutputWithContext

func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutputWithContext(ctx context.Context) GetSecretsSecretListOutput

type GetServiceStatusArgs

type GetServiceStatusArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getServiceStatus.

type GetServiceStatusOutputArgs

type GetServiceStatusOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getServiceStatus.

func (GetServiceStatusOutputArgs) ElementType

func (GetServiceStatusOutputArgs) ElementType() reflect.Type

type GetServiceStatusResult

type GetServiceStatusResult struct {
	AccessKeyEscrowEnabled bool `pulumi:"accessKeyEscrowEnabled"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	InvalidType      int     `pulumi:"invalidType"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	ServiceEnabled   bool    `pulumi:"serviceEnabled"`
}

A collection of values returned by getServiceStatus.

type GetServiceStatusResultOutput

type GetServiceStatusResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceStatus.

func (GetServiceStatusResultOutput) AccessKeyEscrowEnabled

func (o GetServiceStatusResultOutput) AccessKeyEscrowEnabled() pulumi.BoolOutput

func (GetServiceStatusResultOutput) ElementType

func (GetServiceStatusResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceStatusResultOutput) InvalidType

func (GetServiceStatusResultOutput) ResultOutputFile

func (GetServiceStatusResultOutput) ServiceEnabled

func (o GetServiceStatusResultOutput) ServiceEnabled() pulumi.BoolOutput

func (GetServiceStatusResultOutput) ToGetServiceStatusResultOutput

func (o GetServiceStatusResultOutput) ToGetServiceStatusResultOutput() GetServiceStatusResultOutput

func (GetServiceStatusResultOutput) ToGetServiceStatusResultOutputWithContext

func (o GetServiceStatusResultOutput) ToGetServiceStatusResultOutputWithContext(ctx context.Context) GetServiceStatusResultOutput

type GetSshKeyPairValueArgs

type GetSshKeyPairValueArgs struct {
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	SecretName       *string `pulumi:"secretName"`
	SshKeyId         *string `pulumi:"sshKeyId"`
}

A collection of arguments for invoking getSshKeyPairValue.

type GetSshKeyPairValueOutputArgs

type GetSshKeyPairValueOutputArgs struct {
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	SecretName       pulumi.StringPtrInput `pulumi:"secretName"`
	SshKeyId         pulumi.StringPtrInput `pulumi:"sshKeyId"`
}

A collection of arguments for invoking getSshKeyPairValue.

func (GetSshKeyPairValueOutputArgs) ElementType

type GetSshKeyPairValueResult

type GetSshKeyPairValueResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                string  `pulumi:"id"`
	PrivateKey        string  `pulumi:"privateKey"`
	ProjectId         int     `pulumi:"projectId"`
	PublicKey         string  `pulumi:"publicKey"`
	ResultOutputFile  *string `pulumi:"resultOutputFile"`
	SecretName        string  `pulumi:"secretName"`
	SshKeyDescription string  `pulumi:"sshKeyDescription"`
	SshKeyId          string  `pulumi:"sshKeyId"`
	SshKeyName        string  `pulumi:"sshKeyName"`
}

A collection of values returned by getSshKeyPairValue.

type GetSshKeyPairValueResultOutput

type GetSshKeyPairValueResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKeyPairValue.

func (GetSshKeyPairValueResultOutput) ElementType

func (GetSshKeyPairValueResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSshKeyPairValueResultOutput) PrivateKey

func (GetSshKeyPairValueResultOutput) ProjectId

func (GetSshKeyPairValueResultOutput) PublicKey

func (GetSshKeyPairValueResultOutput) ResultOutputFile

func (GetSshKeyPairValueResultOutput) SecretName

func (GetSshKeyPairValueResultOutput) SshKeyDescription

func (o GetSshKeyPairValueResultOutput) SshKeyDescription() pulumi.StringOutput

func (GetSshKeyPairValueResultOutput) SshKeyId

func (GetSshKeyPairValueResultOutput) SshKeyName

func (GetSshKeyPairValueResultOutput) ToGetSshKeyPairValueResultOutput

func (o GetSshKeyPairValueResultOutput) ToGetSshKeyPairValueResultOutput() GetSshKeyPairValueResultOutput

func (GetSshKeyPairValueResultOutput) ToGetSshKeyPairValueResultOutputWithContext

func (o GetSshKeyPairValueResultOutput) ToGetSshKeyPairValueResultOutputWithContext(ctx context.Context) GetSshKeyPairValueResultOutput

type ProductSecret

type ProductSecret struct {
	pulumi.CustomResourceState

	// Credential creation time in UNIX timestamp format.
	CreateTime pulumi.IntOutput `pulumi:"createTime"`
	// Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Domain name of the account in the form of IP. You can enter `%`.
	Domains pulumi.StringArrayOutput `pulumi:"domains"`
	// Specifies whether to enable rotation, when secret status is `Disabled`, rotation will be disabled. `True` - enable,
	// `False` - do not enable. If this parameter is not specified, `False` will be used by default.
	EnableRotation pulumi.BoolOutput `pulumi:"enableRotation"`
	// Tencent Cloud service instance ID.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Specifies the KMS CMK that encrypts the credential. If this parameter is left empty, the CMK created by Secrets Manager
	// by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.
	PrivilegesLists ProductSecretPrivilegesListArrayOutput `pulumi:"privilegesLists"`
	// Name of the Tencent Cloud service bound to the credential, such as `Mysql`, `Tdsql-mysql`, `Tdsql_C_Mysql`. you can use
	// dataSource `tencentcloud_ssm_products` to query supported products.
	ProductName pulumi.StringOutput `pulumi:"productName"`
	// User-Defined rotation start time in the format of 2006-01-02 15:04:05.When `EnableRotation` is `True`, this parameter is
	// required.
	RotationBeginTime pulumi.StringOutput `pulumi:"rotationBeginTime"`
	// Rotation frequency in days. Default value: 1 day.
	RotationFrequency pulumi.IntOutput `pulumi:"rotationFrequency"`
	// Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretType pulumi.IntOutput `pulumi:"secretType"`
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags of secret.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Prefix of the user account name, which is specified by you and can contain up to 8 characters.Supported character sets
	// include:Digits: [0, 9].Lowercase letters: [a, z].Uppercase letters: [A, Z].Special symbols: underscore.The prefix must
	// begin with a letter.
	UserNamePrefix pulumi.StringOutput `pulumi:"userNamePrefix"`
}

func GetProductSecret

func GetProductSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductSecretState, opts ...pulumi.ResourceOption) (*ProductSecret, error)

GetProductSecret gets an existing ProductSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductSecret

func NewProductSecret(ctx *pulumi.Context,
	name string, args *ProductSecretArgs, opts ...pulumi.ResourceOption) (*ProductSecret, error)

NewProductSecret registers a new resource with the given unique name, arguments, and options.

func (*ProductSecret) ElementType

func (*ProductSecret) ElementType() reflect.Type

func (*ProductSecret) ToProductSecretOutput

func (i *ProductSecret) ToProductSecretOutput() ProductSecretOutput

func (*ProductSecret) ToProductSecretOutputWithContext

func (i *ProductSecret) ToProductSecretOutputWithContext(ctx context.Context) ProductSecretOutput

type ProductSecretArgs

type ProductSecretArgs struct {
	// Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.
	Description pulumi.StringPtrInput
	// Domain name of the account in the form of IP. You can enter `%`.
	Domains pulumi.StringArrayInput
	// Specifies whether to enable rotation, when secret status is `Disabled`, rotation will be disabled. `True` - enable,
	// `False` - do not enable. If this parameter is not specified, `False` will be used by default.
	EnableRotation pulumi.BoolPtrInput
	// Tencent Cloud service instance ID.
	InstanceId pulumi.StringInput
	// Specifies the KMS CMK that encrypts the credential. If this parameter is left empty, the CMK created by Secrets Manager
	// by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.
	PrivilegesLists ProductSecretPrivilegesListArrayInput
	// Name of the Tencent Cloud service bound to the credential, such as `Mysql`, `Tdsql-mysql`, `Tdsql_C_Mysql`. you can use
	// dataSource `tencentcloud_ssm_products` to query supported products.
	ProductName pulumi.StringInput
	// User-Defined rotation start time in the format of 2006-01-02 15:04:05.When `EnableRotation` is `True`, this parameter is
	// required.
	RotationBeginTime pulumi.StringPtrInput
	// Rotation frequency in days. Default value: 1 day.
	RotationFrequency pulumi.IntPtrInput
	// Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringInput
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
	// Prefix of the user account name, which is specified by you and can contain up to 8 characters.Supported character sets
	// include:Digits: [0, 9].Lowercase letters: [a, z].Uppercase letters: [A, Z].Special symbols: underscore.The prefix must
	// begin with a letter.
	UserNamePrefix pulumi.StringInput
}

The set of arguments for constructing a ProductSecret resource.

func (ProductSecretArgs) ElementType

func (ProductSecretArgs) ElementType() reflect.Type

type ProductSecretArray

type ProductSecretArray []ProductSecretInput

func (ProductSecretArray) ElementType

func (ProductSecretArray) ElementType() reflect.Type

func (ProductSecretArray) ToProductSecretArrayOutput

func (i ProductSecretArray) ToProductSecretArrayOutput() ProductSecretArrayOutput

func (ProductSecretArray) ToProductSecretArrayOutputWithContext

func (i ProductSecretArray) ToProductSecretArrayOutputWithContext(ctx context.Context) ProductSecretArrayOutput

type ProductSecretArrayInput

type ProductSecretArrayInput interface {
	pulumi.Input

	ToProductSecretArrayOutput() ProductSecretArrayOutput
	ToProductSecretArrayOutputWithContext(context.Context) ProductSecretArrayOutput
}

ProductSecretArrayInput is an input type that accepts ProductSecretArray and ProductSecretArrayOutput values. You can construct a concrete instance of `ProductSecretArrayInput` via:

ProductSecretArray{ ProductSecretArgs{...} }

type ProductSecretArrayOutput

type ProductSecretArrayOutput struct{ *pulumi.OutputState }

func (ProductSecretArrayOutput) ElementType

func (ProductSecretArrayOutput) ElementType() reflect.Type

func (ProductSecretArrayOutput) Index

func (ProductSecretArrayOutput) ToProductSecretArrayOutput

func (o ProductSecretArrayOutput) ToProductSecretArrayOutput() ProductSecretArrayOutput

func (ProductSecretArrayOutput) ToProductSecretArrayOutputWithContext

func (o ProductSecretArrayOutput) ToProductSecretArrayOutputWithContext(ctx context.Context) ProductSecretArrayOutput

type ProductSecretInput

type ProductSecretInput interface {
	pulumi.Input

	ToProductSecretOutput() ProductSecretOutput
	ToProductSecretOutputWithContext(ctx context.Context) ProductSecretOutput
}

type ProductSecretMap

type ProductSecretMap map[string]ProductSecretInput

func (ProductSecretMap) ElementType

func (ProductSecretMap) ElementType() reflect.Type

func (ProductSecretMap) ToProductSecretMapOutput

func (i ProductSecretMap) ToProductSecretMapOutput() ProductSecretMapOutput

func (ProductSecretMap) ToProductSecretMapOutputWithContext

func (i ProductSecretMap) ToProductSecretMapOutputWithContext(ctx context.Context) ProductSecretMapOutput

type ProductSecretMapInput

type ProductSecretMapInput interface {
	pulumi.Input

	ToProductSecretMapOutput() ProductSecretMapOutput
	ToProductSecretMapOutputWithContext(context.Context) ProductSecretMapOutput
}

ProductSecretMapInput is an input type that accepts ProductSecretMap and ProductSecretMapOutput values. You can construct a concrete instance of `ProductSecretMapInput` via:

ProductSecretMap{ "key": ProductSecretArgs{...} }

type ProductSecretMapOutput

type ProductSecretMapOutput struct{ *pulumi.OutputState }

func (ProductSecretMapOutput) ElementType

func (ProductSecretMapOutput) ElementType() reflect.Type

func (ProductSecretMapOutput) MapIndex

func (ProductSecretMapOutput) ToProductSecretMapOutput

func (o ProductSecretMapOutput) ToProductSecretMapOutput() ProductSecretMapOutput

func (ProductSecretMapOutput) ToProductSecretMapOutputWithContext

func (o ProductSecretMapOutput) ToProductSecretMapOutputWithContext(ctx context.Context) ProductSecretMapOutput

type ProductSecretOutput

type ProductSecretOutput struct{ *pulumi.OutputState }

func (ProductSecretOutput) CreateTime

func (o ProductSecretOutput) CreateTime() pulumi.IntOutput

Credential creation time in UNIX timestamp format.

func (ProductSecretOutput) Description

func (o ProductSecretOutput) Description() pulumi.StringPtrOutput

Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.

func (ProductSecretOutput) Domains

Domain name of the account in the form of IP. You can enter `%`.

func (ProductSecretOutput) ElementType

func (ProductSecretOutput) ElementType() reflect.Type

func (ProductSecretOutput) EnableRotation

func (o ProductSecretOutput) EnableRotation() pulumi.BoolOutput

Specifies whether to enable rotation, when secret status is `Disabled`, rotation will be disabled. `True` - enable, `False` - do not enable. If this parameter is not specified, `False` will be used by default.

func (ProductSecretOutput) InstanceId

func (o ProductSecretOutput) InstanceId() pulumi.StringOutput

Tencent Cloud service instance ID.

func (ProductSecretOutput) KmsKeyId

Specifies the KMS CMK that encrypts the credential. If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.

func (ProductSecretOutput) PrivilegesLists

List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.

func (ProductSecretOutput) ProductName

func (o ProductSecretOutput) ProductName() pulumi.StringOutput

Name of the Tencent Cloud service bound to the credential, such as `Mysql`, `Tdsql-mysql`, `Tdsql_C_Mysql`. you can use dataSource `tencentcloud_ssm_products` to query supported products.

func (ProductSecretOutput) RotationBeginTime

func (o ProductSecretOutput) RotationBeginTime() pulumi.StringOutput

User-Defined rotation start time in the format of 2006-01-02 15:04:05.When `EnableRotation` is `True`, this parameter is required.

func (ProductSecretOutput) RotationFrequency

func (o ProductSecretOutput) RotationFrequency() pulumi.IntOutput

Rotation frequency in days. Default value: 1 day.

func (ProductSecretOutput) SecretName

func (o ProductSecretOutput) SecretName() pulumi.StringOutput

Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and underscores and must begin with a letter or digit.

func (ProductSecretOutput) SecretType

func (o ProductSecretOutput) SecretType() pulumi.IntOutput

`0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret. Note: this field may return `null`, indicating that no valid values can be obtained.

func (ProductSecretOutput) Status

Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.

func (ProductSecretOutput) Tags

Tags of secret.

func (ProductSecretOutput) ToProductSecretOutput

func (o ProductSecretOutput) ToProductSecretOutput() ProductSecretOutput

func (ProductSecretOutput) ToProductSecretOutputWithContext

func (o ProductSecretOutput) ToProductSecretOutputWithContext(ctx context.Context) ProductSecretOutput

func (ProductSecretOutput) UserNamePrefix

func (o ProductSecretOutput) UserNamePrefix() pulumi.StringOutput

Prefix of the user account name, which is specified by you and can contain up to 8 characters.Supported character sets include:Digits: [0, 9].Lowercase letters: [a, z].Uppercase letters: [A, Z].Special symbols: underscore.The prefix must begin with a letter.

type ProductSecretPrivilegesList

type ProductSecretPrivilegesList struct {
	ColumnName    *string  `pulumi:"columnName"`
	Database      *string  `pulumi:"database"`
	PrivilegeName string   `pulumi:"privilegeName"`
	Privileges    []string `pulumi:"privileges"`
	TableName     *string  `pulumi:"tableName"`
}

type ProductSecretPrivilegesListArgs

type ProductSecretPrivilegesListArgs struct {
	ColumnName    pulumi.StringPtrInput   `pulumi:"columnName"`
	Database      pulumi.StringPtrInput   `pulumi:"database"`
	PrivilegeName pulumi.StringInput      `pulumi:"privilegeName"`
	Privileges    pulumi.StringArrayInput `pulumi:"privileges"`
	TableName     pulumi.StringPtrInput   `pulumi:"tableName"`
}

func (ProductSecretPrivilegesListArgs) ElementType

func (ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutput

func (i ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutput() ProductSecretPrivilegesListOutput

func (ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutputWithContext

func (i ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutputWithContext(ctx context.Context) ProductSecretPrivilegesListOutput

type ProductSecretPrivilegesListArray

type ProductSecretPrivilegesListArray []ProductSecretPrivilegesListInput

func (ProductSecretPrivilegesListArray) ElementType

func (ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutput

func (i ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutput() ProductSecretPrivilegesListArrayOutput

func (ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutputWithContext

func (i ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutputWithContext(ctx context.Context) ProductSecretPrivilegesListArrayOutput

type ProductSecretPrivilegesListArrayInput

type ProductSecretPrivilegesListArrayInput interface {
	pulumi.Input

	ToProductSecretPrivilegesListArrayOutput() ProductSecretPrivilegesListArrayOutput
	ToProductSecretPrivilegesListArrayOutputWithContext(context.Context) ProductSecretPrivilegesListArrayOutput
}

ProductSecretPrivilegesListArrayInput is an input type that accepts ProductSecretPrivilegesListArray and ProductSecretPrivilegesListArrayOutput values. You can construct a concrete instance of `ProductSecretPrivilegesListArrayInput` via:

ProductSecretPrivilegesListArray{ ProductSecretPrivilegesListArgs{...} }

type ProductSecretPrivilegesListArrayOutput

type ProductSecretPrivilegesListArrayOutput struct{ *pulumi.OutputState }

func (ProductSecretPrivilegesListArrayOutput) ElementType

func (ProductSecretPrivilegesListArrayOutput) Index

func (ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutput

func (o ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutput() ProductSecretPrivilegesListArrayOutput

func (ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutputWithContext

func (o ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutputWithContext(ctx context.Context) ProductSecretPrivilegesListArrayOutput

type ProductSecretPrivilegesListInput

type ProductSecretPrivilegesListInput interface {
	pulumi.Input

	ToProductSecretPrivilegesListOutput() ProductSecretPrivilegesListOutput
	ToProductSecretPrivilegesListOutputWithContext(context.Context) ProductSecretPrivilegesListOutput
}

ProductSecretPrivilegesListInput is an input type that accepts ProductSecretPrivilegesListArgs and ProductSecretPrivilegesListOutput values. You can construct a concrete instance of `ProductSecretPrivilegesListInput` via:

ProductSecretPrivilegesListArgs{...}

type ProductSecretPrivilegesListOutput

type ProductSecretPrivilegesListOutput struct{ *pulumi.OutputState }

func (ProductSecretPrivilegesListOutput) ColumnName

func (ProductSecretPrivilegesListOutput) Database

func (ProductSecretPrivilegesListOutput) ElementType

func (ProductSecretPrivilegesListOutput) PrivilegeName

func (ProductSecretPrivilegesListOutput) Privileges

func (ProductSecretPrivilegesListOutput) TableName

func (ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutput

func (o ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutput() ProductSecretPrivilegesListOutput

func (ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutputWithContext

func (o ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutputWithContext(ctx context.Context) ProductSecretPrivilegesListOutput

type ProductSecretState

type ProductSecretState struct {
	// Credential creation time in UNIX timestamp format.
	CreateTime pulumi.IntPtrInput
	// Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.
	Description pulumi.StringPtrInput
	// Domain name of the account in the form of IP. You can enter `%`.
	Domains pulumi.StringArrayInput
	// Specifies whether to enable rotation, when secret status is `Disabled`, rotation will be disabled. `True` - enable,
	// `False` - do not enable. If this parameter is not specified, `False` will be used by default.
	EnableRotation pulumi.BoolPtrInput
	// Tencent Cloud service instance ID.
	InstanceId pulumi.StringPtrInput
	// Specifies the KMS CMK that encrypts the credential. If this parameter is left empty, the CMK created by Secrets Manager
	// by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.
	PrivilegesLists ProductSecretPrivilegesListArrayInput
	// Name of the Tencent Cloud service bound to the credential, such as `Mysql`, `Tdsql-mysql`, `Tdsql_C_Mysql`. you can use
	// dataSource `tencentcloud_ssm_products` to query supported products.
	ProductName pulumi.StringPtrInput
	// User-Defined rotation start time in the format of 2006-01-02 15:04:05.When `EnableRotation` is `True`, this parameter is
	// required.
	RotationBeginTime pulumi.StringPtrInput
	// Rotation frequency in days. Default value: 1 day.
	RotationFrequency pulumi.IntPtrInput
	// Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringPtrInput
	// `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretType pulumi.IntPtrInput
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
	// Prefix of the user account name, which is specified by you and can contain up to 8 characters.Supported character sets
	// include:Digits: [0, 9].Lowercase letters: [a, z].Uppercase letters: [A, Z].Special symbols: underscore.The prefix must
	// begin with a letter.
	UserNamePrefix pulumi.StringPtrInput
}

func (ProductSecretState) ElementType

func (ProductSecretState) ElementType() reflect.Type

type RotateProductSecret

type RotateProductSecret struct {
	pulumi.CustomResourceState

	// Secret name.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
}

func GetRotateProductSecret

func GetRotateProductSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RotateProductSecretState, opts ...pulumi.ResourceOption) (*RotateProductSecret, error)

GetRotateProductSecret gets an existing RotateProductSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRotateProductSecret

func NewRotateProductSecret(ctx *pulumi.Context,
	name string, args *RotateProductSecretArgs, opts ...pulumi.ResourceOption) (*RotateProductSecret, error)

NewRotateProductSecret registers a new resource with the given unique name, arguments, and options.

func (*RotateProductSecret) ElementType

func (*RotateProductSecret) ElementType() reflect.Type

func (*RotateProductSecret) ToRotateProductSecretOutput

func (i *RotateProductSecret) ToRotateProductSecretOutput() RotateProductSecretOutput

func (*RotateProductSecret) ToRotateProductSecretOutputWithContext

func (i *RotateProductSecret) ToRotateProductSecretOutputWithContext(ctx context.Context) RotateProductSecretOutput

type RotateProductSecretArgs

type RotateProductSecretArgs struct {
	// Secret name.
	SecretName pulumi.StringInput
}

The set of arguments for constructing a RotateProductSecret resource.

func (RotateProductSecretArgs) ElementType

func (RotateProductSecretArgs) ElementType() reflect.Type

type RotateProductSecretArray

type RotateProductSecretArray []RotateProductSecretInput

func (RotateProductSecretArray) ElementType

func (RotateProductSecretArray) ElementType() reflect.Type

func (RotateProductSecretArray) ToRotateProductSecretArrayOutput

func (i RotateProductSecretArray) ToRotateProductSecretArrayOutput() RotateProductSecretArrayOutput

func (RotateProductSecretArray) ToRotateProductSecretArrayOutputWithContext

func (i RotateProductSecretArray) ToRotateProductSecretArrayOutputWithContext(ctx context.Context) RotateProductSecretArrayOutput

type RotateProductSecretArrayInput

type RotateProductSecretArrayInput interface {
	pulumi.Input

	ToRotateProductSecretArrayOutput() RotateProductSecretArrayOutput
	ToRotateProductSecretArrayOutputWithContext(context.Context) RotateProductSecretArrayOutput
}

RotateProductSecretArrayInput is an input type that accepts RotateProductSecretArray and RotateProductSecretArrayOutput values. You can construct a concrete instance of `RotateProductSecretArrayInput` via:

RotateProductSecretArray{ RotateProductSecretArgs{...} }

type RotateProductSecretArrayOutput

type RotateProductSecretArrayOutput struct{ *pulumi.OutputState }

func (RotateProductSecretArrayOutput) ElementType

func (RotateProductSecretArrayOutput) Index

func (RotateProductSecretArrayOutput) ToRotateProductSecretArrayOutput

func (o RotateProductSecretArrayOutput) ToRotateProductSecretArrayOutput() RotateProductSecretArrayOutput

func (RotateProductSecretArrayOutput) ToRotateProductSecretArrayOutputWithContext

func (o RotateProductSecretArrayOutput) ToRotateProductSecretArrayOutputWithContext(ctx context.Context) RotateProductSecretArrayOutput

type RotateProductSecretInput

type RotateProductSecretInput interface {
	pulumi.Input

	ToRotateProductSecretOutput() RotateProductSecretOutput
	ToRotateProductSecretOutputWithContext(ctx context.Context) RotateProductSecretOutput
}

type RotateProductSecretMap

type RotateProductSecretMap map[string]RotateProductSecretInput

func (RotateProductSecretMap) ElementType

func (RotateProductSecretMap) ElementType() reflect.Type

func (RotateProductSecretMap) ToRotateProductSecretMapOutput

func (i RotateProductSecretMap) ToRotateProductSecretMapOutput() RotateProductSecretMapOutput

func (RotateProductSecretMap) ToRotateProductSecretMapOutputWithContext

func (i RotateProductSecretMap) ToRotateProductSecretMapOutputWithContext(ctx context.Context) RotateProductSecretMapOutput

type RotateProductSecretMapInput

type RotateProductSecretMapInput interface {
	pulumi.Input

	ToRotateProductSecretMapOutput() RotateProductSecretMapOutput
	ToRotateProductSecretMapOutputWithContext(context.Context) RotateProductSecretMapOutput
}

RotateProductSecretMapInput is an input type that accepts RotateProductSecretMap and RotateProductSecretMapOutput values. You can construct a concrete instance of `RotateProductSecretMapInput` via:

RotateProductSecretMap{ "key": RotateProductSecretArgs{...} }

type RotateProductSecretMapOutput

type RotateProductSecretMapOutput struct{ *pulumi.OutputState }

func (RotateProductSecretMapOutput) ElementType

func (RotateProductSecretMapOutput) MapIndex

func (RotateProductSecretMapOutput) ToRotateProductSecretMapOutput

func (o RotateProductSecretMapOutput) ToRotateProductSecretMapOutput() RotateProductSecretMapOutput

func (RotateProductSecretMapOutput) ToRotateProductSecretMapOutputWithContext

func (o RotateProductSecretMapOutput) ToRotateProductSecretMapOutputWithContext(ctx context.Context) RotateProductSecretMapOutput

type RotateProductSecretOutput

type RotateProductSecretOutput struct{ *pulumi.OutputState }

func (RotateProductSecretOutput) ElementType

func (RotateProductSecretOutput) ElementType() reflect.Type

func (RotateProductSecretOutput) SecretName

Secret name.

func (RotateProductSecretOutput) ToRotateProductSecretOutput

func (o RotateProductSecretOutput) ToRotateProductSecretOutput() RotateProductSecretOutput

func (RotateProductSecretOutput) ToRotateProductSecretOutputWithContext

func (o RotateProductSecretOutput) ToRotateProductSecretOutputWithContext(ctx context.Context) RotateProductSecretOutput

type RotateProductSecretState

type RotateProductSecretState struct {
	// Secret name.
	SecretName pulumi.StringPtrInput
}

func (RotateProductSecretState) ElementType

func (RotateProductSecretState) ElementType() reflect.Type

type Secret

type Secret struct {
	pulumi.CustomResourceState

	// Additional config for specific secret types in JSON string format.
	AdditionalConfig pulumi.StringPtrOutput `pulumi:"additionalConfig"`
	// Description of secret. The maximum is 2048 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specify whether to enable secret. Default value is `true`.
	IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"`
	// KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for
	// encryption. You can also specify the KMS CMK created by yourself in the same region for encryption.
	KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
	// Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of
	// days reserved, completely deleted after this date.
	RecoveryWindowInDays pulumi.IntPtrOutput `pulumi:"recoveryWindowInDays"`
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`.
	SecretType pulumi.IntOutput `pulumi:"secretType"`
	// Status of secret.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags of secret.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

func GetSecret

func GetSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)

GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecret

func NewSecret(ctx *pulumi.Context,
	name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)

NewSecret registers a new resource with the given unique name, arguments, and options.

func (*Secret) ElementType

func (*Secret) ElementType() reflect.Type

func (*Secret) ToSecretOutput

func (i *Secret) ToSecretOutput() SecretOutput

func (*Secret) ToSecretOutputWithContext

func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput

type SecretArgs

type SecretArgs struct {
	// Additional config for specific secret types in JSON string format.
	AdditionalConfig pulumi.StringPtrInput
	// Description of secret. The maximum is 2048 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to enable secret. Default value is `true`.
	IsEnabled pulumi.BoolPtrInput
	// KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for
	// encryption. You can also specify the KMS CMK created by yourself in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of
	// days reserved, completely deleted after this date.
	RecoveryWindowInDays pulumi.IntPtrInput
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringInput
	// Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`.
	SecretType pulumi.IntPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Secret resource.

func (SecretArgs) ElementType

func (SecretArgs) ElementType() reflect.Type

type SecretArray

type SecretArray []SecretInput

func (SecretArray) ElementType

func (SecretArray) ElementType() reflect.Type

func (SecretArray) ToSecretArrayOutput

func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput

func (SecretArray) ToSecretArrayOutputWithContext

func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretArrayInput

type SecretArrayInput interface {
	pulumi.Input

	ToSecretArrayOutput() SecretArrayOutput
	ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput
}

SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:

SecretArray{ SecretArgs{...} }

type SecretArrayOutput

type SecretArrayOutput struct{ *pulumi.OutputState }

func (SecretArrayOutput) ElementType

func (SecretArrayOutput) ElementType() reflect.Type

func (SecretArrayOutput) Index

func (SecretArrayOutput) ToSecretArrayOutput

func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput

func (SecretArrayOutput) ToSecretArrayOutputWithContext

func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretInput

type SecretInput interface {
	pulumi.Input

	ToSecretOutput() SecretOutput
	ToSecretOutputWithContext(ctx context.Context) SecretOutput
}

type SecretMap

type SecretMap map[string]SecretInput

func (SecretMap) ElementType

func (SecretMap) ElementType() reflect.Type

func (SecretMap) ToSecretMapOutput

func (i SecretMap) ToSecretMapOutput() SecretMapOutput

func (SecretMap) ToSecretMapOutputWithContext

func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretMapInput

type SecretMapInput interface {
	pulumi.Input

	ToSecretMapOutput() SecretMapOutput
	ToSecretMapOutputWithContext(context.Context) SecretMapOutput
}

SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:

SecretMap{ "key": SecretArgs{...} }

type SecretMapOutput

type SecretMapOutput struct{ *pulumi.OutputState }

func (SecretMapOutput) ElementType

func (SecretMapOutput) ElementType() reflect.Type

func (SecretMapOutput) MapIndex

func (SecretMapOutput) ToSecretMapOutput

func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput

func (SecretMapOutput) ToSecretMapOutputWithContext

func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretOutput

type SecretOutput struct{ *pulumi.OutputState }

func (SecretOutput) AdditionalConfig

func (o SecretOutput) AdditionalConfig() pulumi.StringPtrOutput

Additional config for specific secret types in JSON string format.

func (SecretOutput) Description

func (o SecretOutput) Description() pulumi.StringPtrOutput

Description of secret. The maximum is 2048 bytes.

func (SecretOutput) ElementType

func (SecretOutput) ElementType() reflect.Type

func (SecretOutput) IsEnabled

func (o SecretOutput) IsEnabled() pulumi.BoolPtrOutput

Specify whether to enable secret. Default value is `true`.

func (SecretOutput) KmsKeyId

func (o SecretOutput) KmsKeyId() pulumi.StringOutput

KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption.

func (SecretOutput) RecoveryWindowInDays

func (o SecretOutput) RecoveryWindowInDays() pulumi.IntPtrOutput

Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date.

func (SecretOutput) SecretName

func (o SecretOutput) SecretName() pulumi.StringOutput

Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.

func (SecretOutput) SecretType

func (o SecretOutput) SecretType() pulumi.IntOutput

Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`.

func (SecretOutput) Status

func (o SecretOutput) Status() pulumi.StringOutput

Status of secret.

func (SecretOutput) Tags

func (o SecretOutput) Tags() pulumi.MapOutput

Tags of secret.

func (SecretOutput) ToSecretOutput

func (o SecretOutput) ToSecretOutput() SecretOutput

func (SecretOutput) ToSecretOutputWithContext

func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput

type SecretState

type SecretState struct {
	// Additional config for specific secret types in JSON string format.
	AdditionalConfig pulumi.StringPtrInput
	// Description of secret. The maximum is 2048 bytes.
	Description pulumi.StringPtrInput
	// Specify whether to enable secret. Default value is `true`.
	IsEnabled pulumi.BoolPtrInput
	// KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for
	// encryption. You can also specify the KMS CMK created by yourself in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of
	// days reserved, completely deleted after this date.
	RecoveryWindowInDays pulumi.IntPtrInput
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringPtrInput
	// Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`.
	SecretType pulumi.IntPtrInput
	// Status of secret.
	Status pulumi.StringPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
}

func (SecretState) ElementType

func (SecretState) ElementType() reflect.Type

type SecretVersion

type SecretVersion struct {
	pulumi.CustomResourceState

	// The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096
	// bytes. When secret status is `Disabled`, this field will not update anymore.
	SecretBinary pulumi.StringPtrOutput `pulumi:"secretBinary"`
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes.
	// When secret status is `Disabled`, this field will not update anymore.
	SecretString pulumi.StringPtrOutput `pulumi:"secretString"`
	// Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore
	// and hyphen '-'. The first character must be a letter or number.
	VersionId pulumi.StringOutput `pulumi:"versionId"`
}

func GetSecretVersion

func GetSecretVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretVersionState, opts ...pulumi.ResourceOption) (*SecretVersion, error)

GetSecretVersion gets an existing SecretVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecretVersion

func NewSecretVersion(ctx *pulumi.Context,
	name string, args *SecretVersionArgs, opts ...pulumi.ResourceOption) (*SecretVersion, error)

NewSecretVersion registers a new resource with the given unique name, arguments, and options.

func (*SecretVersion) ElementType

func (*SecretVersion) ElementType() reflect.Type

func (*SecretVersion) ToSecretVersionOutput

func (i *SecretVersion) ToSecretVersionOutput() SecretVersionOutput

func (*SecretVersion) ToSecretVersionOutputWithContext

func (i *SecretVersion) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput

type SecretVersionArgs

type SecretVersionArgs struct {
	// The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096
	// bytes. When secret status is `Disabled`, this field will not update anymore.
	SecretBinary pulumi.StringPtrInput
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringInput
	// The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes.
	// When secret status is `Disabled`, this field will not update anymore.
	SecretString pulumi.StringPtrInput
	// Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore
	// and hyphen '-'. The first character must be a letter or number.
	VersionId pulumi.StringInput
}

The set of arguments for constructing a SecretVersion resource.

func (SecretVersionArgs) ElementType

func (SecretVersionArgs) ElementType() reflect.Type

type SecretVersionArray

type SecretVersionArray []SecretVersionInput

func (SecretVersionArray) ElementType

func (SecretVersionArray) ElementType() reflect.Type

func (SecretVersionArray) ToSecretVersionArrayOutput

func (i SecretVersionArray) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArray) ToSecretVersionArrayOutputWithContext

func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput

type SecretVersionArrayInput

type SecretVersionArrayInput interface {
	pulumi.Input

	ToSecretVersionArrayOutput() SecretVersionArrayOutput
	ToSecretVersionArrayOutputWithContext(context.Context) SecretVersionArrayOutput
}

SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. You can construct a concrete instance of `SecretVersionArrayInput` via:

SecretVersionArray{ SecretVersionArgs{...} }

type SecretVersionArrayOutput

type SecretVersionArrayOutput struct{ *pulumi.OutputState }

func (SecretVersionArrayOutput) ElementType

func (SecretVersionArrayOutput) ElementType() reflect.Type

func (SecretVersionArrayOutput) Index

func (SecretVersionArrayOutput) ToSecretVersionArrayOutput

func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput

func (SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext

func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput

type SecretVersionInput

type SecretVersionInput interface {
	pulumi.Input

	ToSecretVersionOutput() SecretVersionOutput
	ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
}

type SecretVersionMap

type SecretVersionMap map[string]SecretVersionInput

func (SecretVersionMap) ElementType

func (SecretVersionMap) ElementType() reflect.Type

func (SecretVersionMap) ToSecretVersionMapOutput

func (i SecretVersionMap) ToSecretVersionMapOutput() SecretVersionMapOutput

func (SecretVersionMap) ToSecretVersionMapOutputWithContext

func (i SecretVersionMap) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput

type SecretVersionMapInput

type SecretVersionMapInput interface {
	pulumi.Input

	ToSecretVersionMapOutput() SecretVersionMapOutput
	ToSecretVersionMapOutputWithContext(context.Context) SecretVersionMapOutput
}

SecretVersionMapInput is an input type that accepts SecretVersionMap and SecretVersionMapOutput values. You can construct a concrete instance of `SecretVersionMapInput` via:

SecretVersionMap{ "key": SecretVersionArgs{...} }

type SecretVersionMapOutput

type SecretVersionMapOutput struct{ *pulumi.OutputState }

func (SecretVersionMapOutput) ElementType

func (SecretVersionMapOutput) ElementType() reflect.Type

func (SecretVersionMapOutput) MapIndex

func (SecretVersionMapOutput) ToSecretVersionMapOutput

func (o SecretVersionMapOutput) ToSecretVersionMapOutput() SecretVersionMapOutput

func (SecretVersionMapOutput) ToSecretVersionMapOutputWithContext

func (o SecretVersionMapOutput) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput

type SecretVersionOutput

type SecretVersionOutput struct{ *pulumi.OutputState }

func (SecretVersionOutput) ElementType

func (SecretVersionOutput) ElementType() reflect.Type

func (SecretVersionOutput) SecretBinary

func (o SecretVersionOutput) SecretBinary() pulumi.StringPtrOutput

The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore.

func (SecretVersionOutput) SecretName

func (o SecretVersionOutput) SecretName() pulumi.StringOutput

Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.

func (SecretVersionOutput) SecretString

func (o SecretVersionOutput) SecretString() pulumi.StringPtrOutput

The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore.

func (SecretVersionOutput) ToSecretVersionOutput

func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput

func (SecretVersionOutput) ToSecretVersionOutputWithContext

func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput

func (SecretVersionOutput) VersionId

func (o SecretVersionOutput) VersionId() pulumi.StringOutput

Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.

type SecretVersionState

type SecretVersionState struct {
	// The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096
	// bytes. When secret status is `Disabled`, this field will not update anymore.
	SecretBinary pulumi.StringPtrInput
	// Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain
	// English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
	SecretName pulumi.StringPtrInput
	// The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes.
	// When secret status is `Disabled`, this field will not update anymore.
	SecretString pulumi.StringPtrInput
	// Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore
	// and hyphen '-'. The first character must be a letter or number.
	VersionId pulumi.StringPtrInput
}

func (SecretVersionState) ElementType

func (SecretVersionState) ElementType() reflect.Type

type SshKeyPairSecret

type SshKeyPairSecret struct {
	pulumi.CustomResourceState

	// Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only
	// take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in
	// the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only
	// deletes the SSH key information in the secret.
	CleanSshKey pulumi.BoolPtrOutput `pulumi:"cleanSshKey"`
	// Credential creation time in UNIX timestamp format.
	CreateTime pulumi.IntOutput `pulumi:"createTime"`
	// Description, such as what it is used for. It contains up to 2,048 bytes.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default
	// will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// ID of the project to which the created SSH key belongs.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretType pulumi.IntOutput `pulumi:"secretType"`
	// Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The
	// maximum length is 25 characters.
	SshKeyName pulumi.StringPtrOutput `pulumi:"sshKeyName"`
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags of secret.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

func GetSshKeyPairSecret

func GetSshKeyPairSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SshKeyPairSecretState, opts ...pulumi.ResourceOption) (*SshKeyPairSecret, error)

GetSshKeyPairSecret gets an existing SshKeyPairSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSshKeyPairSecret

func NewSshKeyPairSecret(ctx *pulumi.Context,
	name string, args *SshKeyPairSecretArgs, opts ...pulumi.ResourceOption) (*SshKeyPairSecret, error)

NewSshKeyPairSecret registers a new resource with the given unique name, arguments, and options.

func (*SshKeyPairSecret) ElementType

func (*SshKeyPairSecret) ElementType() reflect.Type

func (*SshKeyPairSecret) ToSshKeyPairSecretOutput

func (i *SshKeyPairSecret) ToSshKeyPairSecretOutput() SshKeyPairSecretOutput

func (*SshKeyPairSecret) ToSshKeyPairSecretOutputWithContext

func (i *SshKeyPairSecret) ToSshKeyPairSecretOutputWithContext(ctx context.Context) SshKeyPairSecretOutput

type SshKeyPairSecretArgs

type SshKeyPairSecretArgs struct {
	// Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only
	// take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in
	// the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only
	// deletes the SSH key information in the secret.
	CleanSshKey pulumi.BoolPtrInput
	// Description, such as what it is used for. It contains up to 2,048 bytes.
	Description pulumi.StringPtrInput
	// Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default
	// will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// ID of the project to which the created SSH key belongs.
	ProjectId pulumi.IntInput
	// Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringInput
	// Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The
	// maximum length is 25 characters.
	SshKeyName pulumi.StringPtrInput
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
}

The set of arguments for constructing a SshKeyPairSecret resource.

func (SshKeyPairSecretArgs) ElementType

func (SshKeyPairSecretArgs) ElementType() reflect.Type

type SshKeyPairSecretArray

type SshKeyPairSecretArray []SshKeyPairSecretInput

func (SshKeyPairSecretArray) ElementType

func (SshKeyPairSecretArray) ElementType() reflect.Type

func (SshKeyPairSecretArray) ToSshKeyPairSecretArrayOutput

func (i SshKeyPairSecretArray) ToSshKeyPairSecretArrayOutput() SshKeyPairSecretArrayOutput

func (SshKeyPairSecretArray) ToSshKeyPairSecretArrayOutputWithContext

func (i SshKeyPairSecretArray) ToSshKeyPairSecretArrayOutputWithContext(ctx context.Context) SshKeyPairSecretArrayOutput

type SshKeyPairSecretArrayInput

type SshKeyPairSecretArrayInput interface {
	pulumi.Input

	ToSshKeyPairSecretArrayOutput() SshKeyPairSecretArrayOutput
	ToSshKeyPairSecretArrayOutputWithContext(context.Context) SshKeyPairSecretArrayOutput
}

SshKeyPairSecretArrayInput is an input type that accepts SshKeyPairSecretArray and SshKeyPairSecretArrayOutput values. You can construct a concrete instance of `SshKeyPairSecretArrayInput` via:

SshKeyPairSecretArray{ SshKeyPairSecretArgs{...} }

type SshKeyPairSecretArrayOutput

type SshKeyPairSecretArrayOutput struct{ *pulumi.OutputState }

func (SshKeyPairSecretArrayOutput) ElementType

func (SshKeyPairSecretArrayOutput) Index

func (SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutput

func (o SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutput() SshKeyPairSecretArrayOutput

func (SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutputWithContext

func (o SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutputWithContext(ctx context.Context) SshKeyPairSecretArrayOutput

type SshKeyPairSecretInput

type SshKeyPairSecretInput interface {
	pulumi.Input

	ToSshKeyPairSecretOutput() SshKeyPairSecretOutput
	ToSshKeyPairSecretOutputWithContext(ctx context.Context) SshKeyPairSecretOutput
}

type SshKeyPairSecretMap

type SshKeyPairSecretMap map[string]SshKeyPairSecretInput

func (SshKeyPairSecretMap) ElementType

func (SshKeyPairSecretMap) ElementType() reflect.Type

func (SshKeyPairSecretMap) ToSshKeyPairSecretMapOutput

func (i SshKeyPairSecretMap) ToSshKeyPairSecretMapOutput() SshKeyPairSecretMapOutput

func (SshKeyPairSecretMap) ToSshKeyPairSecretMapOutputWithContext

func (i SshKeyPairSecretMap) ToSshKeyPairSecretMapOutputWithContext(ctx context.Context) SshKeyPairSecretMapOutput

type SshKeyPairSecretMapInput

type SshKeyPairSecretMapInput interface {
	pulumi.Input

	ToSshKeyPairSecretMapOutput() SshKeyPairSecretMapOutput
	ToSshKeyPairSecretMapOutputWithContext(context.Context) SshKeyPairSecretMapOutput
}

SshKeyPairSecretMapInput is an input type that accepts SshKeyPairSecretMap and SshKeyPairSecretMapOutput values. You can construct a concrete instance of `SshKeyPairSecretMapInput` via:

SshKeyPairSecretMap{ "key": SshKeyPairSecretArgs{...} }

type SshKeyPairSecretMapOutput

type SshKeyPairSecretMapOutput struct{ *pulumi.OutputState }

func (SshKeyPairSecretMapOutput) ElementType

func (SshKeyPairSecretMapOutput) ElementType() reflect.Type

func (SshKeyPairSecretMapOutput) MapIndex

func (SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutput

func (o SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutput() SshKeyPairSecretMapOutput

func (SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutputWithContext

func (o SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutputWithContext(ctx context.Context) SshKeyPairSecretMapOutput

type SshKeyPairSecretOutput

type SshKeyPairSecretOutput struct{ *pulumi.OutputState }

func (SshKeyPairSecretOutput) CleanSshKey

Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only deletes the SSH key information in the secret.

func (SshKeyPairSecretOutput) CreateTime

func (o SshKeyPairSecretOutput) CreateTime() pulumi.IntOutput

Credential creation time in UNIX timestamp format.

func (SshKeyPairSecretOutput) Description

Description, such as what it is used for. It contains up to 2,048 bytes.

func (SshKeyPairSecretOutput) ElementType

func (SshKeyPairSecretOutput) ElementType() reflect.Type

func (SshKeyPairSecretOutput) KmsKeyId

Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.

func (SshKeyPairSecretOutput) ProjectId

func (o SshKeyPairSecretOutput) ProjectId() pulumi.IntOutput

ID of the project to which the created SSH key belongs.

func (SshKeyPairSecretOutput) SecretName

Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit.

func (SshKeyPairSecretOutput) SecretType

func (o SshKeyPairSecretOutput) SecretType() pulumi.IntOutput

`0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret. Note: this field may return `null`, indicating that no valid values can be obtained.

func (SshKeyPairSecretOutput) SshKeyName

Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The maximum length is 25 characters.

func (SshKeyPairSecretOutput) Status

Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.

func (SshKeyPairSecretOutput) Tags

Tags of secret.

func (SshKeyPairSecretOutput) ToSshKeyPairSecretOutput

func (o SshKeyPairSecretOutput) ToSshKeyPairSecretOutput() SshKeyPairSecretOutput

func (SshKeyPairSecretOutput) ToSshKeyPairSecretOutputWithContext

func (o SshKeyPairSecretOutput) ToSshKeyPairSecretOutputWithContext(ctx context.Context) SshKeyPairSecretOutput

type SshKeyPairSecretState

type SshKeyPairSecretState struct {
	// Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only
	// take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in
	// the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only
	// deletes the SSH key information in the secret.
	CleanSshKey pulumi.BoolPtrInput
	// Credential creation time in UNIX timestamp format.
	CreateTime pulumi.IntPtrInput
	// Description, such as what it is used for. It contains up to 2,048 bytes.
	Description pulumi.StringPtrInput
	// Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default
	// will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
	KmsKeyId pulumi.StringPtrInput
	// ID of the project to which the created SSH key belongs.
	ProjectId pulumi.IntPtrInput
	// Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and
	// underscores and must begin with a letter or digit.
	SecretName pulumi.StringPtrInput
	// `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretType pulumi.IntPtrInput
	// Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The
	// maximum length is 25 characters.
	SshKeyName pulumi.StringPtrInput
	// Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
	Status pulumi.StringPtrInput
	// Tags of secret.
	Tags pulumi.MapInput
}

func (SshKeyPairSecretState) ElementType

func (SshKeyPairSecretState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL