Documentation
¶
Index ¶
- type ContainerV1
- type ContainerV1Acl
- type ContainerV1AclArgs
- func (ContainerV1AclArgs) ElementType() reflect.Type
- func (i ContainerV1AclArgs) ToContainerV1AclOutput() ContainerV1AclOutput
- func (i ContainerV1AclArgs) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput
- func (i ContainerV1AclArgs) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
- func (i ContainerV1AclArgs) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
- type ContainerV1AclInput
- type ContainerV1AclOutput
- func (ContainerV1AclOutput) ElementType() reflect.Type
- func (o ContainerV1AclOutput) Read() ContainerV1AclReadPtrOutput
- func (o ContainerV1AclOutput) ToContainerV1AclOutput() ContainerV1AclOutput
- func (o ContainerV1AclOutput) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput
- func (o ContainerV1AclOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
- func (o ContainerV1AclOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
- type ContainerV1AclPtrInput
- type ContainerV1AclPtrOutput
- func (o ContainerV1AclPtrOutput) Elem() ContainerV1AclOutput
- func (ContainerV1AclPtrOutput) ElementType() reflect.Type
- func (o ContainerV1AclPtrOutput) Read() ContainerV1AclReadPtrOutput
- func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
- func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
- type ContainerV1AclRead
- type ContainerV1AclReadArgs
- func (ContainerV1AclReadArgs) ElementType() reflect.Type
- func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutput() ContainerV1AclReadOutput
- func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput
- func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
- func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
- type ContainerV1AclReadInput
- type ContainerV1AclReadOutput
- func (o ContainerV1AclReadOutput) CreatedAt() pulumi.StringPtrOutput
- func (ContainerV1AclReadOutput) ElementType() reflect.Type
- func (o ContainerV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutput() ContainerV1AclReadOutput
- func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput
- func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
- func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
- func (o ContainerV1AclReadOutput) UpdatedAt() pulumi.StringPtrOutput
- func (o ContainerV1AclReadOutput) Users() pulumi.StringArrayOutput
- type ContainerV1AclReadPtrInput
- type ContainerV1AclReadPtrOutput
- func (o ContainerV1AclReadPtrOutput) CreatedAt() pulumi.StringPtrOutput
- func (o ContainerV1AclReadPtrOutput) Elem() ContainerV1AclReadOutput
- func (ContainerV1AclReadPtrOutput) ElementType() reflect.Type
- func (o ContainerV1AclReadPtrOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
- func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
- func (o ContainerV1AclReadPtrOutput) UpdatedAt() pulumi.StringPtrOutput
- func (o ContainerV1AclReadPtrOutput) Users() pulumi.StringArrayOutput
- type ContainerV1Args
- type ContainerV1Array
- type ContainerV1ArrayInput
- type ContainerV1ArrayOutput
- func (ContainerV1ArrayOutput) ElementType() reflect.Type
- func (o ContainerV1ArrayOutput) Index(i pulumi.IntInput) ContainerV1Output
- func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutput() ContainerV1ArrayOutput
- func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutputWithContext(ctx context.Context) ContainerV1ArrayOutput
- type ContainerV1Consumer
- type ContainerV1ConsumerArgs
- type ContainerV1ConsumerArray
- type ContainerV1ConsumerArrayInput
- type ContainerV1ConsumerArrayOutput
- func (ContainerV1ConsumerArrayOutput) ElementType() reflect.Type
- func (o ContainerV1ConsumerArrayOutput) Index(i pulumi.IntInput) ContainerV1ConsumerOutput
- func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput
- func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutputWithContext(ctx context.Context) ContainerV1ConsumerArrayOutput
- type ContainerV1ConsumerInput
- type ContainerV1ConsumerOutput
- func (ContainerV1ConsumerOutput) ElementType() reflect.Type
- func (o ContainerV1ConsumerOutput) Name() pulumi.StringPtrOutput
- func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput
- func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutputWithContext(ctx context.Context) ContainerV1ConsumerOutput
- func (o ContainerV1ConsumerOutput) Url() pulumi.StringPtrOutput
- type ContainerV1Input
- type ContainerV1Map
- type ContainerV1MapInput
- type ContainerV1MapOutput
- func (ContainerV1MapOutput) ElementType() reflect.Type
- func (o ContainerV1MapOutput) MapIndex(k pulumi.StringInput) ContainerV1Output
- func (o ContainerV1MapOutput) ToContainerV1MapOutput() ContainerV1MapOutput
- func (o ContainerV1MapOutput) ToContainerV1MapOutputWithContext(ctx context.Context) ContainerV1MapOutput
- type ContainerV1Output
- func (o ContainerV1Output) Acl() ContainerV1AclOutput
- func (o ContainerV1Output) Consumers() ContainerV1ConsumerArrayOutput
- func (o ContainerV1Output) ContainerRef() pulumi.StringOutput
- func (o ContainerV1Output) CreatedAt() pulumi.StringOutput
- func (o ContainerV1Output) CreatorId() pulumi.StringOutput
- func (ContainerV1Output) ElementType() reflect.Type
- func (o ContainerV1Output) Name() pulumi.StringOutput
- func (o ContainerV1Output) Region() pulumi.StringOutput
- func (o ContainerV1Output) SecretRefs() ContainerV1SecretRefArrayOutput
- func (o ContainerV1Output) Status() pulumi.StringOutput
- func (o ContainerV1Output) ToContainerV1Output() ContainerV1Output
- func (o ContainerV1Output) ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output
- func (o ContainerV1Output) Type() pulumi.StringOutput
- func (o ContainerV1Output) UpdatedAt() pulumi.StringOutput
- type ContainerV1SecretRef
- type ContainerV1SecretRefArgs
- type ContainerV1SecretRefArray
- type ContainerV1SecretRefArrayInput
- type ContainerV1SecretRefArrayOutput
- func (ContainerV1SecretRefArrayOutput) ElementType() reflect.Type
- func (o ContainerV1SecretRefArrayOutput) Index(i pulumi.IntInput) ContainerV1SecretRefOutput
- func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput
- func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutputWithContext(ctx context.Context) ContainerV1SecretRefArrayOutput
- type ContainerV1SecretRefInput
- type ContainerV1SecretRefOutput
- func (ContainerV1SecretRefOutput) ElementType() reflect.Type
- func (o ContainerV1SecretRefOutput) Name() pulumi.StringPtrOutput
- func (o ContainerV1SecretRefOutput) SecretRef() pulumi.StringOutput
- func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput
- func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutputWithContext(ctx context.Context) ContainerV1SecretRefOutput
- type ContainerV1State
- type GetContainerAcl
- type GetContainerAclArgs
- type GetContainerAclArray
- type GetContainerAclArrayInput
- type GetContainerAclArrayOutput
- func (GetContainerAclArrayOutput) ElementType() reflect.Type
- func (o GetContainerAclArrayOutput) Index(i pulumi.IntInput) GetContainerAclOutput
- func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutput() GetContainerAclArrayOutput
- func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutputWithContext(ctx context.Context) GetContainerAclArrayOutput
- type GetContainerAclInput
- type GetContainerAclOutput
- func (GetContainerAclOutput) ElementType() reflect.Type
- func (o GetContainerAclOutput) Read() GetContainerAclReadOutput
- func (o GetContainerAclOutput) ToGetContainerAclOutput() GetContainerAclOutput
- func (o GetContainerAclOutput) ToGetContainerAclOutputWithContext(ctx context.Context) GetContainerAclOutput
- type GetContainerAclRead
- type GetContainerAclReadArgs
- type GetContainerAclReadInput
- type GetContainerAclReadOutput
- func (o GetContainerAclReadOutput) CreatedAt() pulumi.StringOutput
- func (GetContainerAclReadOutput) ElementType() reflect.Type
- func (o GetContainerAclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o GetContainerAclReadOutput) ToGetContainerAclReadOutput() GetContainerAclReadOutput
- func (o GetContainerAclReadOutput) ToGetContainerAclReadOutputWithContext(ctx context.Context) GetContainerAclReadOutput
- func (o GetContainerAclReadOutput) UpdatedAt() pulumi.StringOutput
- func (o GetContainerAclReadOutput) Users() pulumi.StringArrayOutput
- type GetContainerArgs
- type GetContainerConsumer
- type GetContainerConsumerArgs
- type GetContainerConsumerArray
- type GetContainerConsumerArrayInput
- type GetContainerConsumerArrayOutput
- func (GetContainerConsumerArrayOutput) ElementType() reflect.Type
- func (o GetContainerConsumerArrayOutput) Index(i pulumi.IntInput) GetContainerConsumerOutput
- func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput
- func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutputWithContext(ctx context.Context) GetContainerConsumerArrayOutput
- type GetContainerConsumerInput
- type GetContainerConsumerOutput
- func (GetContainerConsumerOutput) ElementType() reflect.Type
- func (o GetContainerConsumerOutput) Name() pulumi.StringPtrOutput
- func (o GetContainerConsumerOutput) ToGetContainerConsumerOutput() GetContainerConsumerOutput
- func (o GetContainerConsumerOutput) ToGetContainerConsumerOutputWithContext(ctx context.Context) GetContainerConsumerOutput
- func (o GetContainerConsumerOutput) Url() pulumi.StringPtrOutput
- type GetContainerOutputArgs
- type GetContainerResult
- type GetContainerResultOutput
- func (o GetContainerResultOutput) Acls() GetContainerAclArrayOutput
- func (o GetContainerResultOutput) Consumers() GetContainerConsumerArrayOutput
- func (o GetContainerResultOutput) ContainerRef() pulumi.StringOutput
- func (o GetContainerResultOutput) CreatedAt() pulumi.StringOutput
- func (o GetContainerResultOutput) CreatorId() pulumi.StringOutput
- func (GetContainerResultOutput) ElementType() reflect.Type
- func (o GetContainerResultOutput) Id() pulumi.StringOutput
- func (o GetContainerResultOutput) Name() pulumi.StringPtrOutput
- func (o GetContainerResultOutput) Region() pulumi.StringPtrOutput
- func (o GetContainerResultOutput) SecretRefs() GetContainerSecretRefArrayOutput
- func (o GetContainerResultOutput) Status() pulumi.StringOutput
- func (o GetContainerResultOutput) ToGetContainerResultOutput() GetContainerResultOutput
- func (o GetContainerResultOutput) ToGetContainerResultOutputWithContext(ctx context.Context) GetContainerResultOutput
- func (o GetContainerResultOutput) Type() pulumi.StringOutput
- func (o GetContainerResultOutput) UpdatedAt() pulumi.StringOutput
- type GetContainerSecretRef
- type GetContainerSecretRefArgs
- type GetContainerSecretRefArray
- func (GetContainerSecretRefArray) ElementType() reflect.Type
- func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput
- func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput
- type GetContainerSecretRefArrayInput
- type GetContainerSecretRefArrayOutput
- func (GetContainerSecretRefArrayOutput) ElementType() reflect.Type
- func (o GetContainerSecretRefArrayOutput) Index(i pulumi.IntInput) GetContainerSecretRefOutput
- func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput
- func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput
- type GetContainerSecretRefInput
- type GetContainerSecretRefOutput
- func (GetContainerSecretRefOutput) ElementType() reflect.Type
- func (o GetContainerSecretRefOutput) Name() pulumi.StringPtrOutput
- func (o GetContainerSecretRefOutput) SecretRef() pulumi.StringPtrOutput
- func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutput() GetContainerSecretRefOutput
- func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutputWithContext(ctx context.Context) GetContainerSecretRefOutput
- type GetSecretAcl
- type GetSecretAclArgs
- type GetSecretAclArray
- type GetSecretAclArrayInput
- type GetSecretAclArrayOutput
- func (GetSecretAclArrayOutput) ElementType() reflect.Type
- func (o GetSecretAclArrayOutput) Index(i pulumi.IntInput) GetSecretAclOutput
- func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutput() GetSecretAclArrayOutput
- func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutputWithContext(ctx context.Context) GetSecretAclArrayOutput
- type GetSecretAclInput
- type GetSecretAclOutput
- type GetSecretAclRead
- type GetSecretAclReadArgs
- type GetSecretAclReadInput
- type GetSecretAclReadOutput
- func (o GetSecretAclReadOutput) CreatedAt() pulumi.StringOutput
- func (GetSecretAclReadOutput) ElementType() reflect.Type
- func (o GetSecretAclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o GetSecretAclReadOutput) ToGetSecretAclReadOutput() GetSecretAclReadOutput
- func (o GetSecretAclReadOutput) ToGetSecretAclReadOutputWithContext(ctx context.Context) GetSecretAclReadOutput
- func (o GetSecretAclReadOutput) UpdatedAt() pulumi.StringOutput
- func (o GetSecretAclReadOutput) Users() pulumi.StringArrayOutput
- type GetSecretArgs
- type GetSecretOutputArgs
- type GetSecretResult
- type GetSecretResultOutput
- func (o GetSecretResultOutput) AclOnly() pulumi.BoolPtrOutput
- func (o GetSecretResultOutput) Acls() GetSecretAclArrayOutput
- func (o GetSecretResultOutput) Algorithm() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) BitLength() pulumi.IntPtrOutput
- func (o GetSecretResultOutput) ContentTypes() pulumi.StringMapOutput
- func (o GetSecretResultOutput) CreatedAt() pulumi.StringOutput
- func (o GetSecretResultOutput) CreatedAtFilter() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) CreatorId() pulumi.StringOutput
- func (GetSecretResultOutput) ElementType() reflect.Type
- func (o GetSecretResultOutput) Expiration() pulumi.StringOutput
- func (o GetSecretResultOutput) ExpirationFilter() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) Id() pulumi.StringOutput
- func (o GetSecretResultOutput) Metadata() pulumi.StringMapOutput
- func (o GetSecretResultOutput) Mode() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) Payload() pulumi.StringOutput
- func (o GetSecretResultOutput) PayloadContentEncoding() pulumi.StringOutput
- func (o GetSecretResultOutput) PayloadContentType() pulumi.StringOutput
- func (o GetSecretResultOutput) Region() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) SecretRef() pulumi.StringOutput
- func (o GetSecretResultOutput) SecretType() pulumi.StringPtrOutput
- func (o GetSecretResultOutput) Status() pulumi.StringOutput
- func (o GetSecretResultOutput) ToGetSecretResultOutput() GetSecretResultOutput
- func (o GetSecretResultOutput) ToGetSecretResultOutputWithContext(ctx context.Context) GetSecretResultOutput
- func (o GetSecretResultOutput) UpdatedAt() pulumi.StringOutput
- func (o GetSecretResultOutput) UpdatedAtFilter() pulumi.StringPtrOutput
- type OrderV1
- type OrderV1Args
- type OrderV1Array
- type OrderV1ArrayInput
- type OrderV1ArrayOutput
- type OrderV1Input
- type OrderV1Map
- type OrderV1MapInput
- type OrderV1MapOutput
- type OrderV1Meta
- type OrderV1MetaArgs
- func (OrderV1MetaArgs) ElementType() reflect.Type
- func (i OrderV1MetaArgs) ToOrderV1MetaOutput() OrderV1MetaOutput
- func (i OrderV1MetaArgs) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput
- func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
- func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
- type OrderV1MetaInput
- type OrderV1MetaOutput
- func (o OrderV1MetaOutput) Algorithm() pulumi.StringOutput
- func (o OrderV1MetaOutput) BitLength() pulumi.IntOutput
- func (OrderV1MetaOutput) ElementType() reflect.Type
- func (o OrderV1MetaOutput) Expiration() pulumi.StringPtrOutput
- func (o OrderV1MetaOutput) Mode() pulumi.StringPtrOutput
- func (o OrderV1MetaOutput) Name() pulumi.StringPtrOutput
- func (o OrderV1MetaOutput) PayloadContentType() pulumi.StringPtrOutput
- func (o OrderV1MetaOutput) ToOrderV1MetaOutput() OrderV1MetaOutput
- func (o OrderV1MetaOutput) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput
- func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
- func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
- type OrderV1MetaPtrInput
- type OrderV1MetaPtrOutput
- func (o OrderV1MetaPtrOutput) Algorithm() pulumi.StringPtrOutput
- func (o OrderV1MetaPtrOutput) BitLength() pulumi.IntPtrOutput
- func (o OrderV1MetaPtrOutput) Elem() OrderV1MetaOutput
- func (OrderV1MetaPtrOutput) ElementType() reflect.Type
- func (o OrderV1MetaPtrOutput) Expiration() pulumi.StringPtrOutput
- func (o OrderV1MetaPtrOutput) Mode() pulumi.StringPtrOutput
- func (o OrderV1MetaPtrOutput) Name() pulumi.StringPtrOutput
- func (o OrderV1MetaPtrOutput) PayloadContentType() pulumi.StringPtrOutput
- func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
- func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
- type OrderV1Output
- func (o OrderV1Output) ContainerRef() pulumi.StringOutput
- func (o OrderV1Output) Created() pulumi.StringOutput
- func (o OrderV1Output) CreatorId() pulumi.StringOutput
- func (OrderV1Output) ElementType() reflect.Type
- func (o OrderV1Output) Meta() OrderV1MetaOutput
- func (o OrderV1Output) OrderRef() pulumi.StringOutput
- func (o OrderV1Output) Region() pulumi.StringOutput
- func (o OrderV1Output) SecretRef() pulumi.StringOutput
- func (o OrderV1Output) Status() pulumi.StringOutput
- func (o OrderV1Output) SubStatus() pulumi.StringOutput
- func (o OrderV1Output) SubStatusMessage() pulumi.StringOutput
- func (o OrderV1Output) ToOrderV1Output() OrderV1Output
- func (o OrderV1Output) ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output
- func (o OrderV1Output) Type() pulumi.StringOutput
- func (o OrderV1Output) Updated() pulumi.StringOutput
- type OrderV1State
- type SecretV1
- type SecretV1Acl
- type SecretV1AclArgs
- func (SecretV1AclArgs) ElementType() reflect.Type
- func (i SecretV1AclArgs) ToSecretV1AclOutput() SecretV1AclOutput
- func (i SecretV1AclArgs) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput
- func (i SecretV1AclArgs) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
- func (i SecretV1AclArgs) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
- type SecretV1AclInput
- type SecretV1AclOutput
- func (SecretV1AclOutput) ElementType() reflect.Type
- func (o SecretV1AclOutput) Read() SecretV1AclReadPtrOutput
- func (o SecretV1AclOutput) ToSecretV1AclOutput() SecretV1AclOutput
- func (o SecretV1AclOutput) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput
- func (o SecretV1AclOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
- func (o SecretV1AclOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
- type SecretV1AclPtrInput
- type SecretV1AclPtrOutput
- func (o SecretV1AclPtrOutput) Elem() SecretV1AclOutput
- func (SecretV1AclPtrOutput) ElementType() reflect.Type
- func (o SecretV1AclPtrOutput) Read() SecretV1AclReadPtrOutput
- func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
- func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
- type SecretV1AclRead
- type SecretV1AclReadArgs
- func (SecretV1AclReadArgs) ElementType() reflect.Type
- func (i SecretV1AclReadArgs) ToSecretV1AclReadOutput() SecretV1AclReadOutput
- func (i SecretV1AclReadArgs) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput
- func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
- func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
- type SecretV1AclReadInput
- type SecretV1AclReadOutput
- func (o SecretV1AclReadOutput) CreatedAt() pulumi.StringPtrOutput
- func (SecretV1AclReadOutput) ElementType() reflect.Type
- func (o SecretV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o SecretV1AclReadOutput) ToSecretV1AclReadOutput() SecretV1AclReadOutput
- func (o SecretV1AclReadOutput) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput
- func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
- func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
- func (o SecretV1AclReadOutput) UpdatedAt() pulumi.StringPtrOutput
- func (o SecretV1AclReadOutput) Users() pulumi.StringArrayOutput
- type SecretV1AclReadPtrInput
- type SecretV1AclReadPtrOutput
- func (o SecretV1AclReadPtrOutput) CreatedAt() pulumi.StringPtrOutput
- func (o SecretV1AclReadPtrOutput) Elem() SecretV1AclReadOutput
- func (SecretV1AclReadPtrOutput) ElementType() reflect.Type
- func (o SecretV1AclReadPtrOutput) ProjectAccess() pulumi.BoolPtrOutput
- func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
- func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
- func (o SecretV1AclReadPtrOutput) UpdatedAt() pulumi.StringPtrOutput
- func (o SecretV1AclReadPtrOutput) Users() pulumi.StringArrayOutput
- type SecretV1Args
- type SecretV1Array
- type SecretV1ArrayInput
- type SecretV1ArrayOutput
- type SecretV1Input
- type SecretV1Map
- type SecretV1MapInput
- type SecretV1MapOutput
- type SecretV1Output
- func (o SecretV1Output) Acl() SecretV1AclOutput
- func (o SecretV1Output) Algorithm() pulumi.StringOutput
- func (o SecretV1Output) AllMetadata() pulumi.StringMapOutput
- func (o SecretV1Output) BitLength() pulumi.IntOutput
- func (o SecretV1Output) ContentTypes() pulumi.StringMapOutput
- func (o SecretV1Output) CreatedAt() pulumi.StringOutput
- func (o SecretV1Output) CreatorId() pulumi.StringOutput
- func (SecretV1Output) ElementType() reflect.Type
- func (o SecretV1Output) Expiration() pulumi.StringPtrOutput
- func (o SecretV1Output) Metadata() pulumi.StringMapOutput
- func (o SecretV1Output) Mode() pulumi.StringOutput
- func (o SecretV1Output) Name() pulumi.StringOutput
- func (o SecretV1Output) Payload() pulumi.StringPtrOutput
- func (o SecretV1Output) PayloadContentEncoding() pulumi.StringPtrOutput
- func (o SecretV1Output) PayloadContentType() pulumi.StringPtrOutput
- func (o SecretV1Output) Region() pulumi.StringOutput
- func (o SecretV1Output) SecretRef() pulumi.StringOutput
- func (o SecretV1Output) SecretType() pulumi.StringOutput
- func (o SecretV1Output) Status() pulumi.StringOutput
- func (o SecretV1Output) ToSecretV1Output() SecretV1Output
- func (o SecretV1Output) ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output
- func (o SecretV1Output) UpdatedAt() pulumi.StringOutput
- type SecretV1State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerV1 ¶
type ContainerV1 struct { pulumi.CustomResourceState // Allows to control an access to a container. Currently only // the `read` operation is supported. If not specified, the container is // accessible project wide. The `read` structure is described below. Acl ContainerV1AclOutput `pulumi:"acl"` // The list of the container consumers. The structure is described below. Consumers ContainerV1ConsumerArrayOutput `pulumi:"consumers"` // The container reference / where to find the container. ContainerRef pulumi.StringOutput `pulumi:"containerRef"` // The date the container was created. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The creator of the container. CreatorId pulumi.StringOutput `pulumi:"creatorId"` // Human-readable name for the Container. Does not have // to be unique. Name pulumi.StringOutput `pulumi:"name"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a container. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 container. Region pulumi.StringOutput `pulumi:"region"` // A set of dictionaries containing references to secrets. The structure is described // below. SecretRefs ContainerV1SecretRefArrayOutput `pulumi:"secretRefs"` // The status of the container. Status pulumi.StringOutput `pulumi:"status"` // Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`. Type pulumi.StringOutput `pulumi:"type"` // The date the container was last updated. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
Manages a V1 Barbican container resource within OpenStack.
## Example Usage
### Simple secret
The container with the TLS certificates, which can be used by the loadbalancer HTTPS listener.
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack" "github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/loadbalancer" "github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/networking" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "cert.pem", }, nil) if err != nil { return err } certificate1, err := keymanager.NewSecretV1(ctx, "certificate_1", &keymanager.SecretV1Args{ Name: pulumi.String("certificate"), Payload: pulumi.String(invokeFile.Result), SecretType: pulumi.String("certificate"), PayloadContentType: pulumi.String("text/plain"), }) if err != nil { return err } invokeFile1, err := std.File(ctx, &std.FileArgs{ Input: "cert-key.pem", }, nil) if err != nil { return err } privateKey1, err := keymanager.NewSecretV1(ctx, "private_key_1", &keymanager.SecretV1Args{ Name: pulumi.String("private_key"), Payload: pulumi.String(invokeFile1.Result), SecretType: pulumi.String("private"), PayloadContentType: pulumi.String("text/plain"), }) if err != nil { return err } invokeFile2, err := std.File(ctx, &std.FileArgs{ Input: "intermediate-ca.pem", }, nil) if err != nil { return err } intermediate1, err := keymanager.NewSecretV1(ctx, "intermediate_1", &keymanager.SecretV1Args{ Name: pulumi.String("intermediate"), Payload: pulumi.String(invokeFile2.Result), SecretType: pulumi.String("certificate"), PayloadContentType: pulumi.String("text/plain"), }) if err != nil { return err } tls1, err := keymanager.NewContainerV1(ctx, "tls_1", &keymanager.ContainerV1Args{ Name: pulumi.String("tls"), Type: pulumi.String("certificate"), SecretRefs: keymanager.ContainerV1SecretRefArray{ &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("certificate"), SecretRef: certificate1.SecretRef, }, &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("private_key"), SecretRef: privateKey1.SecretRef, }, &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("intermediates"), SecretRef: intermediate1.SecretRef, }, }, }) if err != nil { return err } subnet1, err := networking.LookupSubnet(ctx, &networking.LookupSubnetArgs{ Name: pulumi.StringRef("my-subnet"), }, nil) if err != nil { return err } lb1, err := openstack.NewLbLoadbalancerV2(ctx, "lb_1", &openstack.LbLoadbalancerV2Args{ Name: pulumi.String("loadbalancer"), VipSubnetId: pulumi.String(subnet1.Id), }) if err != nil { return err } _, err = loadbalancer.NewListener(ctx, "listener_1", &loadbalancer.ListenerArgs{ Name: pulumi.String("https"), Protocol: pulumi.String("TERMINATED_HTTPS"), ProtocolPort: pulumi.Int(443), LoadbalancerId: lb1.ID(), DefaultTlsContainerRef: tls1.ContainerRef, }) if err != nil { return err } return nil }) }
```
### Container with the ACL
> **Note** Only read ACLs are supported
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.NewContainerV1(ctx, "tls_1", &keymanager.ContainerV1Args{ Name: pulumi.String("tls"), Type: pulumi.String("certificate"), SecretRefs: keymanager.ContainerV1SecretRefArray{ &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("certificate"), SecretRef: pulumi.Any(certificate1.SecretRef), }, &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("private_key"), SecretRef: pulumi.Any(privateKey1.SecretRef), }, &keymanager.ContainerV1SecretRefArgs{ Name: pulumi.String("intermediates"), SecretRef: pulumi.Any(intermediate1.SecretRef), }, }, Acl: &keymanager.ContainerV1AclArgs{ Read: &keymanager.ContainerV1AclReadArgs{ ProjectAccess: pulumi.Bool(false), Users: pulumi.StringArray{ pulumi.String("userid1"), pulumi.String("userid2"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Containers can be imported using the container id (the last part of the container reference), e.g.:
```sh $ pulumi import openstack:keymanager/containerV1:ContainerV1 container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953 ```
func GetContainerV1 ¶
func GetContainerV1(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContainerV1State, opts ...pulumi.ResourceOption) (*ContainerV1, error)
GetContainerV1 gets an existing ContainerV1 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 NewContainerV1 ¶
func NewContainerV1(ctx *pulumi.Context, name string, args *ContainerV1Args, opts ...pulumi.ResourceOption) (*ContainerV1, error)
NewContainerV1 registers a new resource with the given unique name, arguments, and options.
func (*ContainerV1) ElementType ¶
func (*ContainerV1) ElementType() reflect.Type
func (*ContainerV1) ToContainerV1Output ¶
func (i *ContainerV1) ToContainerV1Output() ContainerV1Output
func (*ContainerV1) ToContainerV1OutputWithContext ¶
func (i *ContainerV1) ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output
type ContainerV1Acl ¶
type ContainerV1Acl struct {
Read *ContainerV1AclRead `pulumi:"read"`
}
type ContainerV1AclArgs ¶
type ContainerV1AclArgs struct {
Read ContainerV1AclReadPtrInput `pulumi:"read"`
}
func (ContainerV1AclArgs) ElementType ¶
func (ContainerV1AclArgs) ElementType() reflect.Type
func (ContainerV1AclArgs) ToContainerV1AclOutput ¶
func (i ContainerV1AclArgs) ToContainerV1AclOutput() ContainerV1AclOutput
func (ContainerV1AclArgs) ToContainerV1AclOutputWithContext ¶
func (i ContainerV1AclArgs) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput
func (ContainerV1AclArgs) ToContainerV1AclPtrOutput ¶
func (i ContainerV1AclArgs) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
func (ContainerV1AclArgs) ToContainerV1AclPtrOutputWithContext ¶
func (i ContainerV1AclArgs) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
type ContainerV1AclInput ¶
type ContainerV1AclInput interface { pulumi.Input ToContainerV1AclOutput() ContainerV1AclOutput ToContainerV1AclOutputWithContext(context.Context) ContainerV1AclOutput }
ContainerV1AclInput is an input type that accepts ContainerV1AclArgs and ContainerV1AclOutput values. You can construct a concrete instance of `ContainerV1AclInput` via:
ContainerV1AclArgs{...}
type ContainerV1AclOutput ¶
type ContainerV1AclOutput struct{ *pulumi.OutputState }
func (ContainerV1AclOutput) ElementType ¶
func (ContainerV1AclOutput) ElementType() reflect.Type
func (ContainerV1AclOutput) Read ¶
func (o ContainerV1AclOutput) Read() ContainerV1AclReadPtrOutput
func (ContainerV1AclOutput) ToContainerV1AclOutput ¶
func (o ContainerV1AclOutput) ToContainerV1AclOutput() ContainerV1AclOutput
func (ContainerV1AclOutput) ToContainerV1AclOutputWithContext ¶
func (o ContainerV1AclOutput) ToContainerV1AclOutputWithContext(ctx context.Context) ContainerV1AclOutput
func (ContainerV1AclOutput) ToContainerV1AclPtrOutput ¶
func (o ContainerV1AclOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
func (ContainerV1AclOutput) ToContainerV1AclPtrOutputWithContext ¶
func (o ContainerV1AclOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
type ContainerV1AclPtrInput ¶
type ContainerV1AclPtrInput interface { pulumi.Input ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput ToContainerV1AclPtrOutputWithContext(context.Context) ContainerV1AclPtrOutput }
ContainerV1AclPtrInput is an input type that accepts ContainerV1AclArgs, ContainerV1AclPtr and ContainerV1AclPtrOutput values. You can construct a concrete instance of `ContainerV1AclPtrInput` via:
ContainerV1AclArgs{...} or: nil
func ContainerV1AclPtr ¶
func ContainerV1AclPtr(v *ContainerV1AclArgs) ContainerV1AclPtrInput
type ContainerV1AclPtrOutput ¶
type ContainerV1AclPtrOutput struct{ *pulumi.OutputState }
func (ContainerV1AclPtrOutput) Elem ¶
func (o ContainerV1AclPtrOutput) Elem() ContainerV1AclOutput
func (ContainerV1AclPtrOutput) ElementType ¶
func (ContainerV1AclPtrOutput) ElementType() reflect.Type
func (ContainerV1AclPtrOutput) Read ¶
func (o ContainerV1AclPtrOutput) Read() ContainerV1AclReadPtrOutput
func (ContainerV1AclPtrOutput) ToContainerV1AclPtrOutput ¶
func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutput() ContainerV1AclPtrOutput
func (ContainerV1AclPtrOutput) ToContainerV1AclPtrOutputWithContext ¶
func (o ContainerV1AclPtrOutput) ToContainerV1AclPtrOutputWithContext(ctx context.Context) ContainerV1AclPtrOutput
type ContainerV1AclRead ¶
type ContainerV1AclRead struct { // The date the container was created. CreatedAt *string `pulumi:"createdAt"` // Whether the container is accessible project wide. // Defaults to `true`. ProjectAccess *bool `pulumi:"projectAccess"` // The date the container was last updated. UpdatedAt *string `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the // container, when `projectAccess` is set to `false`. Users []string `pulumi:"users"` }
type ContainerV1AclReadArgs ¶
type ContainerV1AclReadArgs struct { // The date the container was created. CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` // Whether the container is accessible project wide. // Defaults to `true`. ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"` // The date the container was last updated. UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the // container, when `projectAccess` is set to `false`. Users pulumi.StringArrayInput `pulumi:"users"` }
func (ContainerV1AclReadArgs) ElementType ¶
func (ContainerV1AclReadArgs) ElementType() reflect.Type
func (ContainerV1AclReadArgs) ToContainerV1AclReadOutput ¶
func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutput() ContainerV1AclReadOutput
func (ContainerV1AclReadArgs) ToContainerV1AclReadOutputWithContext ¶
func (i ContainerV1AclReadArgs) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput
func (ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutput ¶
func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
func (ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutputWithContext ¶
func (i ContainerV1AclReadArgs) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
type ContainerV1AclReadInput ¶
type ContainerV1AclReadInput interface { pulumi.Input ToContainerV1AclReadOutput() ContainerV1AclReadOutput ToContainerV1AclReadOutputWithContext(context.Context) ContainerV1AclReadOutput }
ContainerV1AclReadInput is an input type that accepts ContainerV1AclReadArgs and ContainerV1AclReadOutput values. You can construct a concrete instance of `ContainerV1AclReadInput` via:
ContainerV1AclReadArgs{...}
type ContainerV1AclReadOutput ¶
type ContainerV1AclReadOutput struct{ *pulumi.OutputState }
func (ContainerV1AclReadOutput) CreatedAt ¶
func (o ContainerV1AclReadOutput) CreatedAt() pulumi.StringPtrOutput
The date the container was created.
func (ContainerV1AclReadOutput) ElementType ¶
func (ContainerV1AclReadOutput) ElementType() reflect.Type
func (ContainerV1AclReadOutput) ProjectAccess ¶
func (o ContainerV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the container is accessible project wide. Defaults to `true`.
func (ContainerV1AclReadOutput) ToContainerV1AclReadOutput ¶
func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutput() ContainerV1AclReadOutput
func (ContainerV1AclReadOutput) ToContainerV1AclReadOutputWithContext ¶
func (o ContainerV1AclReadOutput) ToContainerV1AclReadOutputWithContext(ctx context.Context) ContainerV1AclReadOutput
func (ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutput ¶
func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
func (ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutputWithContext ¶
func (o ContainerV1AclReadOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
func (ContainerV1AclReadOutput) UpdatedAt ¶
func (o ContainerV1AclReadOutput) UpdatedAt() pulumi.StringPtrOutput
The date the container was last updated.
func (ContainerV1AclReadOutput) Users ¶
func (o ContainerV1AclReadOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.
type ContainerV1AclReadPtrInput ¶
type ContainerV1AclReadPtrInput interface { pulumi.Input ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput ToContainerV1AclReadPtrOutputWithContext(context.Context) ContainerV1AclReadPtrOutput }
ContainerV1AclReadPtrInput is an input type that accepts ContainerV1AclReadArgs, ContainerV1AclReadPtr and ContainerV1AclReadPtrOutput values. You can construct a concrete instance of `ContainerV1AclReadPtrInput` via:
ContainerV1AclReadArgs{...} or: nil
func ContainerV1AclReadPtr ¶
func ContainerV1AclReadPtr(v *ContainerV1AclReadArgs) ContainerV1AclReadPtrInput
type ContainerV1AclReadPtrOutput ¶
type ContainerV1AclReadPtrOutput struct{ *pulumi.OutputState }
func (ContainerV1AclReadPtrOutput) CreatedAt ¶
func (o ContainerV1AclReadPtrOutput) CreatedAt() pulumi.StringPtrOutput
The date the container was created.
func (ContainerV1AclReadPtrOutput) Elem ¶
func (o ContainerV1AclReadPtrOutput) Elem() ContainerV1AclReadOutput
func (ContainerV1AclReadPtrOutput) ElementType ¶
func (ContainerV1AclReadPtrOutput) ElementType() reflect.Type
func (ContainerV1AclReadPtrOutput) ProjectAccess ¶
func (o ContainerV1AclReadPtrOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the container is accessible project wide. Defaults to `true`.
func (ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutput ¶
func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutput() ContainerV1AclReadPtrOutput
func (ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutputWithContext ¶
func (o ContainerV1AclReadPtrOutput) ToContainerV1AclReadPtrOutputWithContext(ctx context.Context) ContainerV1AclReadPtrOutput
func (ContainerV1AclReadPtrOutput) UpdatedAt ¶
func (o ContainerV1AclReadPtrOutput) UpdatedAt() pulumi.StringPtrOutput
The date the container was last updated.
func (ContainerV1AclReadPtrOutput) Users ¶
func (o ContainerV1AclReadPtrOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.
type ContainerV1Args ¶
type ContainerV1Args struct { // Allows to control an access to a container. Currently only // the `read` operation is supported. If not specified, the container is // accessible project wide. The `read` structure is described below. Acl ContainerV1AclPtrInput // Human-readable name for the Container. Does not have // to be unique. Name pulumi.StringPtrInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a container. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 container. Region pulumi.StringPtrInput // A set of dictionaries containing references to secrets. The structure is described // below. SecretRefs ContainerV1SecretRefArrayInput // Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`. Type pulumi.StringInput }
The set of arguments for constructing a ContainerV1 resource.
func (ContainerV1Args) ElementType ¶
func (ContainerV1Args) ElementType() reflect.Type
type ContainerV1Array ¶
type ContainerV1Array []ContainerV1Input
func (ContainerV1Array) ElementType ¶
func (ContainerV1Array) ElementType() reflect.Type
func (ContainerV1Array) ToContainerV1ArrayOutput ¶
func (i ContainerV1Array) ToContainerV1ArrayOutput() ContainerV1ArrayOutput
func (ContainerV1Array) ToContainerV1ArrayOutputWithContext ¶
func (i ContainerV1Array) ToContainerV1ArrayOutputWithContext(ctx context.Context) ContainerV1ArrayOutput
type ContainerV1ArrayInput ¶
type ContainerV1ArrayInput interface { pulumi.Input ToContainerV1ArrayOutput() ContainerV1ArrayOutput ToContainerV1ArrayOutputWithContext(context.Context) ContainerV1ArrayOutput }
ContainerV1ArrayInput is an input type that accepts ContainerV1Array and ContainerV1ArrayOutput values. You can construct a concrete instance of `ContainerV1ArrayInput` via:
ContainerV1Array{ ContainerV1Args{...} }
type ContainerV1ArrayOutput ¶
type ContainerV1ArrayOutput struct{ *pulumi.OutputState }
func (ContainerV1ArrayOutput) ElementType ¶
func (ContainerV1ArrayOutput) ElementType() reflect.Type
func (ContainerV1ArrayOutput) Index ¶
func (o ContainerV1ArrayOutput) Index(i pulumi.IntInput) ContainerV1Output
func (ContainerV1ArrayOutput) ToContainerV1ArrayOutput ¶
func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutput() ContainerV1ArrayOutput
func (ContainerV1ArrayOutput) ToContainerV1ArrayOutputWithContext ¶
func (o ContainerV1ArrayOutput) ToContainerV1ArrayOutputWithContext(ctx context.Context) ContainerV1ArrayOutput
type ContainerV1Consumer ¶
type ContainerV1ConsumerArgs ¶
type ContainerV1ConsumerArgs struct { // Human-readable name for the Container. Does not have // to be unique. Name pulumi.StringPtrInput `pulumi:"name"` // The consumer URL. Url pulumi.StringPtrInput `pulumi:"url"` }
func (ContainerV1ConsumerArgs) ElementType ¶
func (ContainerV1ConsumerArgs) ElementType() reflect.Type
func (ContainerV1ConsumerArgs) ToContainerV1ConsumerOutput ¶
func (i ContainerV1ConsumerArgs) ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput
func (ContainerV1ConsumerArgs) ToContainerV1ConsumerOutputWithContext ¶
func (i ContainerV1ConsumerArgs) ToContainerV1ConsumerOutputWithContext(ctx context.Context) ContainerV1ConsumerOutput
type ContainerV1ConsumerArray ¶
type ContainerV1ConsumerArray []ContainerV1ConsumerInput
func (ContainerV1ConsumerArray) ElementType ¶
func (ContainerV1ConsumerArray) ElementType() reflect.Type
func (ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutput ¶
func (i ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput
func (ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutputWithContext ¶
func (i ContainerV1ConsumerArray) ToContainerV1ConsumerArrayOutputWithContext(ctx context.Context) ContainerV1ConsumerArrayOutput
type ContainerV1ConsumerArrayInput ¶
type ContainerV1ConsumerArrayInput interface { pulumi.Input ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput ToContainerV1ConsumerArrayOutputWithContext(context.Context) ContainerV1ConsumerArrayOutput }
ContainerV1ConsumerArrayInput is an input type that accepts ContainerV1ConsumerArray and ContainerV1ConsumerArrayOutput values. You can construct a concrete instance of `ContainerV1ConsumerArrayInput` via:
ContainerV1ConsumerArray{ ContainerV1ConsumerArgs{...} }
type ContainerV1ConsumerArrayOutput ¶
type ContainerV1ConsumerArrayOutput struct{ *pulumi.OutputState }
func (ContainerV1ConsumerArrayOutput) ElementType ¶
func (ContainerV1ConsumerArrayOutput) ElementType() reflect.Type
func (ContainerV1ConsumerArrayOutput) Index ¶
func (o ContainerV1ConsumerArrayOutput) Index(i pulumi.IntInput) ContainerV1ConsumerOutput
func (ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutput ¶
func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutput() ContainerV1ConsumerArrayOutput
func (ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutputWithContext ¶
func (o ContainerV1ConsumerArrayOutput) ToContainerV1ConsumerArrayOutputWithContext(ctx context.Context) ContainerV1ConsumerArrayOutput
type ContainerV1ConsumerInput ¶
type ContainerV1ConsumerInput interface { pulumi.Input ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput ToContainerV1ConsumerOutputWithContext(context.Context) ContainerV1ConsumerOutput }
ContainerV1ConsumerInput is an input type that accepts ContainerV1ConsumerArgs and ContainerV1ConsumerOutput values. You can construct a concrete instance of `ContainerV1ConsumerInput` via:
ContainerV1ConsumerArgs{...}
type ContainerV1ConsumerOutput ¶
type ContainerV1ConsumerOutput struct{ *pulumi.OutputState }
func (ContainerV1ConsumerOutput) ElementType ¶
func (ContainerV1ConsumerOutput) ElementType() reflect.Type
func (ContainerV1ConsumerOutput) Name ¶
func (o ContainerV1ConsumerOutput) Name() pulumi.StringPtrOutput
Human-readable name for the Container. Does not have to be unique.
func (ContainerV1ConsumerOutput) ToContainerV1ConsumerOutput ¶
func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutput() ContainerV1ConsumerOutput
func (ContainerV1ConsumerOutput) ToContainerV1ConsumerOutputWithContext ¶
func (o ContainerV1ConsumerOutput) ToContainerV1ConsumerOutputWithContext(ctx context.Context) ContainerV1ConsumerOutput
func (ContainerV1ConsumerOutput) Url ¶
func (o ContainerV1ConsumerOutput) Url() pulumi.StringPtrOutput
The consumer URL.
type ContainerV1Input ¶
type ContainerV1Input interface { pulumi.Input ToContainerV1Output() ContainerV1Output ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output }
type ContainerV1Map ¶
type ContainerV1Map map[string]ContainerV1Input
func (ContainerV1Map) ElementType ¶
func (ContainerV1Map) ElementType() reflect.Type
func (ContainerV1Map) ToContainerV1MapOutput ¶
func (i ContainerV1Map) ToContainerV1MapOutput() ContainerV1MapOutput
func (ContainerV1Map) ToContainerV1MapOutputWithContext ¶
func (i ContainerV1Map) ToContainerV1MapOutputWithContext(ctx context.Context) ContainerV1MapOutput
type ContainerV1MapInput ¶
type ContainerV1MapInput interface { pulumi.Input ToContainerV1MapOutput() ContainerV1MapOutput ToContainerV1MapOutputWithContext(context.Context) ContainerV1MapOutput }
ContainerV1MapInput is an input type that accepts ContainerV1Map and ContainerV1MapOutput values. You can construct a concrete instance of `ContainerV1MapInput` via:
ContainerV1Map{ "key": ContainerV1Args{...} }
type ContainerV1MapOutput ¶
type ContainerV1MapOutput struct{ *pulumi.OutputState }
func (ContainerV1MapOutput) ElementType ¶
func (ContainerV1MapOutput) ElementType() reflect.Type
func (ContainerV1MapOutput) MapIndex ¶
func (o ContainerV1MapOutput) MapIndex(k pulumi.StringInput) ContainerV1Output
func (ContainerV1MapOutput) ToContainerV1MapOutput ¶
func (o ContainerV1MapOutput) ToContainerV1MapOutput() ContainerV1MapOutput
func (ContainerV1MapOutput) ToContainerV1MapOutputWithContext ¶
func (o ContainerV1MapOutput) ToContainerV1MapOutputWithContext(ctx context.Context) ContainerV1MapOutput
type ContainerV1Output ¶
type ContainerV1Output struct{ *pulumi.OutputState }
func (ContainerV1Output) Acl ¶
func (o ContainerV1Output) Acl() ContainerV1AclOutput
Allows to control an access to a container. Currently only the `read` operation is supported. If not specified, the container is accessible project wide. The `read` structure is described below.
func (ContainerV1Output) Consumers ¶
func (o ContainerV1Output) Consumers() ContainerV1ConsumerArrayOutput
The list of the container consumers. The structure is described below.
func (ContainerV1Output) ContainerRef ¶
func (o ContainerV1Output) ContainerRef() pulumi.StringOutput
The container reference / where to find the container.
func (ContainerV1Output) CreatedAt ¶
func (o ContainerV1Output) CreatedAt() pulumi.StringOutput
The date the container was created.
func (ContainerV1Output) CreatorId ¶
func (o ContainerV1Output) CreatorId() pulumi.StringOutput
The creator of the container.
func (ContainerV1Output) ElementType ¶
func (ContainerV1Output) ElementType() reflect.Type
func (ContainerV1Output) Name ¶
func (o ContainerV1Output) Name() pulumi.StringOutput
Human-readable name for the Container. Does not have to be unique.
func (ContainerV1Output) Region ¶
func (o ContainerV1Output) Region() pulumi.StringOutput
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a container. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 container.
func (ContainerV1Output) SecretRefs ¶
func (o ContainerV1Output) SecretRefs() ContainerV1SecretRefArrayOutput
A set of dictionaries containing references to secrets. The structure is described below.
func (ContainerV1Output) Status ¶
func (o ContainerV1Output) Status() pulumi.StringOutput
The status of the container.
func (ContainerV1Output) ToContainerV1Output ¶
func (o ContainerV1Output) ToContainerV1Output() ContainerV1Output
func (ContainerV1Output) ToContainerV1OutputWithContext ¶
func (o ContainerV1Output) ToContainerV1OutputWithContext(ctx context.Context) ContainerV1Output
func (ContainerV1Output) Type ¶
func (o ContainerV1Output) Type() pulumi.StringOutput
Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`.
func (ContainerV1Output) UpdatedAt ¶
func (o ContainerV1Output) UpdatedAt() pulumi.StringOutput
The date the container was last updated.
type ContainerV1SecretRef ¶
type ContainerV1SecretRef struct { // The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html). Name *string `pulumi:"name"` // The secret reference / where to find the secret, URL. SecretRef string `pulumi:"secretRef"` }
type ContainerV1SecretRefArgs ¶
type ContainerV1SecretRefArgs struct { // The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html). Name pulumi.StringPtrInput `pulumi:"name"` // The secret reference / where to find the secret, URL. SecretRef pulumi.StringInput `pulumi:"secretRef"` }
func (ContainerV1SecretRefArgs) ElementType ¶
func (ContainerV1SecretRefArgs) ElementType() reflect.Type
func (ContainerV1SecretRefArgs) ToContainerV1SecretRefOutput ¶
func (i ContainerV1SecretRefArgs) ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput
func (ContainerV1SecretRefArgs) ToContainerV1SecretRefOutputWithContext ¶
func (i ContainerV1SecretRefArgs) ToContainerV1SecretRefOutputWithContext(ctx context.Context) ContainerV1SecretRefOutput
type ContainerV1SecretRefArray ¶
type ContainerV1SecretRefArray []ContainerV1SecretRefInput
func (ContainerV1SecretRefArray) ElementType ¶
func (ContainerV1SecretRefArray) ElementType() reflect.Type
func (ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutput ¶
func (i ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput
func (ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutputWithContext ¶
func (i ContainerV1SecretRefArray) ToContainerV1SecretRefArrayOutputWithContext(ctx context.Context) ContainerV1SecretRefArrayOutput
type ContainerV1SecretRefArrayInput ¶
type ContainerV1SecretRefArrayInput interface { pulumi.Input ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput ToContainerV1SecretRefArrayOutputWithContext(context.Context) ContainerV1SecretRefArrayOutput }
ContainerV1SecretRefArrayInput is an input type that accepts ContainerV1SecretRefArray and ContainerV1SecretRefArrayOutput values. You can construct a concrete instance of `ContainerV1SecretRefArrayInput` via:
ContainerV1SecretRefArray{ ContainerV1SecretRefArgs{...} }
type ContainerV1SecretRefArrayOutput ¶
type ContainerV1SecretRefArrayOutput struct{ *pulumi.OutputState }
func (ContainerV1SecretRefArrayOutput) ElementType ¶
func (ContainerV1SecretRefArrayOutput) ElementType() reflect.Type
func (ContainerV1SecretRefArrayOutput) Index ¶
func (o ContainerV1SecretRefArrayOutput) Index(i pulumi.IntInput) ContainerV1SecretRefOutput
func (ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutput ¶
func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutput() ContainerV1SecretRefArrayOutput
func (ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutputWithContext ¶
func (o ContainerV1SecretRefArrayOutput) ToContainerV1SecretRefArrayOutputWithContext(ctx context.Context) ContainerV1SecretRefArrayOutput
type ContainerV1SecretRefInput ¶
type ContainerV1SecretRefInput interface { pulumi.Input ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput ToContainerV1SecretRefOutputWithContext(context.Context) ContainerV1SecretRefOutput }
ContainerV1SecretRefInput is an input type that accepts ContainerV1SecretRefArgs and ContainerV1SecretRefOutput values. You can construct a concrete instance of `ContainerV1SecretRefInput` via:
ContainerV1SecretRefArgs{...}
type ContainerV1SecretRefOutput ¶
type ContainerV1SecretRefOutput struct{ *pulumi.OutputState }
func (ContainerV1SecretRefOutput) ElementType ¶
func (ContainerV1SecretRefOutput) ElementType() reflect.Type
func (ContainerV1SecretRefOutput) Name ¶
func (o ContainerV1SecretRefOutput) Name() pulumi.StringPtrOutput
The name of the secret reference. The reference names must correspond the container type, more details are available [here](https://docs.openstack.org/barbican/stein/api/reference/containers.html).
func (ContainerV1SecretRefOutput) SecretRef ¶
func (o ContainerV1SecretRefOutput) SecretRef() pulumi.StringOutput
The secret reference / where to find the secret, URL.
func (ContainerV1SecretRefOutput) ToContainerV1SecretRefOutput ¶
func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutput() ContainerV1SecretRefOutput
func (ContainerV1SecretRefOutput) ToContainerV1SecretRefOutputWithContext ¶
func (o ContainerV1SecretRefOutput) ToContainerV1SecretRefOutputWithContext(ctx context.Context) ContainerV1SecretRefOutput
type ContainerV1State ¶
type ContainerV1State struct { // Allows to control an access to a container. Currently only // the `read` operation is supported. If not specified, the container is // accessible project wide. The `read` structure is described below. Acl ContainerV1AclPtrInput // The list of the container consumers. The structure is described below. Consumers ContainerV1ConsumerArrayInput // The container reference / where to find the container. ContainerRef pulumi.StringPtrInput // The date the container was created. CreatedAt pulumi.StringPtrInput // The creator of the container. CreatorId pulumi.StringPtrInput // Human-readable name for the Container. Does not have // to be unique. Name pulumi.StringPtrInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a container. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 container. Region pulumi.StringPtrInput // A set of dictionaries containing references to secrets. The structure is described // below. SecretRefs ContainerV1SecretRefArrayInput // The status of the container. Status pulumi.StringPtrInput // Used to indicate the type of container. Must be one of `generic`, `rsa` or `certificate`. Type pulumi.StringPtrInput // The date the container was last updated. UpdatedAt pulumi.StringPtrInput }
func (ContainerV1State) ElementType ¶
func (ContainerV1State) ElementType() reflect.Type
type GetContainerAcl ¶
type GetContainerAcl struct {
Read GetContainerAclRead `pulumi:"read"`
}
type GetContainerAclArgs ¶
type GetContainerAclArgs struct {
Read GetContainerAclReadInput `pulumi:"read"`
}
func (GetContainerAclArgs) ElementType ¶
func (GetContainerAclArgs) ElementType() reflect.Type
func (GetContainerAclArgs) ToGetContainerAclOutput ¶
func (i GetContainerAclArgs) ToGetContainerAclOutput() GetContainerAclOutput
func (GetContainerAclArgs) ToGetContainerAclOutputWithContext ¶
func (i GetContainerAclArgs) ToGetContainerAclOutputWithContext(ctx context.Context) GetContainerAclOutput
type GetContainerAclArray ¶
type GetContainerAclArray []GetContainerAclInput
func (GetContainerAclArray) ElementType ¶
func (GetContainerAclArray) ElementType() reflect.Type
func (GetContainerAclArray) ToGetContainerAclArrayOutput ¶
func (i GetContainerAclArray) ToGetContainerAclArrayOutput() GetContainerAclArrayOutput
func (GetContainerAclArray) ToGetContainerAclArrayOutputWithContext ¶
func (i GetContainerAclArray) ToGetContainerAclArrayOutputWithContext(ctx context.Context) GetContainerAclArrayOutput
type GetContainerAclArrayInput ¶
type GetContainerAclArrayInput interface { pulumi.Input ToGetContainerAclArrayOutput() GetContainerAclArrayOutput ToGetContainerAclArrayOutputWithContext(context.Context) GetContainerAclArrayOutput }
GetContainerAclArrayInput is an input type that accepts GetContainerAclArray and GetContainerAclArrayOutput values. You can construct a concrete instance of `GetContainerAclArrayInput` via:
GetContainerAclArray{ GetContainerAclArgs{...} }
type GetContainerAclArrayOutput ¶
type GetContainerAclArrayOutput struct{ *pulumi.OutputState }
func (GetContainerAclArrayOutput) ElementType ¶
func (GetContainerAclArrayOutput) ElementType() reflect.Type
func (GetContainerAclArrayOutput) Index ¶
func (o GetContainerAclArrayOutput) Index(i pulumi.IntInput) GetContainerAclOutput
func (GetContainerAclArrayOutput) ToGetContainerAclArrayOutput ¶
func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutput() GetContainerAclArrayOutput
func (GetContainerAclArrayOutput) ToGetContainerAclArrayOutputWithContext ¶
func (o GetContainerAclArrayOutput) ToGetContainerAclArrayOutputWithContext(ctx context.Context) GetContainerAclArrayOutput
type GetContainerAclInput ¶
type GetContainerAclInput interface { pulumi.Input ToGetContainerAclOutput() GetContainerAclOutput ToGetContainerAclOutputWithContext(context.Context) GetContainerAclOutput }
GetContainerAclInput is an input type that accepts GetContainerAclArgs and GetContainerAclOutput values. You can construct a concrete instance of `GetContainerAclInput` via:
GetContainerAclArgs{...}
type GetContainerAclOutput ¶
type GetContainerAclOutput struct{ *pulumi.OutputState }
func (GetContainerAclOutput) ElementType ¶
func (GetContainerAclOutput) ElementType() reflect.Type
func (GetContainerAclOutput) Read ¶
func (o GetContainerAclOutput) Read() GetContainerAclReadOutput
func (GetContainerAclOutput) ToGetContainerAclOutput ¶
func (o GetContainerAclOutput) ToGetContainerAclOutput() GetContainerAclOutput
func (GetContainerAclOutput) ToGetContainerAclOutputWithContext ¶
func (o GetContainerAclOutput) ToGetContainerAclOutputWithContext(ctx context.Context) GetContainerAclOutput
type GetContainerAclRead ¶
type GetContainerAclRead struct { // The date the container ACL was created. CreatedAt string `pulumi:"createdAt"` // Whether the container is accessible project wide. ProjectAccess *bool `pulumi:"projectAccess"` // The date the container ACL was last updated. UpdatedAt string `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the container, // when `projectAccess` is set to `false`. Users []string `pulumi:"users"` }
type GetContainerAclReadArgs ¶
type GetContainerAclReadArgs struct { // The date the container ACL was created. CreatedAt pulumi.StringInput `pulumi:"createdAt"` // Whether the container is accessible project wide. ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"` // The date the container ACL was last updated. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the container, // when `projectAccess` is set to `false`. Users pulumi.StringArrayInput `pulumi:"users"` }
func (GetContainerAclReadArgs) ElementType ¶
func (GetContainerAclReadArgs) ElementType() reflect.Type
func (GetContainerAclReadArgs) ToGetContainerAclReadOutput ¶
func (i GetContainerAclReadArgs) ToGetContainerAclReadOutput() GetContainerAclReadOutput
func (GetContainerAclReadArgs) ToGetContainerAclReadOutputWithContext ¶
func (i GetContainerAclReadArgs) ToGetContainerAclReadOutputWithContext(ctx context.Context) GetContainerAclReadOutput
type GetContainerAclReadInput ¶
type GetContainerAclReadInput interface { pulumi.Input ToGetContainerAclReadOutput() GetContainerAclReadOutput ToGetContainerAclReadOutputWithContext(context.Context) GetContainerAclReadOutput }
GetContainerAclReadInput is an input type that accepts GetContainerAclReadArgs and GetContainerAclReadOutput values. You can construct a concrete instance of `GetContainerAclReadInput` via:
GetContainerAclReadArgs{...}
type GetContainerAclReadOutput ¶
type GetContainerAclReadOutput struct{ *pulumi.OutputState }
func (GetContainerAclReadOutput) CreatedAt ¶
func (o GetContainerAclReadOutput) CreatedAt() pulumi.StringOutput
The date the container ACL was created.
func (GetContainerAclReadOutput) ElementType ¶
func (GetContainerAclReadOutput) ElementType() reflect.Type
func (GetContainerAclReadOutput) ProjectAccess ¶
func (o GetContainerAclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the container is accessible project wide.
func (GetContainerAclReadOutput) ToGetContainerAclReadOutput ¶
func (o GetContainerAclReadOutput) ToGetContainerAclReadOutput() GetContainerAclReadOutput
func (GetContainerAclReadOutput) ToGetContainerAclReadOutputWithContext ¶
func (o GetContainerAclReadOutput) ToGetContainerAclReadOutputWithContext(ctx context.Context) GetContainerAclReadOutput
func (GetContainerAclReadOutput) UpdatedAt ¶
func (o GetContainerAclReadOutput) UpdatedAt() pulumi.StringOutput
The date the container ACL was last updated.
func (GetContainerAclReadOutput) Users ¶
func (o GetContainerAclReadOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the container, when `projectAccess` is set to `false`.
type GetContainerArgs ¶
type GetContainerArgs struct { // The Container name. Name *string `pulumi:"name"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to fetch a container. If omitted, the `region` // argument of the provider is used. Region *string `pulumi:"region"` }
A collection of arguments for invoking getContainer.
type GetContainerConsumer ¶
type GetContainerConsumerArgs ¶
type GetContainerConsumerArgs struct { // The Container name. Name pulumi.StringPtrInput `pulumi:"name"` // The consumer URL. Url pulumi.StringPtrInput `pulumi:"url"` }
func (GetContainerConsumerArgs) ElementType ¶
func (GetContainerConsumerArgs) ElementType() reflect.Type
func (GetContainerConsumerArgs) ToGetContainerConsumerOutput ¶
func (i GetContainerConsumerArgs) ToGetContainerConsumerOutput() GetContainerConsumerOutput
func (GetContainerConsumerArgs) ToGetContainerConsumerOutputWithContext ¶
func (i GetContainerConsumerArgs) ToGetContainerConsumerOutputWithContext(ctx context.Context) GetContainerConsumerOutput
type GetContainerConsumerArray ¶
type GetContainerConsumerArray []GetContainerConsumerInput
func (GetContainerConsumerArray) ElementType ¶
func (GetContainerConsumerArray) ElementType() reflect.Type
func (GetContainerConsumerArray) ToGetContainerConsumerArrayOutput ¶
func (i GetContainerConsumerArray) ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput
func (GetContainerConsumerArray) ToGetContainerConsumerArrayOutputWithContext ¶
func (i GetContainerConsumerArray) ToGetContainerConsumerArrayOutputWithContext(ctx context.Context) GetContainerConsumerArrayOutput
type GetContainerConsumerArrayInput ¶
type GetContainerConsumerArrayInput interface { pulumi.Input ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput ToGetContainerConsumerArrayOutputWithContext(context.Context) GetContainerConsumerArrayOutput }
GetContainerConsumerArrayInput is an input type that accepts GetContainerConsumerArray and GetContainerConsumerArrayOutput values. You can construct a concrete instance of `GetContainerConsumerArrayInput` via:
GetContainerConsumerArray{ GetContainerConsumerArgs{...} }
type GetContainerConsumerArrayOutput ¶
type GetContainerConsumerArrayOutput struct{ *pulumi.OutputState }
func (GetContainerConsumerArrayOutput) ElementType ¶
func (GetContainerConsumerArrayOutput) ElementType() reflect.Type
func (GetContainerConsumerArrayOutput) Index ¶
func (o GetContainerConsumerArrayOutput) Index(i pulumi.IntInput) GetContainerConsumerOutput
func (GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutput ¶
func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutput() GetContainerConsumerArrayOutput
func (GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutputWithContext ¶
func (o GetContainerConsumerArrayOutput) ToGetContainerConsumerArrayOutputWithContext(ctx context.Context) GetContainerConsumerArrayOutput
type GetContainerConsumerInput ¶
type GetContainerConsumerInput interface { pulumi.Input ToGetContainerConsumerOutput() GetContainerConsumerOutput ToGetContainerConsumerOutputWithContext(context.Context) GetContainerConsumerOutput }
GetContainerConsumerInput is an input type that accepts GetContainerConsumerArgs and GetContainerConsumerOutput values. You can construct a concrete instance of `GetContainerConsumerInput` via:
GetContainerConsumerArgs{...}
type GetContainerConsumerOutput ¶
type GetContainerConsumerOutput struct{ *pulumi.OutputState }
func (GetContainerConsumerOutput) ElementType ¶
func (GetContainerConsumerOutput) ElementType() reflect.Type
func (GetContainerConsumerOutput) Name ¶
func (o GetContainerConsumerOutput) Name() pulumi.StringPtrOutput
The Container name.
func (GetContainerConsumerOutput) ToGetContainerConsumerOutput ¶
func (o GetContainerConsumerOutput) ToGetContainerConsumerOutput() GetContainerConsumerOutput
func (GetContainerConsumerOutput) ToGetContainerConsumerOutputWithContext ¶
func (o GetContainerConsumerOutput) ToGetContainerConsumerOutputWithContext(ctx context.Context) GetContainerConsumerOutput
func (GetContainerConsumerOutput) Url ¶
func (o GetContainerConsumerOutput) Url() pulumi.StringPtrOutput
The consumer URL.
type GetContainerOutputArgs ¶
type GetContainerOutputArgs struct { // The Container name. Name pulumi.StringPtrInput `pulumi:"name"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to fetch a container. If omitted, the `region` // argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getContainer.
func (GetContainerOutputArgs) ElementType ¶
func (GetContainerOutputArgs) ElementType() reflect.Type
type GetContainerResult ¶
type GetContainerResult struct { // The list of ACLs assigned to a container. The `read` structure is // described below. Acls []GetContainerAcl `pulumi:"acls"` // The list of the container consumers. The structure is described // below. Consumers []GetContainerConsumer `pulumi:"consumers"` // The container reference / where to find the container. ContainerRef string `pulumi:"containerRef"` // The date the container ACL was created. CreatedAt string `pulumi:"createdAt"` // The creator of the container. CreatorId string `pulumi:"creatorId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the consumer. Name *string `pulumi:"name"` // See Argument Reference above. Region *string `pulumi:"region"` // A set of dictionaries containing references to secrets. The // structure is described below. SecretRefs []GetContainerSecretRef `pulumi:"secretRefs"` // The status of the container. Status string `pulumi:"status"` // The container type. Type string `pulumi:"type"` // The date the container ACL was last updated. UpdatedAt string `pulumi:"updatedAt"` }
A collection of values returned by getContainer.
func GetContainer ¶
func GetContainer(ctx *pulumi.Context, args *GetContainerArgs, opts ...pulumi.InvokeOption) (*GetContainerResult, error)
Use this data source to get the ID of an available Barbican container.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.GetContainer(ctx, &keymanager.GetContainerArgs{ Name: pulumi.StringRef("my_container"), }, nil) if err != nil { return err } return nil }) }
```
type GetContainerResultOutput ¶
type GetContainerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getContainer.
func GetContainerOutput ¶
func GetContainerOutput(ctx *pulumi.Context, args GetContainerOutputArgs, opts ...pulumi.InvokeOption) GetContainerResultOutput
func (GetContainerResultOutput) Acls ¶
func (o GetContainerResultOutput) Acls() GetContainerAclArrayOutput
The list of ACLs assigned to a container. The `read` structure is described below.
func (GetContainerResultOutput) Consumers ¶
func (o GetContainerResultOutput) Consumers() GetContainerConsumerArrayOutput
The list of the container consumers. The structure is described below.
func (GetContainerResultOutput) ContainerRef ¶
func (o GetContainerResultOutput) ContainerRef() pulumi.StringOutput
The container reference / where to find the container.
func (GetContainerResultOutput) CreatedAt ¶
func (o GetContainerResultOutput) CreatedAt() pulumi.StringOutput
The date the container ACL was created.
func (GetContainerResultOutput) CreatorId ¶
func (o GetContainerResultOutput) CreatorId() pulumi.StringOutput
The creator of the container.
func (GetContainerResultOutput) ElementType ¶
func (GetContainerResultOutput) ElementType() reflect.Type
func (GetContainerResultOutput) Id ¶
func (o GetContainerResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetContainerResultOutput) Name ¶
func (o GetContainerResultOutput) Name() pulumi.StringPtrOutput
The name of the consumer.
func (GetContainerResultOutput) Region ¶
func (o GetContainerResultOutput) Region() pulumi.StringPtrOutput
See Argument Reference above.
func (GetContainerResultOutput) SecretRefs ¶
func (o GetContainerResultOutput) SecretRefs() GetContainerSecretRefArrayOutput
A set of dictionaries containing references to secrets. The structure is described below.
func (GetContainerResultOutput) Status ¶
func (o GetContainerResultOutput) Status() pulumi.StringOutput
The status of the container.
func (GetContainerResultOutput) ToGetContainerResultOutput ¶
func (o GetContainerResultOutput) ToGetContainerResultOutput() GetContainerResultOutput
func (GetContainerResultOutput) ToGetContainerResultOutputWithContext ¶
func (o GetContainerResultOutput) ToGetContainerResultOutputWithContext(ctx context.Context) GetContainerResultOutput
func (GetContainerResultOutput) Type ¶
func (o GetContainerResultOutput) Type() pulumi.StringOutput
The container type.
func (GetContainerResultOutput) UpdatedAt ¶
func (o GetContainerResultOutput) UpdatedAt() pulumi.StringOutput
The date the container ACL was last updated.
type GetContainerSecretRef ¶
type GetContainerSecretRefArgs ¶
type GetContainerSecretRefArgs struct { // The Container name. Name pulumi.StringPtrInput `pulumi:"name"` // The secret reference / where to find the secret, URL. SecretRef pulumi.StringPtrInput `pulumi:"secretRef"` }
func (GetContainerSecretRefArgs) ElementType ¶
func (GetContainerSecretRefArgs) ElementType() reflect.Type
func (GetContainerSecretRefArgs) ToGetContainerSecretRefOutput ¶
func (i GetContainerSecretRefArgs) ToGetContainerSecretRefOutput() GetContainerSecretRefOutput
func (GetContainerSecretRefArgs) ToGetContainerSecretRefOutputWithContext ¶
func (i GetContainerSecretRefArgs) ToGetContainerSecretRefOutputWithContext(ctx context.Context) GetContainerSecretRefOutput
type GetContainerSecretRefArray ¶
type GetContainerSecretRefArray []GetContainerSecretRefInput
func (GetContainerSecretRefArray) ElementType ¶
func (GetContainerSecretRefArray) ElementType() reflect.Type
func (GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutput ¶
func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput
func (GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutputWithContext ¶
func (i GetContainerSecretRefArray) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput
type GetContainerSecretRefArrayInput ¶
type GetContainerSecretRefArrayInput interface { pulumi.Input ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput ToGetContainerSecretRefArrayOutputWithContext(context.Context) GetContainerSecretRefArrayOutput }
GetContainerSecretRefArrayInput is an input type that accepts GetContainerSecretRefArray and GetContainerSecretRefArrayOutput values. You can construct a concrete instance of `GetContainerSecretRefArrayInput` via:
GetContainerSecretRefArray{ GetContainerSecretRefArgs{...} }
type GetContainerSecretRefArrayOutput ¶
type GetContainerSecretRefArrayOutput struct{ *pulumi.OutputState }
func (GetContainerSecretRefArrayOutput) ElementType ¶
func (GetContainerSecretRefArrayOutput) ElementType() reflect.Type
func (GetContainerSecretRefArrayOutput) Index ¶
func (o GetContainerSecretRefArrayOutput) Index(i pulumi.IntInput) GetContainerSecretRefOutput
func (GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutput ¶
func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutput() GetContainerSecretRefArrayOutput
func (GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutputWithContext ¶
func (o GetContainerSecretRefArrayOutput) ToGetContainerSecretRefArrayOutputWithContext(ctx context.Context) GetContainerSecretRefArrayOutput
type GetContainerSecretRefInput ¶
type GetContainerSecretRefInput interface { pulumi.Input ToGetContainerSecretRefOutput() GetContainerSecretRefOutput ToGetContainerSecretRefOutputWithContext(context.Context) GetContainerSecretRefOutput }
GetContainerSecretRefInput is an input type that accepts GetContainerSecretRefArgs and GetContainerSecretRefOutput values. You can construct a concrete instance of `GetContainerSecretRefInput` via:
GetContainerSecretRefArgs{...}
type GetContainerSecretRefOutput ¶
type GetContainerSecretRefOutput struct{ *pulumi.OutputState }
func (GetContainerSecretRefOutput) ElementType ¶
func (GetContainerSecretRefOutput) ElementType() reflect.Type
func (GetContainerSecretRefOutput) Name ¶
func (o GetContainerSecretRefOutput) Name() pulumi.StringPtrOutput
The Container name.
func (GetContainerSecretRefOutput) SecretRef ¶
func (o GetContainerSecretRefOutput) SecretRef() pulumi.StringPtrOutput
The secret reference / where to find the secret, URL.
func (GetContainerSecretRefOutput) ToGetContainerSecretRefOutput ¶
func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutput() GetContainerSecretRefOutput
func (GetContainerSecretRefOutput) ToGetContainerSecretRefOutputWithContext ¶
func (o GetContainerSecretRefOutput) ToGetContainerSecretRefOutputWithContext(ctx context.Context) GetContainerSecretRefOutput
type GetSecretAcl ¶
type GetSecretAcl struct {
Read GetSecretAclRead `pulumi:"read"`
}
type GetSecretAclArgs ¶
type GetSecretAclArgs struct {
Read GetSecretAclReadInput `pulumi:"read"`
}
func (GetSecretAclArgs) ElementType ¶
func (GetSecretAclArgs) ElementType() reflect.Type
func (GetSecretAclArgs) ToGetSecretAclOutput ¶
func (i GetSecretAclArgs) ToGetSecretAclOutput() GetSecretAclOutput
func (GetSecretAclArgs) ToGetSecretAclOutputWithContext ¶
func (i GetSecretAclArgs) ToGetSecretAclOutputWithContext(ctx context.Context) GetSecretAclOutput
type GetSecretAclArray ¶
type GetSecretAclArray []GetSecretAclInput
func (GetSecretAclArray) ElementType ¶
func (GetSecretAclArray) ElementType() reflect.Type
func (GetSecretAclArray) ToGetSecretAclArrayOutput ¶
func (i GetSecretAclArray) ToGetSecretAclArrayOutput() GetSecretAclArrayOutput
func (GetSecretAclArray) ToGetSecretAclArrayOutputWithContext ¶
func (i GetSecretAclArray) ToGetSecretAclArrayOutputWithContext(ctx context.Context) GetSecretAclArrayOutput
type GetSecretAclArrayInput ¶
type GetSecretAclArrayInput interface { pulumi.Input ToGetSecretAclArrayOutput() GetSecretAclArrayOutput ToGetSecretAclArrayOutputWithContext(context.Context) GetSecretAclArrayOutput }
GetSecretAclArrayInput is an input type that accepts GetSecretAclArray and GetSecretAclArrayOutput values. You can construct a concrete instance of `GetSecretAclArrayInput` via:
GetSecretAclArray{ GetSecretAclArgs{...} }
type GetSecretAclArrayOutput ¶
type GetSecretAclArrayOutput struct{ *pulumi.OutputState }
func (GetSecretAclArrayOutput) ElementType ¶
func (GetSecretAclArrayOutput) ElementType() reflect.Type
func (GetSecretAclArrayOutput) Index ¶
func (o GetSecretAclArrayOutput) Index(i pulumi.IntInput) GetSecretAclOutput
func (GetSecretAclArrayOutput) ToGetSecretAclArrayOutput ¶
func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutput() GetSecretAclArrayOutput
func (GetSecretAclArrayOutput) ToGetSecretAclArrayOutputWithContext ¶
func (o GetSecretAclArrayOutput) ToGetSecretAclArrayOutputWithContext(ctx context.Context) GetSecretAclArrayOutput
type GetSecretAclInput ¶
type GetSecretAclInput interface { pulumi.Input ToGetSecretAclOutput() GetSecretAclOutput ToGetSecretAclOutputWithContext(context.Context) GetSecretAclOutput }
GetSecretAclInput is an input type that accepts GetSecretAclArgs and GetSecretAclOutput values. You can construct a concrete instance of `GetSecretAclInput` via:
GetSecretAclArgs{...}
type GetSecretAclOutput ¶
type GetSecretAclOutput struct{ *pulumi.OutputState }
func (GetSecretAclOutput) ElementType ¶
func (GetSecretAclOutput) ElementType() reflect.Type
func (GetSecretAclOutput) Read ¶
func (o GetSecretAclOutput) Read() GetSecretAclReadOutput
func (GetSecretAclOutput) ToGetSecretAclOutput ¶
func (o GetSecretAclOutput) ToGetSecretAclOutput() GetSecretAclOutput
func (GetSecretAclOutput) ToGetSecretAclOutputWithContext ¶
func (o GetSecretAclOutput) ToGetSecretAclOutputWithContext(ctx context.Context) GetSecretAclOutput
type GetSecretAclRead ¶
type GetSecretAclRead struct { // The date the secret ACL was created. CreatedAt string `pulumi:"createdAt"` // Whether the secret is accessible project wide. ProjectAccess *bool `pulumi:"projectAccess"` // The date the secret ACL was last updated. UpdatedAt string `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the secret, when // `projectAccess` is set to `false`. Users []string `pulumi:"users"` }
type GetSecretAclReadArgs ¶
type GetSecretAclReadArgs struct { // The date the secret ACL was created. CreatedAt pulumi.StringInput `pulumi:"createdAt"` // Whether the secret is accessible project wide. ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"` // The date the secret ACL was last updated. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the secret, when // `projectAccess` is set to `false`. Users pulumi.StringArrayInput `pulumi:"users"` }
func (GetSecretAclReadArgs) ElementType ¶
func (GetSecretAclReadArgs) ElementType() reflect.Type
func (GetSecretAclReadArgs) ToGetSecretAclReadOutput ¶
func (i GetSecretAclReadArgs) ToGetSecretAclReadOutput() GetSecretAclReadOutput
func (GetSecretAclReadArgs) ToGetSecretAclReadOutputWithContext ¶
func (i GetSecretAclReadArgs) ToGetSecretAclReadOutputWithContext(ctx context.Context) GetSecretAclReadOutput
type GetSecretAclReadInput ¶
type GetSecretAclReadInput interface { pulumi.Input ToGetSecretAclReadOutput() GetSecretAclReadOutput ToGetSecretAclReadOutputWithContext(context.Context) GetSecretAclReadOutput }
GetSecretAclReadInput is an input type that accepts GetSecretAclReadArgs and GetSecretAclReadOutput values. You can construct a concrete instance of `GetSecretAclReadInput` via:
GetSecretAclReadArgs{...}
type GetSecretAclReadOutput ¶
type GetSecretAclReadOutput struct{ *pulumi.OutputState }
func (GetSecretAclReadOutput) CreatedAt ¶
func (o GetSecretAclReadOutput) CreatedAt() pulumi.StringOutput
The date the secret ACL was created.
func (GetSecretAclReadOutput) ElementType ¶
func (GetSecretAclReadOutput) ElementType() reflect.Type
func (GetSecretAclReadOutput) ProjectAccess ¶
func (o GetSecretAclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the secret is accessible project wide.
func (GetSecretAclReadOutput) ToGetSecretAclReadOutput ¶
func (o GetSecretAclReadOutput) ToGetSecretAclReadOutput() GetSecretAclReadOutput
func (GetSecretAclReadOutput) ToGetSecretAclReadOutputWithContext ¶
func (o GetSecretAclReadOutput) ToGetSecretAclReadOutputWithContext(ctx context.Context) GetSecretAclReadOutput
func (GetSecretAclReadOutput) UpdatedAt ¶
func (o GetSecretAclReadOutput) UpdatedAt() pulumi.StringOutput
The date the secret ACL was last updated.
func (GetSecretAclReadOutput) Users ¶
func (o GetSecretAclReadOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.
type GetSecretArgs ¶
type GetSecretArgs struct { // Select the Secret with an ACL that contains the user. // Project scope is ignored. Defaults to `false`. AclOnly *bool `pulumi:"aclOnly"` // The Secret algorithm. Algorithm *string `pulumi:"algorithm"` // The Secret bit length. BitLength *int `pulumi:"bitLength"` // Date filter to select the Secret with // created matching the specified criteria. See Date Filters below for more // detail. CreatedAtFilter *string `pulumi:"createdAtFilter"` // Date filter to select the Secret with // expiration matching the specified criteria. See Date Filters below for more // detail. ExpirationFilter *string `pulumi:"expirationFilter"` // The Secret mode. Mode *string `pulumi:"mode"` // The Secret name. Name *string `pulumi:"name"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to fetch a secret. If omitted, the `region` // argument of the provider is used. Region *string `pulumi:"region"` // The Secret type. For more information see // [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html). SecretType *string `pulumi:"secretType"` // Date filter to select the Secret with // updated matching the specified criteria. See Date Filters below for more // detail. UpdatedAtFilter *string `pulumi:"updatedAtFilter"` }
A collection of arguments for invoking getSecret.
type GetSecretOutputArgs ¶
type GetSecretOutputArgs struct { // Select the Secret with an ACL that contains the user. // Project scope is ignored. Defaults to `false`. AclOnly pulumi.BoolPtrInput `pulumi:"aclOnly"` // The Secret algorithm. Algorithm pulumi.StringPtrInput `pulumi:"algorithm"` // The Secret bit length. BitLength pulumi.IntPtrInput `pulumi:"bitLength"` // Date filter to select the Secret with // created matching the specified criteria. See Date Filters below for more // detail. CreatedAtFilter pulumi.StringPtrInput `pulumi:"createdAtFilter"` // Date filter to select the Secret with // expiration matching the specified criteria. See Date Filters below for more // detail. ExpirationFilter pulumi.StringPtrInput `pulumi:"expirationFilter"` // The Secret mode. Mode pulumi.StringPtrInput `pulumi:"mode"` // The Secret name. Name pulumi.StringPtrInput `pulumi:"name"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to fetch a secret. If omitted, the `region` // argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` // The Secret type. For more information see // [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html). SecretType pulumi.StringPtrInput `pulumi:"secretType"` // Date filter to select the Secret with // updated matching the specified criteria. See Date Filters below for more // detail. UpdatedAtFilter pulumi.StringPtrInput `pulumi:"updatedAtFilter"` }
A collection of arguments for invoking getSecret.
func (GetSecretOutputArgs) ElementType ¶
func (GetSecretOutputArgs) ElementType() reflect.Type
type GetSecretResult ¶
type GetSecretResult struct { // See Argument Reference above. AclOnly *bool `pulumi:"aclOnly"` // The list of ACLs assigned to a secret. The `read` structure is described below. Acls []GetSecretAcl `pulumi:"acls"` // See Argument Reference above. Algorithm *string `pulumi:"algorithm"` // See Argument Reference above. BitLength *int `pulumi:"bitLength"` // The map of the content types, assigned on the secret. ContentTypes map[string]string `pulumi:"contentTypes"` // The date the secret ACL was created. CreatedAt string `pulumi:"createdAt"` // See Argument Reference above. CreatedAtFilter *string `pulumi:"createdAtFilter"` // The creator of the secret. CreatorId string `pulumi:"creatorId"` // The date the secret will expire. Expiration string `pulumi:"expiration"` // See Argument Reference above. ExpirationFilter *string `pulumi:"expirationFilter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The map of metadata, assigned on the secret, which has been // explicitly and implicitly added. Metadata map[string]string `pulumi:"metadata"` // See Argument Reference above. Mode *string `pulumi:"mode"` // See Argument Reference above. Name *string `pulumi:"name"` // The secret payload. Payload string `pulumi:"payload"` // The Secret encoding. PayloadContentEncoding string `pulumi:"payloadContentEncoding"` // The Secret content type. PayloadContentType string `pulumi:"payloadContentType"` // See Argument Reference above. Region *string `pulumi:"region"` // The secret reference / where to find the secret. SecretRef string `pulumi:"secretRef"` // See Argument Reference above. SecretType *string `pulumi:"secretType"` // The status of the secret. Status string `pulumi:"status"` // The date the secret ACL was last updated. UpdatedAt string `pulumi:"updatedAt"` // See Argument Reference above. UpdatedAtFilter *string `pulumi:"updatedAtFilter"` }
A collection of values returned by getSecret.
func GetSecret ¶
func GetSecret(ctx *pulumi.Context, args *GetSecretArgs, opts ...pulumi.InvokeOption) (*GetSecretResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.GetSecret(ctx, &keymanager.GetSecretArgs{ Mode: pulumi.StringRef("cbc"), SecretType: pulumi.StringRef("passphrase"), }, nil) if err != nil { return err } return nil }) }
```
## Date Filters
The values for the `expirationFilter`, `createdAtFilter`, and `updatedAtFilter` parameters are comma-separated lists of time stamps in RFC3339 format. The time stamps can be prefixed with any of these comparison operators: *gt:* (greater-than), *gte:* (greater-than-or-equal), *lt:* (less-than), *lte:* (less-than-or-equal).
For example, to get a passphrase a Secret with CBC moda, that will expire in January of 2020:
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.GetSecret(ctx, &keymanager.GetSecretArgs{ Mode: pulumi.StringRef("cbc"), SecretType: pulumi.StringRef("passphrase"), ExpirationFilter: pulumi.StringRef("gt:2020-01-01T00:00:00Z"), }, nil) if err != nil { return err } return nil }) }
```
type GetSecretResultOutput ¶
type GetSecretResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecret.
func GetSecretOutput ¶
func GetSecretOutput(ctx *pulumi.Context, args GetSecretOutputArgs, opts ...pulumi.InvokeOption) GetSecretResultOutput
func (GetSecretResultOutput) AclOnly ¶
func (o GetSecretResultOutput) AclOnly() pulumi.BoolPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) Acls ¶
func (o GetSecretResultOutput) Acls() GetSecretAclArrayOutput
The list of ACLs assigned to a secret. The `read` structure is described below.
func (GetSecretResultOutput) Algorithm ¶
func (o GetSecretResultOutput) Algorithm() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) BitLength ¶
func (o GetSecretResultOutput) BitLength() pulumi.IntPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) ContentTypes ¶
func (o GetSecretResultOutput) ContentTypes() pulumi.StringMapOutput
The map of the content types, assigned on the secret.
func (GetSecretResultOutput) CreatedAt ¶
func (o GetSecretResultOutput) CreatedAt() pulumi.StringOutput
The date the secret ACL was created.
func (GetSecretResultOutput) CreatedAtFilter ¶
func (o GetSecretResultOutput) CreatedAtFilter() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) CreatorId ¶
func (o GetSecretResultOutput) CreatorId() pulumi.StringOutput
The creator of the secret.
func (GetSecretResultOutput) ElementType ¶
func (GetSecretResultOutput) ElementType() reflect.Type
func (GetSecretResultOutput) Expiration ¶
func (o GetSecretResultOutput) Expiration() pulumi.StringOutput
The date the secret will expire.
func (GetSecretResultOutput) ExpirationFilter ¶
func (o GetSecretResultOutput) ExpirationFilter() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) Id ¶
func (o GetSecretResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretResultOutput) Metadata ¶
func (o GetSecretResultOutput) Metadata() pulumi.StringMapOutput
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
func (GetSecretResultOutput) Mode ¶
func (o GetSecretResultOutput) Mode() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) Name ¶
func (o GetSecretResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) Payload ¶
func (o GetSecretResultOutput) Payload() pulumi.StringOutput
The secret payload.
func (GetSecretResultOutput) PayloadContentEncoding ¶
func (o GetSecretResultOutput) PayloadContentEncoding() pulumi.StringOutput
The Secret encoding.
func (GetSecretResultOutput) PayloadContentType ¶
func (o GetSecretResultOutput) PayloadContentType() pulumi.StringOutput
The Secret content type.
func (GetSecretResultOutput) Region ¶
func (o GetSecretResultOutput) Region() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) SecretRef ¶
func (o GetSecretResultOutput) SecretRef() pulumi.StringOutput
The secret reference / where to find the secret.
func (GetSecretResultOutput) SecretType ¶
func (o GetSecretResultOutput) SecretType() pulumi.StringPtrOutput
See Argument Reference above.
func (GetSecretResultOutput) Status ¶
func (o GetSecretResultOutput) Status() pulumi.StringOutput
The status of the secret.
func (GetSecretResultOutput) ToGetSecretResultOutput ¶
func (o GetSecretResultOutput) ToGetSecretResultOutput() GetSecretResultOutput
func (GetSecretResultOutput) ToGetSecretResultOutputWithContext ¶
func (o GetSecretResultOutput) ToGetSecretResultOutputWithContext(ctx context.Context) GetSecretResultOutput
func (GetSecretResultOutput) UpdatedAt ¶
func (o GetSecretResultOutput) UpdatedAt() pulumi.StringOutput
The date the secret ACL was last updated.
func (GetSecretResultOutput) UpdatedAtFilter ¶
func (o GetSecretResultOutput) UpdatedAtFilter() pulumi.StringPtrOutput
See Argument Reference above.
type OrderV1 ¶
type OrderV1 struct { pulumi.CustomResourceState // The container reference / where to find the container. ContainerRef pulumi.StringOutput `pulumi:"containerRef"` // The date the order was created. Created pulumi.StringOutput `pulumi:"created"` // The creator of the order. CreatorId pulumi.StringOutput `pulumi:"creatorId"` // Dictionary containing the order metadata used to generate the order. The structure is described below. Meta OrderV1MetaOutput `pulumi:"meta"` // The order reference / where to find the order. OrderRef pulumi.StringOutput `pulumi:"orderRef"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a order. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 order. Region pulumi.StringOutput `pulumi:"region"` // The secret reference / where to find the secret. SecretRef pulumi.StringOutput `pulumi:"secretRef"` // The status of the order. Status pulumi.StringOutput `pulumi:"status"` // The sub status of the order. SubStatus pulumi.StringOutput `pulumi:"subStatus"` // The sub status message of the order. SubStatusMessage pulumi.StringOutput `pulumi:"subStatusMessage"` // The type of key to be generated. Must be one of `asymmetric`, `key`. Type pulumi.StringOutput `pulumi:"type"` // The date the order was last updated. Updated pulumi.StringOutput `pulumi:"updated"` }
Manages a V1 Barbican order resource within OpenStack.
## Example Usage
### Symmetric key order
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.NewOrderV1(ctx, "order_1", &keymanager.OrderV1Args{ Type: pulumi.String("key"), Meta: &keymanager.OrderV1MetaArgs{ Algorithm: pulumi.String("aes"), BitLength: pulumi.Int(256), Name: pulumi.String("mysecret"), Mode: pulumi.String("cbc"), }, }) if err != nil { return err } return nil }) }
```
### Asymmetric key pair order
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.NewOrderV1(ctx, "order_1", &keymanager.OrderV1Args{ Type: pulumi.String("asymmetric"), Meta: &keymanager.OrderV1MetaArgs{ Algorithm: pulumi.String("rsa"), BitLength: pulumi.Int(4096), Name: pulumi.String("mysecret"), }, }) if err != nil { return err } return nil }) }
```
## Import
Orders can be imported using the order id (the last part of the order reference), e.g.:
```sh $ pulumi import openstack:keymanager/orderV1:OrderV1 order_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953 ```
func GetOrderV1 ¶
func GetOrderV1(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrderV1State, opts ...pulumi.ResourceOption) (*OrderV1, error)
GetOrderV1 gets an existing OrderV1 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 NewOrderV1 ¶
func NewOrderV1(ctx *pulumi.Context, name string, args *OrderV1Args, opts ...pulumi.ResourceOption) (*OrderV1, error)
NewOrderV1 registers a new resource with the given unique name, arguments, and options.
func (*OrderV1) ElementType ¶
func (*OrderV1) ToOrderV1Output ¶
func (i *OrderV1) ToOrderV1Output() OrderV1Output
func (*OrderV1) ToOrderV1OutputWithContext ¶
func (i *OrderV1) ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output
type OrderV1Args ¶
type OrderV1Args struct { // Dictionary containing the order metadata used to generate the order. The structure is described below. Meta OrderV1MetaInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a order. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 order. Region pulumi.StringPtrInput // The type of key to be generated. Must be one of `asymmetric`, `key`. Type pulumi.StringInput }
The set of arguments for constructing a OrderV1 resource.
func (OrderV1Args) ElementType ¶
func (OrderV1Args) ElementType() reflect.Type
type OrderV1Array ¶
type OrderV1Array []OrderV1Input
func (OrderV1Array) ElementType ¶
func (OrderV1Array) ElementType() reflect.Type
func (OrderV1Array) ToOrderV1ArrayOutput ¶
func (i OrderV1Array) ToOrderV1ArrayOutput() OrderV1ArrayOutput
func (OrderV1Array) ToOrderV1ArrayOutputWithContext ¶
func (i OrderV1Array) ToOrderV1ArrayOutputWithContext(ctx context.Context) OrderV1ArrayOutput
type OrderV1ArrayInput ¶
type OrderV1ArrayInput interface { pulumi.Input ToOrderV1ArrayOutput() OrderV1ArrayOutput ToOrderV1ArrayOutputWithContext(context.Context) OrderV1ArrayOutput }
OrderV1ArrayInput is an input type that accepts OrderV1Array and OrderV1ArrayOutput values. You can construct a concrete instance of `OrderV1ArrayInput` via:
OrderV1Array{ OrderV1Args{...} }
type OrderV1ArrayOutput ¶
type OrderV1ArrayOutput struct{ *pulumi.OutputState }
func (OrderV1ArrayOutput) ElementType ¶
func (OrderV1ArrayOutput) ElementType() reflect.Type
func (OrderV1ArrayOutput) Index ¶
func (o OrderV1ArrayOutput) Index(i pulumi.IntInput) OrderV1Output
func (OrderV1ArrayOutput) ToOrderV1ArrayOutput ¶
func (o OrderV1ArrayOutput) ToOrderV1ArrayOutput() OrderV1ArrayOutput
func (OrderV1ArrayOutput) ToOrderV1ArrayOutputWithContext ¶
func (o OrderV1ArrayOutput) ToOrderV1ArrayOutputWithContext(ctx context.Context) OrderV1ArrayOutput
type OrderV1Input ¶
type OrderV1Input interface { pulumi.Input ToOrderV1Output() OrderV1Output ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output }
type OrderV1Map ¶
type OrderV1Map map[string]OrderV1Input
func (OrderV1Map) ElementType ¶
func (OrderV1Map) ElementType() reflect.Type
func (OrderV1Map) ToOrderV1MapOutput ¶
func (i OrderV1Map) ToOrderV1MapOutput() OrderV1MapOutput
func (OrderV1Map) ToOrderV1MapOutputWithContext ¶
func (i OrderV1Map) ToOrderV1MapOutputWithContext(ctx context.Context) OrderV1MapOutput
type OrderV1MapInput ¶
type OrderV1MapInput interface { pulumi.Input ToOrderV1MapOutput() OrderV1MapOutput ToOrderV1MapOutputWithContext(context.Context) OrderV1MapOutput }
OrderV1MapInput is an input type that accepts OrderV1Map and OrderV1MapOutput values. You can construct a concrete instance of `OrderV1MapInput` via:
OrderV1Map{ "key": OrderV1Args{...} }
type OrderV1MapOutput ¶
type OrderV1MapOutput struct{ *pulumi.OutputState }
func (OrderV1MapOutput) ElementType ¶
func (OrderV1MapOutput) ElementType() reflect.Type
func (OrderV1MapOutput) MapIndex ¶
func (o OrderV1MapOutput) MapIndex(k pulumi.StringInput) OrderV1Output
func (OrderV1MapOutput) ToOrderV1MapOutput ¶
func (o OrderV1MapOutput) ToOrderV1MapOutput() OrderV1MapOutput
func (OrderV1MapOutput) ToOrderV1MapOutputWithContext ¶
func (o OrderV1MapOutput) ToOrderV1MapOutputWithContext(ctx context.Context) OrderV1MapOutput
type OrderV1Meta ¶
type OrderV1Meta struct { // Algorithm to use for key generation. Algorithm string `pulumi:"algorithm"` // Bit lenght of key to be generated. BitLength int `pulumi:"bitLength"` // This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time. Expiration *string `pulumi:"expiration"` // The mode to use for key generation. Mode *string `pulumi:"mode"` // The name of the secret set by the user. Name *string `pulumi:"name"` // The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`. PayloadContentType *string `pulumi:"payloadContentType"` }
type OrderV1MetaArgs ¶
type OrderV1MetaArgs struct { // Algorithm to use for key generation. Algorithm pulumi.StringInput `pulumi:"algorithm"` // Bit lenght of key to be generated. BitLength pulumi.IntInput `pulumi:"bitLength"` // This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time. Expiration pulumi.StringPtrInput `pulumi:"expiration"` // The mode to use for key generation. Mode pulumi.StringPtrInput `pulumi:"mode"` // The name of the secret set by the user. Name pulumi.StringPtrInput `pulumi:"name"` // The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`. PayloadContentType pulumi.StringPtrInput `pulumi:"payloadContentType"` }
func (OrderV1MetaArgs) ElementType ¶
func (OrderV1MetaArgs) ElementType() reflect.Type
func (OrderV1MetaArgs) ToOrderV1MetaOutput ¶
func (i OrderV1MetaArgs) ToOrderV1MetaOutput() OrderV1MetaOutput
func (OrderV1MetaArgs) ToOrderV1MetaOutputWithContext ¶
func (i OrderV1MetaArgs) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput
func (OrderV1MetaArgs) ToOrderV1MetaPtrOutput ¶
func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
func (OrderV1MetaArgs) ToOrderV1MetaPtrOutputWithContext ¶
func (i OrderV1MetaArgs) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
type OrderV1MetaInput ¶
type OrderV1MetaInput interface { pulumi.Input ToOrderV1MetaOutput() OrderV1MetaOutput ToOrderV1MetaOutputWithContext(context.Context) OrderV1MetaOutput }
OrderV1MetaInput is an input type that accepts OrderV1MetaArgs and OrderV1MetaOutput values. You can construct a concrete instance of `OrderV1MetaInput` via:
OrderV1MetaArgs{...}
type OrderV1MetaOutput ¶
type OrderV1MetaOutput struct{ *pulumi.OutputState }
func (OrderV1MetaOutput) Algorithm ¶
func (o OrderV1MetaOutput) Algorithm() pulumi.StringOutput
Algorithm to use for key generation.
func (OrderV1MetaOutput) BitLength ¶
func (o OrderV1MetaOutput) BitLength() pulumi.IntOutput
Bit lenght of key to be generated.
func (OrderV1MetaOutput) ElementType ¶
func (OrderV1MetaOutput) ElementType() reflect.Type
func (OrderV1MetaOutput) Expiration ¶
func (o OrderV1MetaOutput) Expiration() pulumi.StringPtrOutput
This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.
func (OrderV1MetaOutput) Mode ¶
func (o OrderV1MetaOutput) Mode() pulumi.StringPtrOutput
The mode to use for key generation.
func (OrderV1MetaOutput) Name ¶
func (o OrderV1MetaOutput) Name() pulumi.StringPtrOutput
The name of the secret set by the user.
func (OrderV1MetaOutput) PayloadContentType ¶
func (o OrderV1MetaOutput) PayloadContentType() pulumi.StringPtrOutput
The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
func (OrderV1MetaOutput) ToOrderV1MetaOutput ¶
func (o OrderV1MetaOutput) ToOrderV1MetaOutput() OrderV1MetaOutput
func (OrderV1MetaOutput) ToOrderV1MetaOutputWithContext ¶
func (o OrderV1MetaOutput) ToOrderV1MetaOutputWithContext(ctx context.Context) OrderV1MetaOutput
func (OrderV1MetaOutput) ToOrderV1MetaPtrOutput ¶
func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
func (OrderV1MetaOutput) ToOrderV1MetaPtrOutputWithContext ¶
func (o OrderV1MetaOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
type OrderV1MetaPtrInput ¶
type OrderV1MetaPtrInput interface { pulumi.Input ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput ToOrderV1MetaPtrOutputWithContext(context.Context) OrderV1MetaPtrOutput }
OrderV1MetaPtrInput is an input type that accepts OrderV1MetaArgs, OrderV1MetaPtr and OrderV1MetaPtrOutput values. You can construct a concrete instance of `OrderV1MetaPtrInput` via:
OrderV1MetaArgs{...} or: nil
func OrderV1MetaPtr ¶
func OrderV1MetaPtr(v *OrderV1MetaArgs) OrderV1MetaPtrInput
type OrderV1MetaPtrOutput ¶
type OrderV1MetaPtrOutput struct{ *pulumi.OutputState }
func (OrderV1MetaPtrOutput) Algorithm ¶
func (o OrderV1MetaPtrOutput) Algorithm() pulumi.StringPtrOutput
Algorithm to use for key generation.
func (OrderV1MetaPtrOutput) BitLength ¶
func (o OrderV1MetaPtrOutput) BitLength() pulumi.IntPtrOutput
Bit lenght of key to be generated.
func (OrderV1MetaPtrOutput) Elem ¶
func (o OrderV1MetaPtrOutput) Elem() OrderV1MetaOutput
func (OrderV1MetaPtrOutput) ElementType ¶
func (OrderV1MetaPtrOutput) ElementType() reflect.Type
func (OrderV1MetaPtrOutput) Expiration ¶
func (o OrderV1MetaPtrOutput) Expiration() pulumi.StringPtrOutput
This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.
func (OrderV1MetaPtrOutput) Mode ¶
func (o OrderV1MetaPtrOutput) Mode() pulumi.StringPtrOutput
The mode to use for key generation.
func (OrderV1MetaPtrOutput) Name ¶
func (o OrderV1MetaPtrOutput) Name() pulumi.StringPtrOutput
The name of the secret set by the user.
func (OrderV1MetaPtrOutput) PayloadContentType ¶
func (o OrderV1MetaPtrOutput) PayloadContentType() pulumi.StringPtrOutput
The media type for the content of the secrets payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
func (OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutput ¶
func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutput() OrderV1MetaPtrOutput
func (OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutputWithContext ¶
func (o OrderV1MetaPtrOutput) ToOrderV1MetaPtrOutputWithContext(ctx context.Context) OrderV1MetaPtrOutput
type OrderV1Output ¶
type OrderV1Output struct{ *pulumi.OutputState }
func (OrderV1Output) ContainerRef ¶
func (o OrderV1Output) ContainerRef() pulumi.StringOutput
The container reference / where to find the container.
func (OrderV1Output) Created ¶
func (o OrderV1Output) Created() pulumi.StringOutput
The date the order was created.
func (OrderV1Output) CreatorId ¶
func (o OrderV1Output) CreatorId() pulumi.StringOutput
The creator of the order.
func (OrderV1Output) ElementType ¶
func (OrderV1Output) ElementType() reflect.Type
func (OrderV1Output) Meta ¶
func (o OrderV1Output) Meta() OrderV1MetaOutput
Dictionary containing the order metadata used to generate the order. The structure is described below.
func (OrderV1Output) OrderRef ¶
func (o OrderV1Output) OrderRef() pulumi.StringOutput
The order reference / where to find the order.
func (OrderV1Output) Region ¶
func (o OrderV1Output) Region() pulumi.StringOutput
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 order.
func (OrderV1Output) SecretRef ¶
func (o OrderV1Output) SecretRef() pulumi.StringOutput
The secret reference / where to find the secret.
func (OrderV1Output) Status ¶
func (o OrderV1Output) Status() pulumi.StringOutput
The status of the order.
func (OrderV1Output) SubStatus ¶
func (o OrderV1Output) SubStatus() pulumi.StringOutput
The sub status of the order.
func (OrderV1Output) SubStatusMessage ¶
func (o OrderV1Output) SubStatusMessage() pulumi.StringOutput
The sub status message of the order.
func (OrderV1Output) ToOrderV1Output ¶
func (o OrderV1Output) ToOrderV1Output() OrderV1Output
func (OrderV1Output) ToOrderV1OutputWithContext ¶
func (o OrderV1Output) ToOrderV1OutputWithContext(ctx context.Context) OrderV1Output
func (OrderV1Output) Type ¶
func (o OrderV1Output) Type() pulumi.StringOutput
The type of key to be generated. Must be one of `asymmetric`, `key`.
func (OrderV1Output) Updated ¶
func (o OrderV1Output) Updated() pulumi.StringOutput
The date the order was last updated.
type OrderV1State ¶
type OrderV1State struct { // The container reference / where to find the container. ContainerRef pulumi.StringPtrInput // The date the order was created. Created pulumi.StringPtrInput // The creator of the order. CreatorId pulumi.StringPtrInput // Dictionary containing the order metadata used to generate the order. The structure is described below. Meta OrderV1MetaPtrInput // The order reference / where to find the order. OrderRef pulumi.StringPtrInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a order. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 order. Region pulumi.StringPtrInput // The secret reference / where to find the secret. SecretRef pulumi.StringPtrInput // The status of the order. Status pulumi.StringPtrInput // The sub status of the order. SubStatus pulumi.StringPtrInput // The sub status message of the order. SubStatusMessage pulumi.StringPtrInput // The type of key to be generated. Must be one of `asymmetric`, `key`. Type pulumi.StringPtrInput // The date the order was last updated. Updated pulumi.StringPtrInput }
func (OrderV1State) ElementType ¶
func (OrderV1State) ElementType() reflect.Type
type SecretV1 ¶
type SecretV1 struct { pulumi.CustomResourceState // Allows to control an access to a secret. Currently only the // `read` operation is supported. If not specified, the secret is accessible // project wide. Acl SecretV1AclOutput `pulumi:"acl"` // Metadata provided by a user or system for informational purposes. Algorithm pulumi.StringOutput `pulumi:"algorithm"` // The map of metadata, assigned on the secret, which has been // explicitly and implicitly added. AllMetadata pulumi.StringMapOutput `pulumi:"allMetadata"` // Metadata provided by a user or system for informational purposes. BitLength pulumi.IntOutput `pulumi:"bitLength"` // The map of the content types, assigned on the secret. ContentTypes pulumi.StringMapOutput `pulumi:"contentTypes"` // The date the secret was created. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The creator of the secret. CreatorId pulumi.StringOutput `pulumi:"creatorId"` // The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret. Expiration pulumi.StringPtrOutput `pulumi:"expiration"` // Additional Metadata for the secret. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // Metadata provided by a user or system for informational purposes. Mode pulumi.StringOutput `pulumi:"mode"` // Human-readable name for the Secret. Does not have // to be unique. Name pulumi.StringOutput `pulumi:"name"` // The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included. Payload pulumi.StringPtrOutput `pulumi:"payload"` // (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`. PayloadContentEncoding pulumi.StringPtrOutput `pulumi:"payloadContentEncoding"` // (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`. PayloadContentType pulumi.StringPtrOutput `pulumi:"payloadContentType"` // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a secret. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 secret. Region pulumi.StringOutput `pulumi:"region"` // The secret reference / where to find the secret. SecretRef pulumi.StringOutput `pulumi:"secretRef"` // Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html). SecretType pulumi.StringOutput `pulumi:"secretType"` // The status of the secret. Status pulumi.StringOutput `pulumi:"status"` // The date the secret was last updated. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage
### Simple secret
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := keymanager.NewSecretV1(ctx, "secret_1", &keymanager.SecretV1Args{ Algorithm: pulumi.String("aes"), BitLength: pulumi.Int(256), Mode: pulumi.String("cbc"), Name: pulumi.String("mysecret"), Payload: pulumi.String("foobar"), PayloadContentType: pulumi.String("text/plain"), SecretType: pulumi.String("passphrase"), Metadata: pulumi.StringMap{ "key": pulumi.String("foo"), }, }) if err != nil { return err } return nil }) }
```
### Secret with whitespaces
> **Note** If you want to store payload with leading or trailing whitespaces, it's recommended to store it in a base64 encoding. Plain text payload can also work, but further addind or removing of the leading or trailing whitespaces won't be detected as a state change, e.g. changing plain text payload from ` password ` to `password` won't recreate the secret.
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { invokeBase64encode, err := std.Base64encode(ctx, &std.Base64encodeArgs{ Input: "password with the whitespace at the end ", }, nil) if err != nil { return err } _, err = keymanager.NewSecretV1(ctx, "secret_1", &keymanager.SecretV1Args{ Name: pulumi.String("password"), Payload: pulumi.String(invokeBase64encode.Result), SecretType: pulumi.String("passphrase"), PayloadContentType: pulumi.String("application/octet-stream"), PayloadContentEncoding: pulumi.String("base64"), }) if err != nil { return err } return nil }) }
```
### Secret with the ACL
> **Note** Only read ACLs are supported
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/keymanager" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "certificate.pem", }, nil) if err != nil { return err } _, err = keymanager.NewSecretV1(ctx, "secret_1", &keymanager.SecretV1Args{ Name: pulumi.String("certificate"), Payload: pulumi.String(invokeFile.Result), SecretType: pulumi.String("certificate"), PayloadContentType: pulumi.String("text/plain"), Acl: &keymanager.SecretV1AclArgs{ Read: &keymanager.SecretV1AclReadArgs{ ProjectAccess: pulumi.Bool(false), Users: pulumi.StringArray{ pulumi.String("userid1"), pulumi.String("userid2"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Secrets can be imported using the secret id (the last part of the secret reference), e.g.:
```sh $ pulumi import openstack:keymanager/secretV1:SecretV1 secret_1 8a7a79c2-cf17-4e65-b2ae-ddc8bfcf6c74 ```
func GetSecretV1 ¶
func GetSecretV1(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretV1State, opts ...pulumi.ResourceOption) (*SecretV1, error)
GetSecretV1 gets an existing SecretV1 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 NewSecretV1 ¶
func NewSecretV1(ctx *pulumi.Context, name string, args *SecretV1Args, opts ...pulumi.ResourceOption) (*SecretV1, error)
NewSecretV1 registers a new resource with the given unique name, arguments, and options.
func (*SecretV1) ElementType ¶
func (*SecretV1) ToSecretV1Output ¶
func (i *SecretV1) ToSecretV1Output() SecretV1Output
func (*SecretV1) ToSecretV1OutputWithContext ¶
func (i *SecretV1) ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output
type SecretV1Acl ¶
type SecretV1Acl struct {
Read *SecretV1AclRead `pulumi:"read"`
}
type SecretV1AclArgs ¶
type SecretV1AclArgs struct {
Read SecretV1AclReadPtrInput `pulumi:"read"`
}
func (SecretV1AclArgs) ElementType ¶
func (SecretV1AclArgs) ElementType() reflect.Type
func (SecretV1AclArgs) ToSecretV1AclOutput ¶
func (i SecretV1AclArgs) ToSecretV1AclOutput() SecretV1AclOutput
func (SecretV1AclArgs) ToSecretV1AclOutputWithContext ¶
func (i SecretV1AclArgs) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput
func (SecretV1AclArgs) ToSecretV1AclPtrOutput ¶
func (i SecretV1AclArgs) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
func (SecretV1AclArgs) ToSecretV1AclPtrOutputWithContext ¶
func (i SecretV1AclArgs) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
type SecretV1AclInput ¶
type SecretV1AclInput interface { pulumi.Input ToSecretV1AclOutput() SecretV1AclOutput ToSecretV1AclOutputWithContext(context.Context) SecretV1AclOutput }
SecretV1AclInput is an input type that accepts SecretV1AclArgs and SecretV1AclOutput values. You can construct a concrete instance of `SecretV1AclInput` via:
SecretV1AclArgs{...}
type SecretV1AclOutput ¶
type SecretV1AclOutput struct{ *pulumi.OutputState }
func (SecretV1AclOutput) ElementType ¶
func (SecretV1AclOutput) ElementType() reflect.Type
func (SecretV1AclOutput) Read ¶
func (o SecretV1AclOutput) Read() SecretV1AclReadPtrOutput
func (SecretV1AclOutput) ToSecretV1AclOutput ¶
func (o SecretV1AclOutput) ToSecretV1AclOutput() SecretV1AclOutput
func (SecretV1AclOutput) ToSecretV1AclOutputWithContext ¶
func (o SecretV1AclOutput) ToSecretV1AclOutputWithContext(ctx context.Context) SecretV1AclOutput
func (SecretV1AclOutput) ToSecretV1AclPtrOutput ¶
func (o SecretV1AclOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
func (SecretV1AclOutput) ToSecretV1AclPtrOutputWithContext ¶
func (o SecretV1AclOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
type SecretV1AclPtrInput ¶
type SecretV1AclPtrInput interface { pulumi.Input ToSecretV1AclPtrOutput() SecretV1AclPtrOutput ToSecretV1AclPtrOutputWithContext(context.Context) SecretV1AclPtrOutput }
SecretV1AclPtrInput is an input type that accepts SecretV1AclArgs, SecretV1AclPtr and SecretV1AclPtrOutput values. You can construct a concrete instance of `SecretV1AclPtrInput` via:
SecretV1AclArgs{...} or: nil
func SecretV1AclPtr ¶
func SecretV1AclPtr(v *SecretV1AclArgs) SecretV1AclPtrInput
type SecretV1AclPtrOutput ¶
type SecretV1AclPtrOutput struct{ *pulumi.OutputState }
func (SecretV1AclPtrOutput) Elem ¶
func (o SecretV1AclPtrOutput) Elem() SecretV1AclOutput
func (SecretV1AclPtrOutput) ElementType ¶
func (SecretV1AclPtrOutput) ElementType() reflect.Type
func (SecretV1AclPtrOutput) Read ¶
func (o SecretV1AclPtrOutput) Read() SecretV1AclReadPtrOutput
func (SecretV1AclPtrOutput) ToSecretV1AclPtrOutput ¶
func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutput() SecretV1AclPtrOutput
func (SecretV1AclPtrOutput) ToSecretV1AclPtrOutputWithContext ¶
func (o SecretV1AclPtrOutput) ToSecretV1AclPtrOutputWithContext(ctx context.Context) SecretV1AclPtrOutput
type SecretV1AclRead ¶
type SecretV1AclRead struct { // The date the secret was created. CreatedAt *string `pulumi:"createdAt"` // Whether the secret is accessible project wide. // Defaults to `true`. ProjectAccess *bool `pulumi:"projectAccess"` // The date the secret was last updated. UpdatedAt *string `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the // secret, when `projectAccess` is set to `false`. Users []string `pulumi:"users"` }
type SecretV1AclReadArgs ¶
type SecretV1AclReadArgs struct { // The date the secret was created. CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"` // Whether the secret is accessible project wide. // Defaults to `true`. ProjectAccess pulumi.BoolPtrInput `pulumi:"projectAccess"` // The date the secret was last updated. UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` // The list of user IDs, which are allowed to access the // secret, when `projectAccess` is set to `false`. Users pulumi.StringArrayInput `pulumi:"users"` }
func (SecretV1AclReadArgs) ElementType ¶
func (SecretV1AclReadArgs) ElementType() reflect.Type
func (SecretV1AclReadArgs) ToSecretV1AclReadOutput ¶
func (i SecretV1AclReadArgs) ToSecretV1AclReadOutput() SecretV1AclReadOutput
func (SecretV1AclReadArgs) ToSecretV1AclReadOutputWithContext ¶
func (i SecretV1AclReadArgs) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput
func (SecretV1AclReadArgs) ToSecretV1AclReadPtrOutput ¶
func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
func (SecretV1AclReadArgs) ToSecretV1AclReadPtrOutputWithContext ¶
func (i SecretV1AclReadArgs) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
type SecretV1AclReadInput ¶
type SecretV1AclReadInput interface { pulumi.Input ToSecretV1AclReadOutput() SecretV1AclReadOutput ToSecretV1AclReadOutputWithContext(context.Context) SecretV1AclReadOutput }
SecretV1AclReadInput is an input type that accepts SecretV1AclReadArgs and SecretV1AclReadOutput values. You can construct a concrete instance of `SecretV1AclReadInput` via:
SecretV1AclReadArgs{...}
type SecretV1AclReadOutput ¶
type SecretV1AclReadOutput struct{ *pulumi.OutputState }
func (SecretV1AclReadOutput) CreatedAt ¶
func (o SecretV1AclReadOutput) CreatedAt() pulumi.StringPtrOutput
The date the secret was created.
func (SecretV1AclReadOutput) ElementType ¶
func (SecretV1AclReadOutput) ElementType() reflect.Type
func (SecretV1AclReadOutput) ProjectAccess ¶
func (o SecretV1AclReadOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the secret is accessible project wide. Defaults to `true`.
func (SecretV1AclReadOutput) ToSecretV1AclReadOutput ¶
func (o SecretV1AclReadOutput) ToSecretV1AclReadOutput() SecretV1AclReadOutput
func (SecretV1AclReadOutput) ToSecretV1AclReadOutputWithContext ¶
func (o SecretV1AclReadOutput) ToSecretV1AclReadOutputWithContext(ctx context.Context) SecretV1AclReadOutput
func (SecretV1AclReadOutput) ToSecretV1AclReadPtrOutput ¶
func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
func (SecretV1AclReadOutput) ToSecretV1AclReadPtrOutputWithContext ¶
func (o SecretV1AclReadOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
func (SecretV1AclReadOutput) UpdatedAt ¶
func (o SecretV1AclReadOutput) UpdatedAt() pulumi.StringPtrOutput
The date the secret was last updated.
func (SecretV1AclReadOutput) Users ¶
func (o SecretV1AclReadOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.
type SecretV1AclReadPtrInput ¶
type SecretV1AclReadPtrInput interface { pulumi.Input ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput ToSecretV1AclReadPtrOutputWithContext(context.Context) SecretV1AclReadPtrOutput }
SecretV1AclReadPtrInput is an input type that accepts SecretV1AclReadArgs, SecretV1AclReadPtr and SecretV1AclReadPtrOutput values. You can construct a concrete instance of `SecretV1AclReadPtrInput` via:
SecretV1AclReadArgs{...} or: nil
func SecretV1AclReadPtr ¶
func SecretV1AclReadPtr(v *SecretV1AclReadArgs) SecretV1AclReadPtrInput
type SecretV1AclReadPtrOutput ¶
type SecretV1AclReadPtrOutput struct{ *pulumi.OutputState }
func (SecretV1AclReadPtrOutput) CreatedAt ¶
func (o SecretV1AclReadPtrOutput) CreatedAt() pulumi.StringPtrOutput
The date the secret was created.
func (SecretV1AclReadPtrOutput) Elem ¶
func (o SecretV1AclReadPtrOutput) Elem() SecretV1AclReadOutput
func (SecretV1AclReadPtrOutput) ElementType ¶
func (SecretV1AclReadPtrOutput) ElementType() reflect.Type
func (SecretV1AclReadPtrOutput) ProjectAccess ¶
func (o SecretV1AclReadPtrOutput) ProjectAccess() pulumi.BoolPtrOutput
Whether the secret is accessible project wide. Defaults to `true`.
func (SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutput ¶
func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutput() SecretV1AclReadPtrOutput
func (SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutputWithContext ¶
func (o SecretV1AclReadPtrOutput) ToSecretV1AclReadPtrOutputWithContext(ctx context.Context) SecretV1AclReadPtrOutput
func (SecretV1AclReadPtrOutput) UpdatedAt ¶
func (o SecretV1AclReadPtrOutput) UpdatedAt() pulumi.StringPtrOutput
The date the secret was last updated.
func (SecretV1AclReadPtrOutput) Users ¶
func (o SecretV1AclReadPtrOutput) Users() pulumi.StringArrayOutput
The list of user IDs, which are allowed to access the secret, when `projectAccess` is set to `false`.
type SecretV1Args ¶
type SecretV1Args struct { // Allows to control an access to a secret. Currently only the // `read` operation is supported. If not specified, the secret is accessible // project wide. Acl SecretV1AclPtrInput // Metadata provided by a user or system for informational purposes. Algorithm pulumi.StringPtrInput // Metadata provided by a user or system for informational purposes. BitLength pulumi.IntPtrInput // The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret. Expiration pulumi.StringPtrInput // Additional Metadata for the secret. Metadata pulumi.StringMapInput // Metadata provided by a user or system for informational purposes. Mode pulumi.StringPtrInput // Human-readable name for the Secret. Does not have // to be unique. Name pulumi.StringPtrInput // The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included. Payload pulumi.StringPtrInput // (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`. PayloadContentEncoding pulumi.StringPtrInput // (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`. PayloadContentType pulumi.StringPtrInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a secret. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 secret. Region pulumi.StringPtrInput // Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html). SecretType pulumi.StringPtrInput }
The set of arguments for constructing a SecretV1 resource.
func (SecretV1Args) ElementType ¶
func (SecretV1Args) ElementType() reflect.Type
type SecretV1Array ¶
type SecretV1Array []SecretV1Input
func (SecretV1Array) ElementType ¶
func (SecretV1Array) ElementType() reflect.Type
func (SecretV1Array) ToSecretV1ArrayOutput ¶
func (i SecretV1Array) ToSecretV1ArrayOutput() SecretV1ArrayOutput
func (SecretV1Array) ToSecretV1ArrayOutputWithContext ¶
func (i SecretV1Array) ToSecretV1ArrayOutputWithContext(ctx context.Context) SecretV1ArrayOutput
type SecretV1ArrayInput ¶
type SecretV1ArrayInput interface { pulumi.Input ToSecretV1ArrayOutput() SecretV1ArrayOutput ToSecretV1ArrayOutputWithContext(context.Context) SecretV1ArrayOutput }
SecretV1ArrayInput is an input type that accepts SecretV1Array and SecretV1ArrayOutput values. You can construct a concrete instance of `SecretV1ArrayInput` via:
SecretV1Array{ SecretV1Args{...} }
type SecretV1ArrayOutput ¶
type SecretV1ArrayOutput struct{ *pulumi.OutputState }
func (SecretV1ArrayOutput) ElementType ¶
func (SecretV1ArrayOutput) ElementType() reflect.Type
func (SecretV1ArrayOutput) Index ¶
func (o SecretV1ArrayOutput) Index(i pulumi.IntInput) SecretV1Output
func (SecretV1ArrayOutput) ToSecretV1ArrayOutput ¶
func (o SecretV1ArrayOutput) ToSecretV1ArrayOutput() SecretV1ArrayOutput
func (SecretV1ArrayOutput) ToSecretV1ArrayOutputWithContext ¶
func (o SecretV1ArrayOutput) ToSecretV1ArrayOutputWithContext(ctx context.Context) SecretV1ArrayOutput
type SecretV1Input ¶
type SecretV1Input interface { pulumi.Input ToSecretV1Output() SecretV1Output ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output }
type SecretV1Map ¶
type SecretV1Map map[string]SecretV1Input
func (SecretV1Map) ElementType ¶
func (SecretV1Map) ElementType() reflect.Type
func (SecretV1Map) ToSecretV1MapOutput ¶
func (i SecretV1Map) ToSecretV1MapOutput() SecretV1MapOutput
func (SecretV1Map) ToSecretV1MapOutputWithContext ¶
func (i SecretV1Map) ToSecretV1MapOutputWithContext(ctx context.Context) SecretV1MapOutput
type SecretV1MapInput ¶
type SecretV1MapInput interface { pulumi.Input ToSecretV1MapOutput() SecretV1MapOutput ToSecretV1MapOutputWithContext(context.Context) SecretV1MapOutput }
SecretV1MapInput is an input type that accepts SecretV1Map and SecretV1MapOutput values. You can construct a concrete instance of `SecretV1MapInput` via:
SecretV1Map{ "key": SecretV1Args{...} }
type SecretV1MapOutput ¶
type SecretV1MapOutput struct{ *pulumi.OutputState }
func (SecretV1MapOutput) ElementType ¶
func (SecretV1MapOutput) ElementType() reflect.Type
func (SecretV1MapOutput) MapIndex ¶
func (o SecretV1MapOutput) MapIndex(k pulumi.StringInput) SecretV1Output
func (SecretV1MapOutput) ToSecretV1MapOutput ¶
func (o SecretV1MapOutput) ToSecretV1MapOutput() SecretV1MapOutput
func (SecretV1MapOutput) ToSecretV1MapOutputWithContext ¶
func (o SecretV1MapOutput) ToSecretV1MapOutputWithContext(ctx context.Context) SecretV1MapOutput
type SecretV1Output ¶
type SecretV1Output struct{ *pulumi.OutputState }
func (SecretV1Output) Acl ¶
func (o SecretV1Output) Acl() SecretV1AclOutput
Allows to control an access to a secret. Currently only the `read` operation is supported. If not specified, the secret is accessible project wide.
func (SecretV1Output) Algorithm ¶
func (o SecretV1Output) Algorithm() pulumi.StringOutput
Metadata provided by a user or system for informational purposes.
func (SecretV1Output) AllMetadata ¶
func (o SecretV1Output) AllMetadata() pulumi.StringMapOutput
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
func (SecretV1Output) BitLength ¶
func (o SecretV1Output) BitLength() pulumi.IntOutput
Metadata provided by a user or system for informational purposes.
func (SecretV1Output) ContentTypes ¶
func (o SecretV1Output) ContentTypes() pulumi.StringMapOutput
The map of the content types, assigned on the secret.
func (SecretV1Output) CreatedAt ¶
func (o SecretV1Output) CreatedAt() pulumi.StringOutput
The date the secret was created.
func (SecretV1Output) CreatorId ¶
func (o SecretV1Output) CreatorId() pulumi.StringOutput
The creator of the secret.
func (SecretV1Output) ElementType ¶
func (SecretV1Output) ElementType() reflect.Type
func (SecretV1Output) Expiration ¶
func (o SecretV1Output) Expiration() pulumi.StringPtrOutput
The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
func (SecretV1Output) Metadata ¶
func (o SecretV1Output) Metadata() pulumi.StringMapOutput
Additional Metadata for the secret.
func (SecretV1Output) Mode ¶
func (o SecretV1Output) Mode() pulumi.StringOutput
Metadata provided by a user or system for informational purposes.
func (SecretV1Output) Name ¶
func (o SecretV1Output) Name() pulumi.StringOutput
Human-readable name for the Secret. Does not have to be unique.
func (SecretV1Output) Payload ¶
func (o SecretV1Output) Payload() pulumi.StringPtrOutput
The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
func (SecretV1Output) PayloadContentEncoding ¶
func (o SecretV1Output) PayloadContentEncoding() pulumi.StringPtrOutput
(required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
func (SecretV1Output) PayloadContentType ¶
func (o SecretV1Output) PayloadContentType() pulumi.StringPtrOutput
(required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
func (SecretV1Output) Region ¶
func (o SecretV1Output) Region() pulumi.StringOutput
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a secret. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 secret.
func (SecretV1Output) SecretRef ¶
func (o SecretV1Output) SecretRef() pulumi.StringOutput
The secret reference / where to find the secret.
func (SecretV1Output) SecretType ¶
func (o SecretV1Output) SecretType() pulumi.StringOutput
Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
func (SecretV1Output) Status ¶
func (o SecretV1Output) Status() pulumi.StringOutput
The status of the secret.
func (SecretV1Output) ToSecretV1Output ¶
func (o SecretV1Output) ToSecretV1Output() SecretV1Output
func (SecretV1Output) ToSecretV1OutputWithContext ¶
func (o SecretV1Output) ToSecretV1OutputWithContext(ctx context.Context) SecretV1Output
func (SecretV1Output) UpdatedAt ¶
func (o SecretV1Output) UpdatedAt() pulumi.StringOutput
The date the secret was last updated.
type SecretV1State ¶
type SecretV1State struct { // Allows to control an access to a secret. Currently only the // `read` operation is supported. If not specified, the secret is accessible // project wide. Acl SecretV1AclPtrInput // Metadata provided by a user or system for informational purposes. Algorithm pulumi.StringPtrInput // The map of metadata, assigned on the secret, which has been // explicitly and implicitly added. AllMetadata pulumi.StringMapInput // Metadata provided by a user or system for informational purposes. BitLength pulumi.IntPtrInput // The map of the content types, assigned on the secret. ContentTypes pulumi.StringMapInput // The date the secret was created. CreatedAt pulumi.StringPtrInput // The creator of the secret. CreatorId pulumi.StringPtrInput // The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret. Expiration pulumi.StringPtrInput // Additional Metadata for the secret. Metadata pulumi.StringMapInput // Metadata provided by a user or system for informational purposes. Mode pulumi.StringPtrInput // Human-readable name for the Secret. Does not have // to be unique. Name pulumi.StringPtrInput // The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included. Payload pulumi.StringPtrInput // (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`. PayloadContentEncoding pulumi.StringPtrInput // (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`. PayloadContentType pulumi.StringPtrInput // The region in which to obtain the V1 KeyManager client. // A KeyManager client is needed to create a secret. If omitted, the // `region` argument of the provider is used. Changing this creates a new // V1 secret. Region pulumi.StringPtrInput // The secret reference / where to find the secret. SecretRef pulumi.StringPtrInput // Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html). SecretType pulumi.StringPtrInput // The status of the secret. Status pulumi.StringPtrInput // The date the secret was last updated. UpdatedAt pulumi.StringPtrInput }
func (SecretV1State) ElementType ¶
func (SecretV1State) ElementType() reflect.Type