Documentation
¶
Index ¶
- type GetSecretbundleArgs
- type GetSecretbundleOutputArgs
- type GetSecretbundleResult
- type GetSecretbundleResultOutput
- func (GetSecretbundleResultOutput) ElementType() reflect.Type
- func (o GetSecretbundleResultOutput) Id() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) Metadata() pulumi.StringMapOutput
- func (o GetSecretbundleResultOutput) SecretBundleContents() GetSecretbundleSecretBundleContentArrayOutput
- func (o GetSecretbundleResultOutput) SecretId() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) SecretVersionName() pulumi.StringPtrOutput
- func (o GetSecretbundleResultOutput) Stage() pulumi.StringPtrOutput
- func (o GetSecretbundleResultOutput) Stages() pulumi.StringArrayOutput
- func (o GetSecretbundleResultOutput) TimeCreated() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) TimeOfDeletion() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) TimeOfExpiry() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) ToGetSecretbundleResultOutput() GetSecretbundleResultOutput
- func (o GetSecretbundleResultOutput) ToGetSecretbundleResultOutputWithContext(ctx context.Context) GetSecretbundleResultOutput
- func (o GetSecretbundleResultOutput) VersionName() pulumi.StringOutput
- func (o GetSecretbundleResultOutput) VersionNumber() pulumi.StringOutput
- type GetSecretbundleSecretBundleContent
- type GetSecretbundleSecretBundleContentArgs
- func (GetSecretbundleSecretBundleContentArgs) ElementType() reflect.Type
- func (i GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutput() GetSecretbundleSecretBundleContentOutput
- func (i GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentOutput
- type GetSecretbundleSecretBundleContentArray
- func (GetSecretbundleSecretBundleContentArray) ElementType() reflect.Type
- func (i GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutput() GetSecretbundleSecretBundleContentArrayOutput
- func (i GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentArrayOutput
- type GetSecretbundleSecretBundleContentArrayInput
- type GetSecretbundleSecretBundleContentArrayOutput
- func (GetSecretbundleSecretBundleContentArrayOutput) ElementType() reflect.Type
- func (o GetSecretbundleSecretBundleContentArrayOutput) Index(i pulumi.IntInput) GetSecretbundleSecretBundleContentOutput
- func (o GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutput() GetSecretbundleSecretBundleContentArrayOutput
- func (o GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentArrayOutput
- type GetSecretbundleSecretBundleContentInput
- type GetSecretbundleSecretBundleContentOutput
- func (o GetSecretbundleSecretBundleContentOutput) Content() pulumi.StringOutput
- func (o GetSecretbundleSecretBundleContentOutput) ContentType() pulumi.StringOutput
- func (GetSecretbundleSecretBundleContentOutput) ElementType() reflect.Type
- func (o GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutput() GetSecretbundleSecretBundleContentOutput
- func (o GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentOutput
- type GetSecretbundleVersionsArgs
- type GetSecretbundleVersionsFilter
- type GetSecretbundleVersionsFilterArgs
- func (GetSecretbundleVersionsFilterArgs) ElementType() reflect.Type
- func (i GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutput() GetSecretbundleVersionsFilterOutput
- func (i GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterOutput
- type GetSecretbundleVersionsFilterArray
- func (GetSecretbundleVersionsFilterArray) ElementType() reflect.Type
- func (i GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutput() GetSecretbundleVersionsFilterArrayOutput
- func (i GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterArrayOutput
- type GetSecretbundleVersionsFilterArrayInput
- type GetSecretbundleVersionsFilterArrayOutput
- func (GetSecretbundleVersionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSecretbundleVersionsFilterArrayOutput) Index(i pulumi.IntInput) GetSecretbundleVersionsFilterOutput
- func (o GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutput() GetSecretbundleVersionsFilterArrayOutput
- func (o GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterArrayOutput
- type GetSecretbundleVersionsFilterInput
- type GetSecretbundleVersionsFilterOutput
- func (GetSecretbundleVersionsFilterOutput) ElementType() reflect.Type
- func (o GetSecretbundleVersionsFilterOutput) Name() pulumi.StringOutput
- func (o GetSecretbundleVersionsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutput() GetSecretbundleVersionsFilterOutput
- func (o GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterOutput
- func (o GetSecretbundleVersionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSecretbundleVersionsOutputArgs
- type GetSecretbundleVersionsResult
- type GetSecretbundleVersionsResultOutput
- func (GetSecretbundleVersionsResultOutput) ElementType() reflect.Type
- func (o GetSecretbundleVersionsResultOutput) Filters() GetSecretbundleVersionsFilterArrayOutput
- func (o GetSecretbundleVersionsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretbundleVersionsResultOutput) SecretBundleVersions() GetSecretbundleVersionsSecretBundleVersionArrayOutput
- func (o GetSecretbundleVersionsResultOutput) SecretId() pulumi.StringOutput
- func (o GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutput() GetSecretbundleVersionsResultOutput
- func (o GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutputWithContext(ctx context.Context) GetSecretbundleVersionsResultOutput
- type GetSecretbundleVersionsSecretBundleVersion
- type GetSecretbundleVersionsSecretBundleVersionArgs
- func (GetSecretbundleVersionsSecretBundleVersionArgs) ElementType() reflect.Type
- func (i GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutput() GetSecretbundleVersionsSecretBundleVersionOutput
- func (i GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionOutput
- type GetSecretbundleVersionsSecretBundleVersionArray
- func (GetSecretbundleVersionsSecretBundleVersionArray) ElementType() reflect.Type
- func (i GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput() GetSecretbundleVersionsSecretBundleVersionArrayOutput
- func (i GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionArrayOutput
- type GetSecretbundleVersionsSecretBundleVersionArrayInput
- type GetSecretbundleVersionsSecretBundleVersionArrayOutput
- func (GetSecretbundleVersionsSecretBundleVersionArrayOutput) ElementType() reflect.Type
- func (o GetSecretbundleVersionsSecretBundleVersionArrayOutput) Index(i pulumi.IntInput) GetSecretbundleVersionsSecretBundleVersionOutput
- func (o GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput() GetSecretbundleVersionsSecretBundleVersionArrayOutput
- func (o GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionArrayOutput
- type GetSecretbundleVersionsSecretBundleVersionInput
- type GetSecretbundleVersionsSecretBundleVersionOutput
- func (GetSecretbundleVersionsSecretBundleVersionOutput) ElementType() reflect.Type
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) SecretId() pulumi.StringOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) Stages() pulumi.StringArrayOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeCreated() pulumi.StringOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfDeletion() pulumi.StringOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfExpiry() pulumi.StringOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutput() GetSecretbundleVersionsSecretBundleVersionOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) VersionName() pulumi.StringOutput
- func (o GetSecretbundleVersionsSecretBundleVersionOutput) VersionNumber() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSecretbundleArgs ¶
type GetSecretbundleArgs struct { // The OCID of the secret. SecretId string `pulumi:"secretId"` // The name of the secret. (This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.) SecretVersionName *string `pulumi:"secretVersionName"` // The rotation state of the secret version. Stage *string `pulumi:"stage"` // The version number of the secret. VersionNumber *string `pulumi:"versionNumber"` }
A collection of arguments for invoking getSecretbundle.
type GetSecretbundleOutputArgs ¶
type GetSecretbundleOutputArgs struct { // The OCID of the secret. SecretId pulumi.StringInput `pulumi:"secretId"` // The name of the secret. (This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.) SecretVersionName pulumi.StringPtrInput `pulumi:"secretVersionName"` // The rotation state of the secret version. Stage pulumi.StringPtrInput `pulumi:"stage"` // The version number of the secret. VersionNumber pulumi.StringPtrInput `pulumi:"versionNumber"` }
A collection of arguments for invoking getSecretbundle.
func (GetSecretbundleOutputArgs) ElementType ¶
func (GetSecretbundleOutputArgs) ElementType() reflect.Type
type GetSecretbundleResult ¶
type GetSecretbundleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Customer-provided contextual metadata for the secret. Metadata map[string]string `pulumi:"metadata"` // The contents of the secret. SecretBundleContents []GetSecretbundleSecretBundleContent `pulumi:"secretBundleContents"` // The OCID of the secret. SecretId string `pulumi:"secretId"` SecretVersionName *string `pulumi:"secretVersionName"` Stage *string `pulumi:"stage"` // A list of possible rotation states for the secret version. Stages []string `pulumi:"stages"` // The time when the secret bundle was created. TimeCreated string `pulumi:"timeCreated"` // An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfDeletion string `pulumi:"timeOfDeletion"` // An optional property indicating when the secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfExpiry string `pulumi:"timeOfExpiry"` // The name of the secret version. Labels are unique across the different versions of a particular secret. VersionName string `pulumi:"versionName"` // The version number of the secret. VersionNumber string `pulumi:"versionNumber"` }
A collection of values returned by getSecretbundle.
func GetSecretbundle ¶
func GetSecretbundle(ctx *pulumi.Context, args *GetSecretbundleArgs, opts ...pulumi.InvokeOption) (*GetSecretbundleResult, error)
This data source provides details about a specific Secretbundle resource in Oracle Cloud Infrastructure Secrets service.
Gets a secret bundle that matches either the specified `stage`, `label`, or `versionNumber` parameter. If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` will be returned.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Secrets.GetSecretbundle(ctx, &secrets.GetSecretbundleArgs{ SecretId: testSecret.Id, SecretVersionName: pulumi.StringRef(testSecretVersion.Name), Stage: pulumi.StringRef(secretbundleStage), VersionNumber: pulumi.StringRef(secretbundleVersionNumber), }, nil) if err != nil { return err } return nil }) }
```
type GetSecretbundleResultOutput ¶
type GetSecretbundleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretbundle.
func GetSecretbundleOutput ¶
func GetSecretbundleOutput(ctx *pulumi.Context, args GetSecretbundleOutputArgs, opts ...pulumi.InvokeOption) GetSecretbundleResultOutput
func (GetSecretbundleResultOutput) ElementType ¶
func (GetSecretbundleResultOutput) ElementType() reflect.Type
func (GetSecretbundleResultOutput) Id ¶
func (o GetSecretbundleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretbundleResultOutput) Metadata ¶
func (o GetSecretbundleResultOutput) Metadata() pulumi.StringMapOutput
Customer-provided contextual metadata for the secret.
func (GetSecretbundleResultOutput) SecretBundleContents ¶
func (o GetSecretbundleResultOutput) SecretBundleContents() GetSecretbundleSecretBundleContentArrayOutput
The contents of the secret.
func (GetSecretbundleResultOutput) SecretId ¶
func (o GetSecretbundleResultOutput) SecretId() pulumi.StringOutput
The OCID of the secret.
func (GetSecretbundleResultOutput) SecretVersionName ¶
func (o GetSecretbundleResultOutput) SecretVersionName() pulumi.StringPtrOutput
func (GetSecretbundleResultOutput) Stage ¶
func (o GetSecretbundleResultOutput) Stage() pulumi.StringPtrOutput
func (GetSecretbundleResultOutput) Stages ¶
func (o GetSecretbundleResultOutput) Stages() pulumi.StringArrayOutput
A list of possible rotation states for the secret version.
func (GetSecretbundleResultOutput) TimeCreated ¶
func (o GetSecretbundleResultOutput) TimeCreated() pulumi.StringOutput
The time when the secret bundle was created.
func (GetSecretbundleResultOutput) TimeOfDeletion ¶
func (o GetSecretbundleResultOutput) TimeOfDeletion() pulumi.StringOutput
An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
func (GetSecretbundleResultOutput) TimeOfExpiry ¶
func (o GetSecretbundleResultOutput) TimeOfExpiry() pulumi.StringOutput
An optional property indicating when the secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
func (GetSecretbundleResultOutput) ToGetSecretbundleResultOutput ¶
func (o GetSecretbundleResultOutput) ToGetSecretbundleResultOutput() GetSecretbundleResultOutput
func (GetSecretbundleResultOutput) ToGetSecretbundleResultOutputWithContext ¶
func (o GetSecretbundleResultOutput) ToGetSecretbundleResultOutputWithContext(ctx context.Context) GetSecretbundleResultOutput
func (GetSecretbundleResultOutput) VersionName ¶
func (o GetSecretbundleResultOutput) VersionName() pulumi.StringOutput
The name of the secret version. Labels are unique across the different versions of a particular secret.
func (GetSecretbundleResultOutput) VersionNumber ¶
func (o GetSecretbundleResultOutput) VersionNumber() pulumi.StringOutput
The version number of the secret.
type GetSecretbundleSecretBundleContentArgs ¶
type GetSecretbundleSecretBundleContentArgs struct { // The base64-encoded content of the secret. Content pulumi.StringInput `pulumi:"content"` // The formatting type of the secret contents. ContentType pulumi.StringInput `pulumi:"contentType"` }
func (GetSecretbundleSecretBundleContentArgs) ElementType ¶
func (GetSecretbundleSecretBundleContentArgs) ElementType() reflect.Type
func (GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutput ¶
func (i GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutput() GetSecretbundleSecretBundleContentOutput
func (GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutputWithContext ¶
func (i GetSecretbundleSecretBundleContentArgs) ToGetSecretbundleSecretBundleContentOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentOutput
type GetSecretbundleSecretBundleContentArray ¶
type GetSecretbundleSecretBundleContentArray []GetSecretbundleSecretBundleContentInput
func (GetSecretbundleSecretBundleContentArray) ElementType ¶
func (GetSecretbundleSecretBundleContentArray) ElementType() reflect.Type
func (GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutput ¶
func (i GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutput() GetSecretbundleSecretBundleContentArrayOutput
func (GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutputWithContext ¶
func (i GetSecretbundleSecretBundleContentArray) ToGetSecretbundleSecretBundleContentArrayOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentArrayOutput
type GetSecretbundleSecretBundleContentArrayInput ¶
type GetSecretbundleSecretBundleContentArrayInput interface { pulumi.Input ToGetSecretbundleSecretBundleContentArrayOutput() GetSecretbundleSecretBundleContentArrayOutput ToGetSecretbundleSecretBundleContentArrayOutputWithContext(context.Context) GetSecretbundleSecretBundleContentArrayOutput }
GetSecretbundleSecretBundleContentArrayInput is an input type that accepts GetSecretbundleSecretBundleContentArray and GetSecretbundleSecretBundleContentArrayOutput values. You can construct a concrete instance of `GetSecretbundleSecretBundleContentArrayInput` via:
GetSecretbundleSecretBundleContentArray{ GetSecretbundleSecretBundleContentArgs{...} }
type GetSecretbundleSecretBundleContentArrayOutput ¶
type GetSecretbundleSecretBundleContentArrayOutput struct{ *pulumi.OutputState }
func (GetSecretbundleSecretBundleContentArrayOutput) ElementType ¶
func (GetSecretbundleSecretBundleContentArrayOutput) ElementType() reflect.Type
func (GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutput ¶
func (o GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutput() GetSecretbundleSecretBundleContentArrayOutput
func (GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutputWithContext ¶
func (o GetSecretbundleSecretBundleContentArrayOutput) ToGetSecretbundleSecretBundleContentArrayOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentArrayOutput
type GetSecretbundleSecretBundleContentInput ¶
type GetSecretbundleSecretBundleContentInput interface { pulumi.Input ToGetSecretbundleSecretBundleContentOutput() GetSecretbundleSecretBundleContentOutput ToGetSecretbundleSecretBundleContentOutputWithContext(context.Context) GetSecretbundleSecretBundleContentOutput }
GetSecretbundleSecretBundleContentInput is an input type that accepts GetSecretbundleSecretBundleContentArgs and GetSecretbundleSecretBundleContentOutput values. You can construct a concrete instance of `GetSecretbundleSecretBundleContentInput` via:
GetSecretbundleSecretBundleContentArgs{...}
type GetSecretbundleSecretBundleContentOutput ¶
type GetSecretbundleSecretBundleContentOutput struct{ *pulumi.OutputState }
func (GetSecretbundleSecretBundleContentOutput) Content ¶
func (o GetSecretbundleSecretBundleContentOutput) Content() pulumi.StringOutput
The base64-encoded content of the secret.
func (GetSecretbundleSecretBundleContentOutput) ContentType ¶
func (o GetSecretbundleSecretBundleContentOutput) ContentType() pulumi.StringOutput
The formatting type of the secret contents.
func (GetSecretbundleSecretBundleContentOutput) ElementType ¶
func (GetSecretbundleSecretBundleContentOutput) ElementType() reflect.Type
func (GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutput ¶
func (o GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutput() GetSecretbundleSecretBundleContentOutput
func (GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutputWithContext ¶
func (o GetSecretbundleSecretBundleContentOutput) ToGetSecretbundleSecretBundleContentOutputWithContext(ctx context.Context) GetSecretbundleSecretBundleContentOutput
type GetSecretbundleVersionsArgs ¶
type GetSecretbundleVersionsArgs struct { Filters []GetSecretbundleVersionsFilter `pulumi:"filters"` // The OCID of the secret. SecretId string `pulumi:"secretId"` }
A collection of arguments for invoking getSecretbundleVersions.
type GetSecretbundleVersionsFilterArgs ¶
type GetSecretbundleVersionsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetSecretbundleVersionsFilterArgs) ElementType ¶
func (GetSecretbundleVersionsFilterArgs) ElementType() reflect.Type
func (GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutput ¶
func (i GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutput() GetSecretbundleVersionsFilterOutput
func (GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutputWithContext ¶
func (i GetSecretbundleVersionsFilterArgs) ToGetSecretbundleVersionsFilterOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterOutput
type GetSecretbundleVersionsFilterArray ¶
type GetSecretbundleVersionsFilterArray []GetSecretbundleVersionsFilterInput
func (GetSecretbundleVersionsFilterArray) ElementType ¶
func (GetSecretbundleVersionsFilterArray) ElementType() reflect.Type
func (GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutput ¶
func (i GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutput() GetSecretbundleVersionsFilterArrayOutput
func (GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutputWithContext ¶
func (i GetSecretbundleVersionsFilterArray) ToGetSecretbundleVersionsFilterArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterArrayOutput
type GetSecretbundleVersionsFilterArrayInput ¶
type GetSecretbundleVersionsFilterArrayInput interface { pulumi.Input ToGetSecretbundleVersionsFilterArrayOutput() GetSecretbundleVersionsFilterArrayOutput ToGetSecretbundleVersionsFilterArrayOutputWithContext(context.Context) GetSecretbundleVersionsFilterArrayOutput }
GetSecretbundleVersionsFilterArrayInput is an input type that accepts GetSecretbundleVersionsFilterArray and GetSecretbundleVersionsFilterArrayOutput values. You can construct a concrete instance of `GetSecretbundleVersionsFilterArrayInput` via:
GetSecretbundleVersionsFilterArray{ GetSecretbundleVersionsFilterArgs{...} }
type GetSecretbundleVersionsFilterArrayOutput ¶
type GetSecretbundleVersionsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSecretbundleVersionsFilterArrayOutput) ElementType ¶
func (GetSecretbundleVersionsFilterArrayOutput) ElementType() reflect.Type
func (GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutput ¶
func (o GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutput() GetSecretbundleVersionsFilterArrayOutput
func (GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutputWithContext ¶
func (o GetSecretbundleVersionsFilterArrayOutput) ToGetSecretbundleVersionsFilterArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterArrayOutput
type GetSecretbundleVersionsFilterInput ¶
type GetSecretbundleVersionsFilterInput interface { pulumi.Input ToGetSecretbundleVersionsFilterOutput() GetSecretbundleVersionsFilterOutput ToGetSecretbundleVersionsFilterOutputWithContext(context.Context) GetSecretbundleVersionsFilterOutput }
GetSecretbundleVersionsFilterInput is an input type that accepts GetSecretbundleVersionsFilterArgs and GetSecretbundleVersionsFilterOutput values. You can construct a concrete instance of `GetSecretbundleVersionsFilterInput` via:
GetSecretbundleVersionsFilterArgs{...}
type GetSecretbundleVersionsFilterOutput ¶
type GetSecretbundleVersionsFilterOutput struct{ *pulumi.OutputState }
func (GetSecretbundleVersionsFilterOutput) ElementType ¶
func (GetSecretbundleVersionsFilterOutput) ElementType() reflect.Type
func (GetSecretbundleVersionsFilterOutput) Name ¶
func (o GetSecretbundleVersionsFilterOutput) Name() pulumi.StringOutput
func (GetSecretbundleVersionsFilterOutput) Regex ¶
func (o GetSecretbundleVersionsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutput ¶
func (o GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutput() GetSecretbundleVersionsFilterOutput
func (GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutputWithContext ¶
func (o GetSecretbundleVersionsFilterOutput) ToGetSecretbundleVersionsFilterOutputWithContext(ctx context.Context) GetSecretbundleVersionsFilterOutput
func (GetSecretbundleVersionsFilterOutput) Values ¶
func (o GetSecretbundleVersionsFilterOutput) Values() pulumi.StringArrayOutput
type GetSecretbundleVersionsOutputArgs ¶
type GetSecretbundleVersionsOutputArgs struct { Filters GetSecretbundleVersionsFilterArrayInput `pulumi:"filters"` // The OCID of the secret. SecretId pulumi.StringInput `pulumi:"secretId"` }
A collection of arguments for invoking getSecretbundleVersions.
func (GetSecretbundleVersionsOutputArgs) ElementType ¶
func (GetSecretbundleVersionsOutputArgs) ElementType() reflect.Type
type GetSecretbundleVersionsResult ¶
type GetSecretbundleVersionsResult struct { Filters []GetSecretbundleVersionsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of secret_bundle_versions. SecretBundleVersions []GetSecretbundleVersionsSecretBundleVersion `pulumi:"secretBundleVersions"` // The OCID of the secret. SecretId string `pulumi:"secretId"` }
A collection of values returned by getSecretbundleVersions.
func GetSecretbundleVersions ¶
func GetSecretbundleVersions(ctx *pulumi.Context, args *GetSecretbundleVersionsArgs, opts ...pulumi.InvokeOption) (*GetSecretbundleVersionsResult, error)
This data source provides the list of Secretbundle Versions in Oracle Cloud Infrastructure Secrets service.
Lists all secret bundle versions for the specified secret.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Secrets" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Secrets.GetSecretbundleVersions(ctx, &secrets.GetSecretbundleVersionsArgs{ SecretId: testSecret.Id, }, nil) if err != nil { return err } return nil }) }
```
type GetSecretbundleVersionsResultOutput ¶
type GetSecretbundleVersionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretbundleVersions.
func GetSecretbundleVersionsOutput ¶
func GetSecretbundleVersionsOutput(ctx *pulumi.Context, args GetSecretbundleVersionsOutputArgs, opts ...pulumi.InvokeOption) GetSecretbundleVersionsResultOutput
func (GetSecretbundleVersionsResultOutput) ElementType ¶
func (GetSecretbundleVersionsResultOutput) ElementType() reflect.Type
func (GetSecretbundleVersionsResultOutput) Filters ¶
func (o GetSecretbundleVersionsResultOutput) Filters() GetSecretbundleVersionsFilterArrayOutput
func (GetSecretbundleVersionsResultOutput) Id ¶
func (o GetSecretbundleVersionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretbundleVersionsResultOutput) SecretBundleVersions ¶
func (o GetSecretbundleVersionsResultOutput) SecretBundleVersions() GetSecretbundleVersionsSecretBundleVersionArrayOutput
The list of secret_bundle_versions.
func (GetSecretbundleVersionsResultOutput) SecretId ¶
func (o GetSecretbundleVersionsResultOutput) SecretId() pulumi.StringOutput
The OCID of the secret.
func (GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutput ¶
func (o GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutput() GetSecretbundleVersionsResultOutput
func (GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutputWithContext ¶
func (o GetSecretbundleVersionsResultOutput) ToGetSecretbundleVersionsResultOutputWithContext(ctx context.Context) GetSecretbundleVersionsResultOutput
type GetSecretbundleVersionsSecretBundleVersion ¶
type GetSecretbundleVersionsSecretBundleVersion struct { // The OCID of the secret. SecretId string `pulumi:"secretId"` // A list of possible rotation states for the secret bundle. Stages []string `pulumi:"stages"` // The time when the secret bundle was created. TimeCreated string `pulumi:"timeCreated"` // An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfDeletion string `pulumi:"timeOfDeletion"` // An optional property indicating when the secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfExpiry string `pulumi:"timeOfExpiry"` // The version name of the secret bundle, as provided when the secret was created or last rotated. VersionName string `pulumi:"versionName"` // The version number of the secret. VersionNumber string `pulumi:"versionNumber"` }
type GetSecretbundleVersionsSecretBundleVersionArgs ¶
type GetSecretbundleVersionsSecretBundleVersionArgs struct { // The OCID of the secret. SecretId pulumi.StringInput `pulumi:"secretId"` // A list of possible rotation states for the secret bundle. Stages pulumi.StringArrayInput `pulumi:"stages"` // The time when the secret bundle was created. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` // An optional property indicating when the secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` TimeOfExpiry pulumi.StringInput `pulumi:"timeOfExpiry"` // The version name of the secret bundle, as provided when the secret was created or last rotated. VersionName pulumi.StringInput `pulumi:"versionName"` // The version number of the secret. VersionNumber pulumi.StringInput `pulumi:"versionNumber"` }
func (GetSecretbundleVersionsSecretBundleVersionArgs) ElementType ¶
func (GetSecretbundleVersionsSecretBundleVersionArgs) ElementType() reflect.Type
func (GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutput ¶
func (i GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutput() GetSecretbundleVersionsSecretBundleVersionOutput
func (GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext ¶
func (i GetSecretbundleVersionsSecretBundleVersionArgs) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionOutput
type GetSecretbundleVersionsSecretBundleVersionArray ¶
type GetSecretbundleVersionsSecretBundleVersionArray []GetSecretbundleVersionsSecretBundleVersionInput
func (GetSecretbundleVersionsSecretBundleVersionArray) ElementType ¶
func (GetSecretbundleVersionsSecretBundleVersionArray) ElementType() reflect.Type
func (GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput ¶
func (i GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput() GetSecretbundleVersionsSecretBundleVersionArrayOutput
func (GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext ¶
func (i GetSecretbundleVersionsSecretBundleVersionArray) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionArrayOutput
type GetSecretbundleVersionsSecretBundleVersionArrayInput ¶
type GetSecretbundleVersionsSecretBundleVersionArrayInput interface { pulumi.Input ToGetSecretbundleVersionsSecretBundleVersionArrayOutput() GetSecretbundleVersionsSecretBundleVersionArrayOutput ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext(context.Context) GetSecretbundleVersionsSecretBundleVersionArrayOutput }
GetSecretbundleVersionsSecretBundleVersionArrayInput is an input type that accepts GetSecretbundleVersionsSecretBundleVersionArray and GetSecretbundleVersionsSecretBundleVersionArrayOutput values. You can construct a concrete instance of `GetSecretbundleVersionsSecretBundleVersionArrayInput` via:
GetSecretbundleVersionsSecretBundleVersionArray{ GetSecretbundleVersionsSecretBundleVersionArgs{...} }
type GetSecretbundleVersionsSecretBundleVersionArrayOutput ¶
type GetSecretbundleVersionsSecretBundleVersionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretbundleVersionsSecretBundleVersionArrayOutput) ElementType ¶
func (GetSecretbundleVersionsSecretBundleVersionArrayOutput) ElementType() reflect.Type
func (GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput ¶
func (o GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutput() GetSecretbundleVersionsSecretBundleVersionArrayOutput
func (GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext ¶
func (o GetSecretbundleVersionsSecretBundleVersionArrayOutput) ToGetSecretbundleVersionsSecretBundleVersionArrayOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionArrayOutput
type GetSecretbundleVersionsSecretBundleVersionInput ¶
type GetSecretbundleVersionsSecretBundleVersionInput interface { pulumi.Input ToGetSecretbundleVersionsSecretBundleVersionOutput() GetSecretbundleVersionsSecretBundleVersionOutput ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext(context.Context) GetSecretbundleVersionsSecretBundleVersionOutput }
GetSecretbundleVersionsSecretBundleVersionInput is an input type that accepts GetSecretbundleVersionsSecretBundleVersionArgs and GetSecretbundleVersionsSecretBundleVersionOutput values. You can construct a concrete instance of `GetSecretbundleVersionsSecretBundleVersionInput` via:
GetSecretbundleVersionsSecretBundleVersionArgs{...}
type GetSecretbundleVersionsSecretBundleVersionOutput ¶
type GetSecretbundleVersionsSecretBundleVersionOutput struct{ *pulumi.OutputState }
func (GetSecretbundleVersionsSecretBundleVersionOutput) ElementType ¶
func (GetSecretbundleVersionsSecretBundleVersionOutput) ElementType() reflect.Type
func (GetSecretbundleVersionsSecretBundleVersionOutput) SecretId ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) SecretId() pulumi.StringOutput
The OCID of the secret.
func (GetSecretbundleVersionsSecretBundleVersionOutput) Stages ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) Stages() pulumi.StringArrayOutput
A list of possible rotation states for the secret bundle.
func (GetSecretbundleVersionsSecretBundleVersionOutput) TimeCreated ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeCreated() pulumi.StringOutput
The time when the secret bundle was created.
func (GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfDeletion ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfDeletion() pulumi.StringOutput
An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
func (GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfExpiry ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) TimeOfExpiry() pulumi.StringOutput
An optional property indicating when the secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
func (GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutput ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutput() GetSecretbundleVersionsSecretBundleVersionOutput
func (GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) ToGetSecretbundleVersionsSecretBundleVersionOutputWithContext(ctx context.Context) GetSecretbundleVersionsSecretBundleVersionOutput
func (GetSecretbundleVersionsSecretBundleVersionOutput) VersionName ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) VersionName() pulumi.StringOutput
The version name of the secret bundle, as provided when the secret was created or last rotated.
func (GetSecretbundleVersionsSecretBundleVersionOutput) VersionNumber ¶
func (o GetSecretbundleVersionsSecretBundleVersionOutput) VersionNumber() pulumi.StringOutput
The version number of the secret.