Documentation
¶
Index ¶
- type GetProductsArgs
- type GetProductsOutputArgs
- type GetProductsResult
- type GetProductsResultOutput
- func (GetProductsResultOutput) ElementType() reflect.Type
- func (o GetProductsResultOutput) Id() pulumi.StringOutput
- func (o GetProductsResultOutput) Products() pulumi.StringArrayOutput
- func (o GetProductsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetProductsResultOutput) ToGetProductsResultOutput() GetProductsResultOutput
- func (o GetProductsResultOutput) ToGetProductsResultOutputWithContext(ctx context.Context) GetProductsResultOutput
- type GetSecretVersionsArgs
- type GetSecretVersionsOutputArgs
- type GetSecretVersionsResult
- type GetSecretVersionsResultOutput
- func (GetSecretVersionsResultOutput) ElementType() reflect.Type
- func (o GetSecretVersionsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretVersionsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSecretVersionsResultOutput) SecretName() pulumi.StringOutput
- func (o GetSecretVersionsResultOutput) SecretVersionLists() GetSecretVersionsSecretVersionListArrayOutput
- func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutput() GetSecretVersionsResultOutput
- func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutputWithContext(ctx context.Context) GetSecretVersionsResultOutput
- func (o GetSecretVersionsResultOutput) VersionId() pulumi.StringPtrOutput
- type GetSecretVersionsSecretVersionList
- type GetSecretVersionsSecretVersionListArgs
- func (GetSecretVersionsSecretVersionListArgs) ElementType() reflect.Type
- func (i GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput
- func (i GetSecretVersionsSecretVersionListArgs) ToGetSecretVersionsSecretVersionListOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListOutput
- type GetSecretVersionsSecretVersionListArray
- func (GetSecretVersionsSecretVersionListArray) ElementType() reflect.Type
- func (i GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutput() GetSecretVersionsSecretVersionListArrayOutput
- func (i GetSecretVersionsSecretVersionListArray) ToGetSecretVersionsSecretVersionListArrayOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListArrayOutput
- type GetSecretVersionsSecretVersionListArrayInput
- type GetSecretVersionsSecretVersionListArrayOutput
- func (GetSecretVersionsSecretVersionListArrayOutput) ElementType() reflect.Type
- func (o GetSecretVersionsSecretVersionListArrayOutput) Index(i pulumi.IntInput) GetSecretVersionsSecretVersionListOutput
- func (o GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutput() GetSecretVersionsSecretVersionListArrayOutput
- func (o GetSecretVersionsSecretVersionListArrayOutput) ToGetSecretVersionsSecretVersionListArrayOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListArrayOutput
- type GetSecretVersionsSecretVersionListInput
- type GetSecretVersionsSecretVersionListOutput
- func (GetSecretVersionsSecretVersionListOutput) ElementType() reflect.Type
- func (o GetSecretVersionsSecretVersionListOutput) SecretBinary() pulumi.StringOutput
- func (o GetSecretVersionsSecretVersionListOutput) SecretString() pulumi.StringOutput
- func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput
- func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListOutput
- func (o GetSecretVersionsSecretVersionListOutput) VersionId() pulumi.StringOutput
- type GetSecretsArgs
- type GetSecretsOutputArgs
- type GetSecretsResult
- type GetSecretsResultOutput
- func (GetSecretsResultOutput) ElementType() reflect.Type
- func (o GetSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretsResultOutput) OrderType() pulumi.IntPtrOutput
- func (o GetSecretsResultOutput) ProductName() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) SecretLists() GetSecretsSecretListArrayOutput
- func (o GetSecretsResultOutput) SecretName() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) SecretType() pulumi.IntPtrOutput
- func (o GetSecretsResultOutput) State() pulumi.IntPtrOutput
- func (o GetSecretsResultOutput) Tags() pulumi.MapOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
- type GetSecretsSecretList
- type GetSecretsSecretListArgs
- type GetSecretsSecretListArray
- type GetSecretsSecretListArrayInput
- type GetSecretsSecretListArrayOutput
- func (GetSecretsSecretListArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretListArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretListOutput
- func (o GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutput() GetSecretsSecretListArrayOutput
- func (o GetSecretsSecretListArrayOutput) ToGetSecretsSecretListArrayOutputWithContext(ctx context.Context) GetSecretsSecretListArrayOutput
- type GetSecretsSecretListInput
- type GetSecretsSecretListOutput
- func (o GetSecretsSecretListOutput) AssociatedInstanceIds() pulumi.StringArrayOutput
- func (o GetSecretsSecretListOutput) CreateTime() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) CreateUin() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) DeleteTime() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) Description() pulumi.StringOutput
- func (GetSecretsSecretListOutput) ElementType() reflect.Type
- func (o GetSecretsSecretListOutput) KmsKeyId() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) KmsKeyType() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) NextRotationTime() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) ProductName() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) ProjectId() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) ResourceId() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) ResourceName() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) RotationBeginTime() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) RotationFrequency() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) RotationStatus() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) SecretName() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) SecretType() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) Status() pulumi.StringOutput
- func (o GetSecretsSecretListOutput) TargetUin() pulumi.IntOutput
- func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutput() GetSecretsSecretListOutput
- func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutputWithContext(ctx context.Context) GetSecretsSecretListOutput
- type ProductSecret
- type ProductSecretArgs
- type ProductSecretArray
- type ProductSecretArrayInput
- type ProductSecretArrayOutput
- func (ProductSecretArrayOutput) ElementType() reflect.Type
- func (o ProductSecretArrayOutput) Index(i pulumi.IntInput) ProductSecretOutput
- func (o ProductSecretArrayOutput) ToProductSecretArrayOutput() ProductSecretArrayOutput
- func (o ProductSecretArrayOutput) ToProductSecretArrayOutputWithContext(ctx context.Context) ProductSecretArrayOutput
- type ProductSecretInput
- type ProductSecretMap
- type ProductSecretMapInput
- type ProductSecretMapOutput
- func (ProductSecretMapOutput) ElementType() reflect.Type
- func (o ProductSecretMapOutput) MapIndex(k pulumi.StringInput) ProductSecretOutput
- func (o ProductSecretMapOutput) ToProductSecretMapOutput() ProductSecretMapOutput
- func (o ProductSecretMapOutput) ToProductSecretMapOutputWithContext(ctx context.Context) ProductSecretMapOutput
- type ProductSecretOutput
- func (o ProductSecretOutput) CreateTime() pulumi.IntOutput
- func (o ProductSecretOutput) Description() pulumi.StringPtrOutput
- func (o ProductSecretOutput) Domains() pulumi.StringArrayOutput
- func (ProductSecretOutput) ElementType() reflect.Type
- func (o ProductSecretOutput) EnableRotation() pulumi.BoolOutput
- func (o ProductSecretOutput) InstanceId() pulumi.StringOutput
- func (o ProductSecretOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ProductSecretOutput) PrivilegesLists() ProductSecretPrivilegesListArrayOutput
- func (o ProductSecretOutput) ProductName() pulumi.StringOutput
- func (o ProductSecretOutput) RotationBeginTime() pulumi.StringOutput
- func (o ProductSecretOutput) RotationFrequency() pulumi.IntOutput
- func (o ProductSecretOutput) SecretName() pulumi.StringOutput
- func (o ProductSecretOutput) SecretType() pulumi.IntOutput
- func (o ProductSecretOutput) Status() pulumi.StringOutput
- func (o ProductSecretOutput) Tags() pulumi.MapOutput
- func (o ProductSecretOutput) ToProductSecretOutput() ProductSecretOutput
- func (o ProductSecretOutput) ToProductSecretOutputWithContext(ctx context.Context) ProductSecretOutput
- func (o ProductSecretOutput) UserNamePrefix() pulumi.StringOutput
- type ProductSecretPrivilegesList
- type ProductSecretPrivilegesListArgs
- func (ProductSecretPrivilegesListArgs) ElementType() reflect.Type
- func (i ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutput() ProductSecretPrivilegesListOutput
- func (i ProductSecretPrivilegesListArgs) ToProductSecretPrivilegesListOutputWithContext(ctx context.Context) ProductSecretPrivilegesListOutput
- type ProductSecretPrivilegesListArray
- func (ProductSecretPrivilegesListArray) ElementType() reflect.Type
- func (i ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutput() ProductSecretPrivilegesListArrayOutput
- func (i ProductSecretPrivilegesListArray) ToProductSecretPrivilegesListArrayOutputWithContext(ctx context.Context) ProductSecretPrivilegesListArrayOutput
- type ProductSecretPrivilegesListArrayInput
- type ProductSecretPrivilegesListArrayOutput
- func (ProductSecretPrivilegesListArrayOutput) ElementType() reflect.Type
- func (o ProductSecretPrivilegesListArrayOutput) Index(i pulumi.IntInput) ProductSecretPrivilegesListOutput
- func (o ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutput() ProductSecretPrivilegesListArrayOutput
- func (o ProductSecretPrivilegesListArrayOutput) ToProductSecretPrivilegesListArrayOutputWithContext(ctx context.Context) ProductSecretPrivilegesListArrayOutput
- type ProductSecretPrivilegesListInput
- type ProductSecretPrivilegesListOutput
- func (o ProductSecretPrivilegesListOutput) ColumnName() pulumi.StringPtrOutput
- func (o ProductSecretPrivilegesListOutput) Database() pulumi.StringPtrOutput
- func (ProductSecretPrivilegesListOutput) ElementType() reflect.Type
- func (o ProductSecretPrivilegesListOutput) PrivilegeName() pulumi.StringOutput
- func (o ProductSecretPrivilegesListOutput) Privileges() pulumi.StringArrayOutput
- func (o ProductSecretPrivilegesListOutput) TableName() pulumi.StringPtrOutput
- func (o ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutput() ProductSecretPrivilegesListOutput
- func (o ProductSecretPrivilegesListOutput) ToProductSecretPrivilegesListOutputWithContext(ctx context.Context) ProductSecretPrivilegesListOutput
- type ProductSecretState
- type Secret
- type SecretArgs
- type SecretArray
- type SecretArrayInput
- type SecretArrayOutput
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- type SecretOutput
- func (o SecretOutput) AdditionalConfig() pulumi.StringPtrOutput
- func (o SecretOutput) Description() pulumi.StringPtrOutput
- func (SecretOutput) ElementType() reflect.Type
- func (o SecretOutput) IsEnabled() pulumi.BoolPtrOutput
- func (o SecretOutput) KmsKeyId() pulumi.StringOutput
- func (o SecretOutput) RecoveryWindowInDays() pulumi.IntPtrOutput
- func (o SecretOutput) SecretName() pulumi.StringOutput
- func (o SecretOutput) SecretType() pulumi.IntOutput
- func (o SecretOutput) Status() pulumi.StringOutput
- func (o SecretOutput) Tags() pulumi.MapOutput
- func (o SecretOutput) ToSecretOutput() SecretOutput
- func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
- type SecretState
- type SecretVersion
- type SecretVersionArgs
- type SecretVersionArray
- type SecretVersionArrayInput
- type SecretVersionArrayOutput
- func (SecretVersionArrayOutput) ElementType() reflect.Type
- func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput
- func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput
- func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput
- type SecretVersionInput
- type SecretVersionMap
- type SecretVersionMapInput
- type SecretVersionMapOutput
- func (SecretVersionMapOutput) ElementType() reflect.Type
- func (o SecretVersionMapOutput) MapIndex(k pulumi.StringInput) SecretVersionOutput
- func (o SecretVersionMapOutput) ToSecretVersionMapOutput() SecretVersionMapOutput
- func (o SecretVersionMapOutput) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput
- type SecretVersionOutput
- func (SecretVersionOutput) ElementType() reflect.Type
- func (o SecretVersionOutput) SecretBinary() pulumi.StringPtrOutput
- func (o SecretVersionOutput) SecretName() pulumi.StringOutput
- func (o SecretVersionOutput) SecretString() pulumi.StringPtrOutput
- func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput
- func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
- func (o SecretVersionOutput) VersionId() pulumi.StringOutput
- type SecretVersionState
- type SshKeyPairSecret
- type SshKeyPairSecretArgs
- type SshKeyPairSecretArray
- type SshKeyPairSecretArrayInput
- type SshKeyPairSecretArrayOutput
- func (SshKeyPairSecretArrayOutput) ElementType() reflect.Type
- func (o SshKeyPairSecretArrayOutput) Index(i pulumi.IntInput) SshKeyPairSecretOutput
- func (o SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutput() SshKeyPairSecretArrayOutput
- func (o SshKeyPairSecretArrayOutput) ToSshKeyPairSecretArrayOutputWithContext(ctx context.Context) SshKeyPairSecretArrayOutput
- type SshKeyPairSecretInput
- type SshKeyPairSecretMap
- type SshKeyPairSecretMapInput
- type SshKeyPairSecretMapOutput
- func (SshKeyPairSecretMapOutput) ElementType() reflect.Type
- func (o SshKeyPairSecretMapOutput) MapIndex(k pulumi.StringInput) SshKeyPairSecretOutput
- func (o SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutput() SshKeyPairSecretMapOutput
- func (o SshKeyPairSecretMapOutput) ToSshKeyPairSecretMapOutputWithContext(ctx context.Context) SshKeyPairSecretMapOutput
- type SshKeyPairSecretOutput
- func (o SshKeyPairSecretOutput) CleanSshKey() pulumi.BoolPtrOutput
- func (o SshKeyPairSecretOutput) CreateTime() pulumi.IntOutput
- func (o SshKeyPairSecretOutput) Description() pulumi.StringPtrOutput
- func (SshKeyPairSecretOutput) ElementType() reflect.Type
- func (o SshKeyPairSecretOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SshKeyPairSecretOutput) ProjectId() pulumi.IntOutput
- func (o SshKeyPairSecretOutput) SecretName() pulumi.StringOutput
- func (o SshKeyPairSecretOutput) SecretType() pulumi.IntOutput
- func (o SshKeyPairSecretOutput) SshKeyName() pulumi.StringPtrOutput
- func (o SshKeyPairSecretOutput) Status() pulumi.StringOutput
- func (o SshKeyPairSecretOutput) Tags() pulumi.MapOutput
- func (o SshKeyPairSecretOutput) ToSshKeyPairSecretOutput() SshKeyPairSecretOutput
- func (o SshKeyPairSecretOutput) ToSshKeyPairSecretOutputWithContext(ctx context.Context) SshKeyPairSecretOutput
- type SshKeyPairSecretState
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 GetProductsOutput ¶
func GetProductsOutput(ctx *pulumi.Context, args GetProductsOutputArgs, opts ...pulumi.InvokeOption) GetProductsResultOutput
func (GetProductsResultOutput) ElementType ¶
func (GetProductsResultOutput) ElementType() reflect.Type
func (GetProductsResultOutput) Id ¶
func (o GetProductsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetProductsResultOutput) Products ¶
func (o GetProductsResultOutput) Products() pulumi.StringArrayOutput
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 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 ¶
func (GetSecretVersionsOutputArgs) ElementType() reflect.Type
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.
func GetSecretVersions ¶
func GetSecretVersions(ctx *pulumi.Context, args *GetSecretVersionsArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionsResult, error)
type GetSecretVersionsResultOutput ¶
type GetSecretVersionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretVersions.
func GetSecretVersionsOutput ¶
func GetSecretVersionsOutput(ctx *pulumi.Context, args GetSecretVersionsOutputArgs, opts ...pulumi.InvokeOption) GetSecretVersionsResultOutput
func (GetSecretVersionsResultOutput) ElementType ¶
func (GetSecretVersionsResultOutput) ElementType() reflect.Type
func (GetSecretVersionsResultOutput) Id ¶
func (o GetSecretVersionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretVersionsResultOutput) ResultOutputFile ¶
func (o GetSecretVersionsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSecretVersionsResultOutput) SecretName ¶
func (o GetSecretVersionsResultOutput) SecretName() pulumi.StringOutput
func (GetSecretVersionsResultOutput) SecretVersionLists ¶
func (o GetSecretVersionsResultOutput) SecretVersionLists() GetSecretVersionsSecretVersionListArrayOutput
func (GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutput ¶
func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutput() GetSecretVersionsResultOutput
func (GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutputWithContext ¶
func (o GetSecretVersionsResultOutput) ToGetSecretVersionsResultOutputWithContext(ctx context.Context) GetSecretVersionsResultOutput
func (GetSecretVersionsResultOutput) VersionId ¶
func (o GetSecretVersionsResultOutput) VersionId() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetSecretVersionsSecretVersionListOutput) SecretBinary ¶
func (o GetSecretVersionsSecretVersionListOutput) SecretBinary() pulumi.StringOutput
func (GetSecretVersionsSecretVersionListOutput) SecretString ¶
func (o GetSecretVersionsSecretVersionListOutput) SecretString() pulumi.StringOutput
func (GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutput ¶
func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutput() GetSecretVersionsSecretVersionListOutput
func (GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutputWithContext ¶
func (o GetSecretVersionsSecretVersionListOutput) ToGetSecretVersionsSecretVersionListOutputWithContext(ctx context.Context) GetSecretVersionsSecretVersionListOutput
func (GetSecretVersionsSecretVersionListOutput) VersionId ¶
func (o GetSecretVersionsSecretVersionListOutput) VersionId() pulumi.StringOutput
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 GetSecretsOutput ¶
func GetSecretsOutput(ctx *pulumi.Context, args GetSecretsOutputArgs, opts ...pulumi.InvokeOption) GetSecretsResultOutput
func (GetSecretsResultOutput) ElementType ¶
func (GetSecretsResultOutput) ElementType() reflect.Type
func (GetSecretsResultOutput) Id ¶
func (o GetSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretsResultOutput) OrderType ¶
func (o GetSecretsResultOutput) OrderType() pulumi.IntPtrOutput
func (GetSecretsResultOutput) ProductName ¶
func (o GetSecretsResultOutput) ProductName() pulumi.StringPtrOutput
func (GetSecretsResultOutput) ResultOutputFile ¶
func (o GetSecretsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSecretsResultOutput) SecretLists ¶
func (o GetSecretsResultOutput) SecretLists() GetSecretsSecretListArrayOutput
func (GetSecretsResultOutput) SecretName ¶
func (o GetSecretsResultOutput) SecretName() pulumi.StringPtrOutput
func (GetSecretsResultOutput) SecretType ¶
func (o GetSecretsResultOutput) SecretType() pulumi.IntPtrOutput
func (GetSecretsResultOutput) State ¶
func (o GetSecretsResultOutput) State() pulumi.IntPtrOutput
func (GetSecretsResultOutput) Tags ¶
func (o GetSecretsResultOutput) Tags() pulumi.MapOutput
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) ElementType() reflect.Type
func (GetSecretsSecretListArrayOutput) Index ¶
func (o GetSecretsSecretListArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretListOutput
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 (o GetSecretsSecretListOutput) CreateTime() pulumi.IntOutput
func (GetSecretsSecretListOutput) CreateUin ¶
func (o GetSecretsSecretListOutput) CreateUin() pulumi.IntOutput
func (GetSecretsSecretListOutput) DeleteTime ¶
func (o GetSecretsSecretListOutput) DeleteTime() pulumi.IntOutput
func (GetSecretsSecretListOutput) Description ¶
func (o GetSecretsSecretListOutput) Description() pulumi.StringOutput
func (GetSecretsSecretListOutput) ElementType ¶
func (GetSecretsSecretListOutput) ElementType() reflect.Type
func (GetSecretsSecretListOutput) KmsKeyId ¶
func (o GetSecretsSecretListOutput) KmsKeyId() pulumi.StringOutput
func (GetSecretsSecretListOutput) KmsKeyType ¶
func (o GetSecretsSecretListOutput) KmsKeyType() pulumi.StringOutput
func (GetSecretsSecretListOutput) NextRotationTime ¶
func (o GetSecretsSecretListOutput) NextRotationTime() pulumi.IntOutput
func (GetSecretsSecretListOutput) ProductName ¶
func (o GetSecretsSecretListOutput) ProductName() pulumi.StringOutput
func (GetSecretsSecretListOutput) ProjectId ¶
func (o GetSecretsSecretListOutput) ProjectId() pulumi.IntOutput
func (GetSecretsSecretListOutput) ResourceId ¶
func (o GetSecretsSecretListOutput) ResourceId() pulumi.StringOutput
func (GetSecretsSecretListOutput) ResourceName ¶
func (o GetSecretsSecretListOutput) ResourceName() pulumi.StringOutput
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 (o GetSecretsSecretListOutput) SecretName() pulumi.StringOutput
func (GetSecretsSecretListOutput) SecretType ¶
func (o GetSecretsSecretListOutput) SecretType() pulumi.IntOutput
func (GetSecretsSecretListOutput) Status ¶
func (o GetSecretsSecretListOutput) Status() pulumi.StringOutput
func (GetSecretsSecretListOutput) TargetUin ¶
func (o GetSecretsSecretListOutput) TargetUin() pulumi.IntOutput
func (GetSecretsSecretListOutput) ToGetSecretsSecretListOutput ¶
func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutput() GetSecretsSecretListOutput
func (GetSecretsSecretListOutput) ToGetSecretsSecretListOutputWithContext ¶
func (o GetSecretsSecretListOutput) ToGetSecretsSecretListOutputWithContext(ctx context.Context) GetSecretsSecretListOutput
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`. 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`. 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 (o ProductSecretArrayOutput) Index(i pulumi.IntInput) ProductSecretOutput
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 (o ProductSecretMapOutput) MapIndex(k pulumi.StringInput) ProductSecretOutput
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 ¶
func (o ProductSecretOutput) Domains() pulumi.StringArrayOutput
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 ¶
func (o ProductSecretOutput) KmsKeyId() pulumi.StringPtrOutput
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 ¶
func (o ProductSecretOutput) PrivilegesLists() ProductSecretPrivilegesListArrayOutput
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`. 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 ¶
func (o ProductSecretOutput) Status() pulumi.StringOutput
Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
func (ProductSecretOutput) Tags ¶
func (o ProductSecretOutput) Tags() pulumi.MapOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 (o ProductSecretPrivilegesListOutput) ColumnName() pulumi.StringPtrOutput
func (ProductSecretPrivilegesListOutput) Database ¶
func (o ProductSecretPrivilegesListOutput) Database() pulumi.StringPtrOutput
func (ProductSecretPrivilegesListOutput) ElementType ¶
func (ProductSecretPrivilegesListOutput) ElementType() reflect.Type
func (ProductSecretPrivilegesListOutput) PrivilegeName ¶
func (o ProductSecretPrivilegesListOutput) PrivilegeName() pulumi.StringOutput
func (ProductSecretPrivilegesListOutput) Privileges ¶
func (o ProductSecretPrivilegesListOutput) Privileges() pulumi.StringArrayOutput
func (ProductSecretPrivilegesListOutput) TableName ¶
func (o ProductSecretPrivilegesListOutput) TableName() pulumi.StringPtrOutput
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`. 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 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. 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) 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. 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 (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
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) 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 (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
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.
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. 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 (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput
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 (o SecretVersionMapOutput) MapIndex(k pulumi.StringInput) SecretVersionOutput
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) ElementType() reflect.Type
func (SshKeyPairSecretArrayOutput) Index ¶
func (o SshKeyPairSecretArrayOutput) Index(i pulumi.IntInput) SshKeyPairSecretOutput
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 (o SshKeyPairSecretMapOutput) MapIndex(k pulumi.StringInput) SshKeyPairSecretOutput
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 ¶
func (o SshKeyPairSecretOutput) CleanSshKey() pulumi.BoolPtrOutput
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 ¶
func (o SshKeyPairSecretOutput) Description() pulumi.StringPtrOutput
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 ¶
func (o SshKeyPairSecretOutput) KmsKeyId() pulumi.StringPtrOutput
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 ¶
func (o SshKeyPairSecretOutput) SecretName() pulumi.StringOutput
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 ¶
func (o SshKeyPairSecretOutput) SshKeyName() pulumi.StringPtrOutput
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 ¶
func (o SshKeyPairSecretOutput) Status() pulumi.StringOutput
Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
func (SshKeyPairSecretOutput) Tags ¶
func (o SshKeyPairSecretOutput) Tags() pulumi.MapOutput
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