Documentation
¶
Index ¶
- type GetServiceArgs
- type GetServiceResult
- type GetStorageBundlesArgs
- type GetStorageBundlesBundle
- type GetStorageBundlesBundleArgs
- type GetStorageBundlesBundleArray
- func (GetStorageBundlesBundleArray) ElementType() reflect.Type
- func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
- func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
- type GetStorageBundlesBundleArrayInput
- type GetStorageBundlesBundleArrayOutput
- func (GetStorageBundlesBundleArrayOutput) ElementType() reflect.Type
- func (o GetStorageBundlesBundleArrayOutput) Index(i pulumi.IntInput) GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
- func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
- type GetStorageBundlesBundleInput
- type GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleOutput) Description() pulumi.StringOutput
- func (GetStorageBundlesBundleOutput) ElementType() reflect.Type
- func (o GetStorageBundlesBundleOutput) Id() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) Location() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) StorageBundleId() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) StorageBundleName() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
- type GetStorageBundlesResult
- type StorageBundle
- func (*StorageBundle) ElementType() reflect.Type
- func (i *StorageBundle) ToStorageBundleOutput() StorageBundleOutput
- func (i *StorageBundle) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput
- func (i *StorageBundle) ToStorageBundlePtrOutput() StorageBundlePtrOutput
- func (i *StorageBundle) ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput
- type StorageBundleArgs
- type StorageBundleArray
- type StorageBundleArrayInput
- type StorageBundleArrayOutput
- func (StorageBundleArrayOutput) ElementType() reflect.Type
- func (o StorageBundleArrayOutput) Index(i pulumi.IntInput) StorageBundleOutput
- func (o StorageBundleArrayOutput) ToStorageBundleArrayOutput() StorageBundleArrayOutput
- func (o StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext(ctx context.Context) StorageBundleArrayOutput
- type StorageBundleInput
- type StorageBundleMap
- type StorageBundleMapInput
- type StorageBundleMapOutput
- func (StorageBundleMapOutput) ElementType() reflect.Type
- func (o StorageBundleMapOutput) MapIndex(k pulumi.StringInput) StorageBundleOutput
- func (o StorageBundleMapOutput) ToStorageBundleMapOutput() StorageBundleMapOutput
- func (o StorageBundleMapOutput) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
- type StorageBundleOutput
- func (StorageBundleOutput) ElementType() reflect.Type
- func (o StorageBundleOutput) ToStorageBundleOutput() StorageBundleOutput
- func (o StorageBundleOutput) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput
- func (o StorageBundleOutput) ToStorageBundlePtrOutput() StorageBundlePtrOutput
- func (o StorageBundleOutput) ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput
- type StorageBundlePtrInput
- type StorageBundlePtrOutput
- type StorageBundleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off". Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can open Cloud Storage Gateway service automatically. If the service has been opened, it will return opened.
For information about Cloud Storage Gateway and how to use it, see [What is Cloud Storage Gateway](https://www.alibabacloud.com/help/en/product/53923.htm).
> **NOTE:** Available in v1.117.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "On" _, err := cloudstoragegateway.GetService(ctx, &cloudstoragegateway.GetServiceArgs{ Enable: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type GetStorageBundlesArgs ¶
type GetStorageBundlesArgs struct { BackendBucketRegionId string `pulumi:"backendBucketRegionId"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getStorageBundles.
type GetStorageBundlesBundle ¶
type GetStorageBundlesBundleArgs ¶
type GetStorageBundlesBundleArgs struct { Description pulumi.StringInput `pulumi:"description"` Id pulumi.StringInput `pulumi:"id"` Location pulumi.StringInput `pulumi:"location"` StorageBundleId pulumi.StringInput `pulumi:"storageBundleId"` StorageBundleName pulumi.StringInput `pulumi:"storageBundleName"` }
func (GetStorageBundlesBundleArgs) ElementType ¶
func (GetStorageBundlesBundleArgs) ElementType() reflect.Type
func (GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutput ¶
func (i GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutputWithContext ¶
func (i GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
type GetStorageBundlesBundleArray ¶
type GetStorageBundlesBundleArray []GetStorageBundlesBundleInput
func (GetStorageBundlesBundleArray) ElementType ¶
func (GetStorageBundlesBundleArray) ElementType() reflect.Type
func (GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput ¶
func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
func (GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext ¶
func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
type GetStorageBundlesBundleArrayInput ¶
type GetStorageBundlesBundleArrayInput interface { pulumi.Input ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput ToGetStorageBundlesBundleArrayOutputWithContext(context.Context) GetStorageBundlesBundleArrayOutput }
GetStorageBundlesBundleArrayInput is an input type that accepts GetStorageBundlesBundleArray and GetStorageBundlesBundleArrayOutput values. You can construct a concrete instance of `GetStorageBundlesBundleArrayInput` via:
GetStorageBundlesBundleArray{ GetStorageBundlesBundleArgs{...} }
type GetStorageBundlesBundleArrayOutput ¶
type GetStorageBundlesBundleArrayOutput struct{ *pulumi.OutputState }
func (GetStorageBundlesBundleArrayOutput) ElementType ¶
func (GetStorageBundlesBundleArrayOutput) ElementType() reflect.Type
func (GetStorageBundlesBundleArrayOutput) Index ¶
func (o GetStorageBundlesBundleArrayOutput) Index(i pulumi.IntInput) GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput ¶
func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
func (GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext ¶
func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
type GetStorageBundlesBundleInput ¶
type GetStorageBundlesBundleInput interface { pulumi.Input ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput ToGetStorageBundlesBundleOutputWithContext(context.Context) GetStorageBundlesBundleOutput }
GetStorageBundlesBundleInput is an input type that accepts GetStorageBundlesBundleArgs and GetStorageBundlesBundleOutput values. You can construct a concrete instance of `GetStorageBundlesBundleInput` via:
GetStorageBundlesBundleArgs{...}
type GetStorageBundlesBundleOutput ¶
type GetStorageBundlesBundleOutput struct{ *pulumi.OutputState }
func (GetStorageBundlesBundleOutput) Description ¶
func (o GetStorageBundlesBundleOutput) Description() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) ElementType ¶
func (GetStorageBundlesBundleOutput) ElementType() reflect.Type
func (GetStorageBundlesBundleOutput) Id ¶
func (o GetStorageBundlesBundleOutput) Id() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) Location ¶
func (o GetStorageBundlesBundleOutput) Location() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) StorageBundleId ¶
func (o GetStorageBundlesBundleOutput) StorageBundleId() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) StorageBundleName ¶
func (o GetStorageBundlesBundleOutput) StorageBundleName() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput ¶
func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext ¶
func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
type GetStorageBundlesResult ¶
type GetStorageBundlesResult struct { BackendBucketRegionId string `pulumi:"backendBucketRegionId"` Bundles []GetStorageBundlesBundle `pulumi:"bundles"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getStorageBundles.
func GetStorageBundles ¶
func GetStorageBundles(ctx *pulumi.Context, args *GetStorageBundlesArgs, opts ...pulumi.InvokeOption) (*GetStorageBundlesResult, error)
type StorageBundle ¶
type StorageBundle struct { pulumi.CustomResourceState // The description of storage bundle. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of storage bundle. StorageBundleName pulumi.StringOutput `pulumi:"storageBundleName"` }
Provides a Cloud Storage Gateway Storage Bundle resource.
For information about Cloud Storage Gateway Storage Bundle and how to use it, see [What is Storage Bundle](https://www.alibabacloud.com/help/en/doc-detail/53972.htm).
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudstoragegateway.NewStorageBundle(ctx, "example", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
Cloud Storage Gateway Storage Bundle can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cloudstoragegateway/storageBundle:StorageBundle example <id>
```
func GetStorageBundle ¶
func GetStorageBundle(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StorageBundleState, opts ...pulumi.ResourceOption) (*StorageBundle, error)
GetStorageBundle gets an existing StorageBundle 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 NewStorageBundle ¶
func NewStorageBundle(ctx *pulumi.Context, name string, args *StorageBundleArgs, opts ...pulumi.ResourceOption) (*StorageBundle, error)
NewStorageBundle registers a new resource with the given unique name, arguments, and options.
func (*StorageBundle) ElementType ¶
func (*StorageBundle) ElementType() reflect.Type
func (*StorageBundle) ToStorageBundleOutput ¶
func (i *StorageBundle) ToStorageBundleOutput() StorageBundleOutput
func (*StorageBundle) ToStorageBundleOutputWithContext ¶
func (i *StorageBundle) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput
func (*StorageBundle) ToStorageBundlePtrOutput ¶
func (i *StorageBundle) ToStorageBundlePtrOutput() StorageBundlePtrOutput
func (*StorageBundle) ToStorageBundlePtrOutputWithContext ¶
func (i *StorageBundle) ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput
type StorageBundleArgs ¶
type StorageBundleArgs struct { // The description of storage bundle. Description pulumi.StringPtrInput // The name of storage bundle. StorageBundleName pulumi.StringInput }
The set of arguments for constructing a StorageBundle resource.
func (StorageBundleArgs) ElementType ¶
func (StorageBundleArgs) ElementType() reflect.Type
type StorageBundleArray ¶
type StorageBundleArray []StorageBundleInput
func (StorageBundleArray) ElementType ¶
func (StorageBundleArray) ElementType() reflect.Type
func (StorageBundleArray) ToStorageBundleArrayOutput ¶
func (i StorageBundleArray) ToStorageBundleArrayOutput() StorageBundleArrayOutput
func (StorageBundleArray) ToStorageBundleArrayOutputWithContext ¶
func (i StorageBundleArray) ToStorageBundleArrayOutputWithContext(ctx context.Context) StorageBundleArrayOutput
type StorageBundleArrayInput ¶
type StorageBundleArrayInput interface { pulumi.Input ToStorageBundleArrayOutput() StorageBundleArrayOutput ToStorageBundleArrayOutputWithContext(context.Context) StorageBundleArrayOutput }
StorageBundleArrayInput is an input type that accepts StorageBundleArray and StorageBundleArrayOutput values. You can construct a concrete instance of `StorageBundleArrayInput` via:
StorageBundleArray{ StorageBundleArgs{...} }
type StorageBundleArrayOutput ¶
type StorageBundleArrayOutput struct{ *pulumi.OutputState }
func (StorageBundleArrayOutput) ElementType ¶
func (StorageBundleArrayOutput) ElementType() reflect.Type
func (StorageBundleArrayOutput) Index ¶
func (o StorageBundleArrayOutput) Index(i pulumi.IntInput) StorageBundleOutput
func (StorageBundleArrayOutput) ToStorageBundleArrayOutput ¶
func (o StorageBundleArrayOutput) ToStorageBundleArrayOutput() StorageBundleArrayOutput
func (StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext ¶
func (o StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext(ctx context.Context) StorageBundleArrayOutput
type StorageBundleInput ¶
type StorageBundleInput interface { pulumi.Input ToStorageBundleOutput() StorageBundleOutput ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput }
type StorageBundleMap ¶
type StorageBundleMap map[string]StorageBundleInput
func (StorageBundleMap) ElementType ¶
func (StorageBundleMap) ElementType() reflect.Type
func (StorageBundleMap) ToStorageBundleMapOutput ¶
func (i StorageBundleMap) ToStorageBundleMapOutput() StorageBundleMapOutput
func (StorageBundleMap) ToStorageBundleMapOutputWithContext ¶
func (i StorageBundleMap) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
type StorageBundleMapInput ¶
type StorageBundleMapInput interface { pulumi.Input ToStorageBundleMapOutput() StorageBundleMapOutput ToStorageBundleMapOutputWithContext(context.Context) StorageBundleMapOutput }
StorageBundleMapInput is an input type that accepts StorageBundleMap and StorageBundleMapOutput values. You can construct a concrete instance of `StorageBundleMapInput` via:
StorageBundleMap{ "key": StorageBundleArgs{...} }
type StorageBundleMapOutput ¶
type StorageBundleMapOutput struct{ *pulumi.OutputState }
func (StorageBundleMapOutput) ElementType ¶
func (StorageBundleMapOutput) ElementType() reflect.Type
func (StorageBundleMapOutput) MapIndex ¶
func (o StorageBundleMapOutput) MapIndex(k pulumi.StringInput) StorageBundleOutput
func (StorageBundleMapOutput) ToStorageBundleMapOutput ¶
func (o StorageBundleMapOutput) ToStorageBundleMapOutput() StorageBundleMapOutput
func (StorageBundleMapOutput) ToStorageBundleMapOutputWithContext ¶
func (o StorageBundleMapOutput) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
type StorageBundleOutput ¶
type StorageBundleOutput struct {
*pulumi.OutputState
}
func (StorageBundleOutput) ElementType ¶
func (StorageBundleOutput) ElementType() reflect.Type
func (StorageBundleOutput) ToStorageBundleOutput ¶
func (o StorageBundleOutput) ToStorageBundleOutput() StorageBundleOutput
func (StorageBundleOutput) ToStorageBundleOutputWithContext ¶
func (o StorageBundleOutput) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput
func (StorageBundleOutput) ToStorageBundlePtrOutput ¶
func (o StorageBundleOutput) ToStorageBundlePtrOutput() StorageBundlePtrOutput
func (StorageBundleOutput) ToStorageBundlePtrOutputWithContext ¶
func (o StorageBundleOutput) ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput
type StorageBundlePtrInput ¶
type StorageBundlePtrInput interface { pulumi.Input ToStorageBundlePtrOutput() StorageBundlePtrOutput ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput }
type StorageBundlePtrOutput ¶
type StorageBundlePtrOutput struct {
*pulumi.OutputState
}
func (StorageBundlePtrOutput) ElementType ¶
func (StorageBundlePtrOutput) ElementType() reflect.Type
func (StorageBundlePtrOutput) ToStorageBundlePtrOutput ¶
func (o StorageBundlePtrOutput) ToStorageBundlePtrOutput() StorageBundlePtrOutput
func (StorageBundlePtrOutput) ToStorageBundlePtrOutputWithContext ¶
func (o StorageBundlePtrOutput) ToStorageBundlePtrOutputWithContext(ctx context.Context) StorageBundlePtrOutput
type StorageBundleState ¶
type StorageBundleState struct { // The description of storage bundle. Description pulumi.StringPtrInput // The name of storage bundle. StorageBundleName pulumi.StringPtrInput }
func (StorageBundleState) ElementType ¶
func (StorageBundleState) ElementType() reflect.Type