cloudstoragegateway

package
v3.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpressSync added in v3.10.0

type ExpressSync struct {
	pulumi.CustomResourceState

	// The name of the OSS Bucket.
	BucketName pulumi.StringOutput `pulumi:"bucketName"`
	// The prefix of the OSS Bucket.
	BucketPrefix pulumi.StringPtrOutput `pulumi:"bucketPrefix"`
	// The region of the OSS Bucket.
	BucketRegion pulumi.StringOutput `pulumi:"bucketRegion"`
	// The description of the Express Sync. The length of the name is limited to `1` to `255` characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the ExpressSync. The length of the name is limited to `1` to `128` characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with  letters.
	ExpressSyncName pulumi.StringOutput `pulumi:"expressSyncName"`
}

Provides a Cloud Storage Gateway Express Sync resource.

For information about Cloud Storage Gateway Express Sync and how to use it, see [What is Express Sync](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/xzpxo3).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Express Sync can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/expressSync:ExpressSync example <id> ```

func GetExpressSync added in v3.10.0

func GetExpressSync(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExpressSyncState, opts ...pulumi.ResourceOption) (*ExpressSync, error)

GetExpressSync gets an existing ExpressSync 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 NewExpressSync added in v3.10.0

func NewExpressSync(ctx *pulumi.Context,
	name string, args *ExpressSyncArgs, opts ...pulumi.ResourceOption) (*ExpressSync, error)

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

func (*ExpressSync) ElementType added in v3.10.0

func (*ExpressSync) ElementType() reflect.Type

func (*ExpressSync) ToExpressSyncOutput added in v3.10.0

func (i *ExpressSync) ToExpressSyncOutput() ExpressSyncOutput

func (*ExpressSync) ToExpressSyncOutputWithContext added in v3.10.0

func (i *ExpressSync) ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput

type ExpressSyncArgs added in v3.10.0

type ExpressSyncArgs struct {
	// The name of the OSS Bucket.
	BucketName pulumi.StringInput
	// The prefix of the OSS Bucket.
	BucketPrefix pulumi.StringPtrInput
	// The region of the OSS Bucket.
	BucketRegion pulumi.StringInput
	// The description of the Express Sync. The length of the name is limited to `1` to `255` characters.
	Description pulumi.StringPtrInput
	// The name of the ExpressSync. The length of the name is limited to `1` to `128` characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with  letters.
	ExpressSyncName pulumi.StringInput
}

The set of arguments for constructing a ExpressSync resource.

func (ExpressSyncArgs) ElementType added in v3.10.0

func (ExpressSyncArgs) ElementType() reflect.Type

type ExpressSyncArray added in v3.10.0

type ExpressSyncArray []ExpressSyncInput

func (ExpressSyncArray) ElementType added in v3.10.0

func (ExpressSyncArray) ElementType() reflect.Type

func (ExpressSyncArray) ToExpressSyncArrayOutput added in v3.10.0

func (i ExpressSyncArray) ToExpressSyncArrayOutput() ExpressSyncArrayOutput

func (ExpressSyncArray) ToExpressSyncArrayOutputWithContext added in v3.10.0

func (i ExpressSyncArray) ToExpressSyncArrayOutputWithContext(ctx context.Context) ExpressSyncArrayOutput

type ExpressSyncArrayInput added in v3.10.0

type ExpressSyncArrayInput interface {
	pulumi.Input

	ToExpressSyncArrayOutput() ExpressSyncArrayOutput
	ToExpressSyncArrayOutputWithContext(context.Context) ExpressSyncArrayOutput
}

ExpressSyncArrayInput is an input type that accepts ExpressSyncArray and ExpressSyncArrayOutput values. You can construct a concrete instance of `ExpressSyncArrayInput` via:

ExpressSyncArray{ ExpressSyncArgs{...} }

type ExpressSyncArrayOutput added in v3.10.0

type ExpressSyncArrayOutput struct{ *pulumi.OutputState }

func (ExpressSyncArrayOutput) ElementType added in v3.10.0

func (ExpressSyncArrayOutput) ElementType() reflect.Type

func (ExpressSyncArrayOutput) Index added in v3.10.0

func (ExpressSyncArrayOutput) ToExpressSyncArrayOutput added in v3.10.0

func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutput() ExpressSyncArrayOutput

func (ExpressSyncArrayOutput) ToExpressSyncArrayOutputWithContext added in v3.10.0

func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutputWithContext(ctx context.Context) ExpressSyncArrayOutput

type ExpressSyncInput added in v3.10.0

type ExpressSyncInput interface {
	pulumi.Input

	ToExpressSyncOutput() ExpressSyncOutput
	ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput
}

type ExpressSyncMap added in v3.10.0

type ExpressSyncMap map[string]ExpressSyncInput

func (ExpressSyncMap) ElementType added in v3.10.0

func (ExpressSyncMap) ElementType() reflect.Type

func (ExpressSyncMap) ToExpressSyncMapOutput added in v3.10.0

func (i ExpressSyncMap) ToExpressSyncMapOutput() ExpressSyncMapOutput

func (ExpressSyncMap) ToExpressSyncMapOutputWithContext added in v3.10.0

func (i ExpressSyncMap) ToExpressSyncMapOutputWithContext(ctx context.Context) ExpressSyncMapOutput

type ExpressSyncMapInput added in v3.10.0

type ExpressSyncMapInput interface {
	pulumi.Input

	ToExpressSyncMapOutput() ExpressSyncMapOutput
	ToExpressSyncMapOutputWithContext(context.Context) ExpressSyncMapOutput
}

ExpressSyncMapInput is an input type that accepts ExpressSyncMap and ExpressSyncMapOutput values. You can construct a concrete instance of `ExpressSyncMapInput` via:

ExpressSyncMap{ "key": ExpressSyncArgs{...} }

type ExpressSyncMapOutput added in v3.10.0

type ExpressSyncMapOutput struct{ *pulumi.OutputState }

func (ExpressSyncMapOutput) ElementType added in v3.10.0

func (ExpressSyncMapOutput) ElementType() reflect.Type

func (ExpressSyncMapOutput) MapIndex added in v3.10.0

func (ExpressSyncMapOutput) ToExpressSyncMapOutput added in v3.10.0

func (o ExpressSyncMapOutput) ToExpressSyncMapOutput() ExpressSyncMapOutput

func (ExpressSyncMapOutput) ToExpressSyncMapOutputWithContext added in v3.10.0

func (o ExpressSyncMapOutput) ToExpressSyncMapOutputWithContext(ctx context.Context) ExpressSyncMapOutput

type ExpressSyncOutput added in v3.10.0

type ExpressSyncOutput struct{ *pulumi.OutputState }

func (ExpressSyncOutput) BucketName added in v3.27.0

func (o ExpressSyncOutput) BucketName() pulumi.StringOutput

The name of the OSS Bucket.

func (ExpressSyncOutput) BucketPrefix added in v3.27.0

func (o ExpressSyncOutput) BucketPrefix() pulumi.StringPtrOutput

The prefix of the OSS Bucket.

func (ExpressSyncOutput) BucketRegion added in v3.27.0

func (o ExpressSyncOutput) BucketRegion() pulumi.StringOutput

The region of the OSS Bucket.

func (ExpressSyncOutput) Description added in v3.27.0

func (o ExpressSyncOutput) Description() pulumi.StringPtrOutput

The description of the Express Sync. The length of the name is limited to `1` to `255` characters.

func (ExpressSyncOutput) ElementType added in v3.10.0

func (ExpressSyncOutput) ElementType() reflect.Type

func (ExpressSyncOutput) ExpressSyncName added in v3.27.0

func (o ExpressSyncOutput) ExpressSyncName() pulumi.StringOutput

The name of the ExpressSync. The length of the name is limited to `1` to `128` characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with letters.

func (ExpressSyncOutput) ToExpressSyncOutput added in v3.10.0

func (o ExpressSyncOutput) ToExpressSyncOutput() ExpressSyncOutput

func (ExpressSyncOutput) ToExpressSyncOutputWithContext added in v3.10.0

func (o ExpressSyncOutput) ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput

type ExpressSyncShareAttachment added in v3.10.0

type ExpressSyncShareAttachment struct {
	pulumi.CustomResourceState

	// The ID of the ExpressSync.
	ExpressSyncId pulumi.StringOutput `pulumi:"expressSyncId"`
	// The ID of the Gateway.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The name of the GatewayFileShare. **NOTE:** When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.
	ShareName pulumi.StringOutput `pulumi:"shareName"`
}

Provides a Cloud Storage Gateway Express Sync Share Attachment resource.

For information about Cloud Storage Gateway Express Sync Share Attachment and how to use it, see [What is Express Sync Share Attachment](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/addsharestoexpresssync).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Express Sync Share Attachment can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/expressSyncShareAttachment:ExpressSyncShareAttachment example <express_sync_id>:<gateway_id>:<share_name> ```

func GetExpressSyncShareAttachment added in v3.10.0

func GetExpressSyncShareAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExpressSyncShareAttachmentState, opts ...pulumi.ResourceOption) (*ExpressSyncShareAttachment, error)

GetExpressSyncShareAttachment gets an existing ExpressSyncShareAttachment 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 NewExpressSyncShareAttachment added in v3.10.0

func NewExpressSyncShareAttachment(ctx *pulumi.Context,
	name string, args *ExpressSyncShareAttachmentArgs, opts ...pulumi.ResourceOption) (*ExpressSyncShareAttachment, error)

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

func (*ExpressSyncShareAttachment) ElementType added in v3.10.0

func (*ExpressSyncShareAttachment) ElementType() reflect.Type

func (*ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutput added in v3.10.0

func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput

func (*ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutputWithContext added in v3.10.0

func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput

type ExpressSyncShareAttachmentArgs added in v3.10.0

type ExpressSyncShareAttachmentArgs struct {
	// The ID of the ExpressSync.
	ExpressSyncId pulumi.StringInput
	// The ID of the Gateway.
	GatewayId pulumi.StringInput
	// The name of the GatewayFileShare. **NOTE:** When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.
	ShareName pulumi.StringInput
}

The set of arguments for constructing a ExpressSyncShareAttachment resource.

func (ExpressSyncShareAttachmentArgs) ElementType added in v3.10.0

type ExpressSyncShareAttachmentArray added in v3.10.0

type ExpressSyncShareAttachmentArray []ExpressSyncShareAttachmentInput

func (ExpressSyncShareAttachmentArray) ElementType added in v3.10.0

func (ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutput added in v3.10.0

func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput

func (ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutputWithContext added in v3.10.0

func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput

type ExpressSyncShareAttachmentArrayInput added in v3.10.0

type ExpressSyncShareAttachmentArrayInput interface {
	pulumi.Input

	ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput
	ToExpressSyncShareAttachmentArrayOutputWithContext(context.Context) ExpressSyncShareAttachmentArrayOutput
}

ExpressSyncShareAttachmentArrayInput is an input type that accepts ExpressSyncShareAttachmentArray and ExpressSyncShareAttachmentArrayOutput values. You can construct a concrete instance of `ExpressSyncShareAttachmentArrayInput` via:

ExpressSyncShareAttachmentArray{ ExpressSyncShareAttachmentArgs{...} }

type ExpressSyncShareAttachmentArrayOutput added in v3.10.0

type ExpressSyncShareAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ExpressSyncShareAttachmentArrayOutput) ElementType added in v3.10.0

func (ExpressSyncShareAttachmentArrayOutput) Index added in v3.10.0

func (ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutput added in v3.10.0

func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput

func (ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutputWithContext added in v3.10.0

func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput

type ExpressSyncShareAttachmentInput added in v3.10.0

type ExpressSyncShareAttachmentInput interface {
	pulumi.Input

	ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput
	ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput
}

type ExpressSyncShareAttachmentMap added in v3.10.0

type ExpressSyncShareAttachmentMap map[string]ExpressSyncShareAttachmentInput

func (ExpressSyncShareAttachmentMap) ElementType added in v3.10.0

func (ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutput added in v3.10.0

func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput

func (ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutputWithContext added in v3.10.0

func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput

type ExpressSyncShareAttachmentMapInput added in v3.10.0

type ExpressSyncShareAttachmentMapInput interface {
	pulumi.Input

	ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput
	ToExpressSyncShareAttachmentMapOutputWithContext(context.Context) ExpressSyncShareAttachmentMapOutput
}

ExpressSyncShareAttachmentMapInput is an input type that accepts ExpressSyncShareAttachmentMap and ExpressSyncShareAttachmentMapOutput values. You can construct a concrete instance of `ExpressSyncShareAttachmentMapInput` via:

ExpressSyncShareAttachmentMap{ "key": ExpressSyncShareAttachmentArgs{...} }

type ExpressSyncShareAttachmentMapOutput added in v3.10.0

type ExpressSyncShareAttachmentMapOutput struct{ *pulumi.OutputState }

func (ExpressSyncShareAttachmentMapOutput) ElementType added in v3.10.0

func (ExpressSyncShareAttachmentMapOutput) MapIndex added in v3.10.0

func (ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutput added in v3.10.0

func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput

func (ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutputWithContext added in v3.10.0

func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput

type ExpressSyncShareAttachmentOutput added in v3.10.0

type ExpressSyncShareAttachmentOutput struct{ *pulumi.OutputState }

func (ExpressSyncShareAttachmentOutput) ElementType added in v3.10.0

func (ExpressSyncShareAttachmentOutput) ExpressSyncId added in v3.27.0

The ID of the ExpressSync.

func (ExpressSyncShareAttachmentOutput) GatewayId added in v3.27.0

The ID of the Gateway.

func (ExpressSyncShareAttachmentOutput) ShareName added in v3.27.0

The name of the GatewayFileShare. **NOTE:** When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.

func (ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutput added in v3.10.0

func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput

func (ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutputWithContext added in v3.10.0

func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput

type ExpressSyncShareAttachmentState added in v3.10.0

type ExpressSyncShareAttachmentState struct {
	// The ID of the ExpressSync.
	ExpressSyncId pulumi.StringPtrInput
	// The ID of the Gateway.
	GatewayId pulumi.StringPtrInput
	// The name of the GatewayFileShare. **NOTE:** When GatewayFileShare is associated with a speed sync group, its reverse synchronization function will be turned off by default.
	ShareName pulumi.StringPtrInput
}

func (ExpressSyncShareAttachmentState) ElementType added in v3.10.0

type ExpressSyncState added in v3.10.0

type ExpressSyncState struct {
	// The name of the OSS Bucket.
	BucketName pulumi.StringPtrInput
	// The prefix of the OSS Bucket.
	BucketPrefix pulumi.StringPtrInput
	// The region of the OSS Bucket.
	BucketRegion pulumi.StringPtrInput
	// The description of the Express Sync. The length of the name is limited to `1` to `255` characters.
	Description pulumi.StringPtrInput
	// The name of the ExpressSync. The length of the name is limited to `1` to `128` characters. It can contain uppercase and lowercase letters, Chinese characters, numbers, English periods (.), underscores (_), or hyphens (-), and must start with  letters.
	ExpressSyncName pulumi.StringPtrInput
}

func (ExpressSyncState) ElementType added in v3.10.0

func (ExpressSyncState) ElementType() reflect.Type

type Gateway added in v3.7.0

type Gateway struct {
	pulumi.CustomResourceState

	// the description of gateway.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// the gateway class. the valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`
	GatewayClass pulumi.StringPtrOutput `pulumi:"gatewayClass"`
	// the name of gateway.
	GatewayName pulumi.StringOutput `pulumi:"gatewayName"`
	// gateway location. the valid values: `Cloud`, `On_Premise`.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Payment type of gateway. The valid value: `PayAsYouGo`.
	PaymentType pulumi.StringPtrOutput `pulumi:"paymentType"`
	// The public network bandwidth of gateway. Valid values between `5` and `200`. Defaults to `5`.
	PublicNetworkBandwidth pulumi.IntOutput `pulumi:"publicNetworkBandwidth"`
	// The reason detail of gateway.
	ReasonDetail pulumi.StringPtrOutput `pulumi:"reasonDetail"`
	// The reason type when user deletes the gateway.
	ReasonType pulumi.StringPtrOutput `pulumi:"reasonType"`
	// Whether to release the gateway due to expiration.
	ReleaseAfterExpiration pulumi.BoolPtrOutput `pulumi:"releaseAfterExpiration"`
	// gateway status.
	Status pulumi.StringOutput `pulumi:"status"`
	// storage bundle id.
	StorageBundleId pulumi.StringOutput `pulumi:"storageBundleId"`
	// gateway type. the valid values: `Type`, `Iscsi`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The vswitch id of gateway.
	VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"`
}

Provides a Cloud Storage Gateway: Gateway resource.

For information about Cloud Storage Gateway Gateway and how to use it, see [What is Gateway](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/deploygateway).

> **NOTE:** Available since v1.132.0.

## Import

Cloud Storage Gateway Gateway can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gateway:Gateway example <id> ```

func GetGateway added in v3.7.0

func GetGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)

GetGateway gets an existing Gateway 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 NewGateway added in v3.7.0

func NewGateway(ctx *pulumi.Context,
	name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)

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

func (*Gateway) ElementType added in v3.7.0

func (*Gateway) ElementType() reflect.Type

func (*Gateway) ToGatewayOutput added in v3.7.0

func (i *Gateway) ToGatewayOutput() GatewayOutput

func (*Gateway) ToGatewayOutputWithContext added in v3.7.0

func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

type GatewayArgs added in v3.7.0

type GatewayArgs struct {
	// the description of gateway.
	Description pulumi.StringPtrInput
	// the gateway class. the valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`
	GatewayClass pulumi.StringPtrInput
	// the name of gateway.
	GatewayName pulumi.StringInput
	// gateway location. the valid values: `Cloud`, `On_Premise`.
	Location pulumi.StringInput
	// The Payment type of gateway. The valid value: `PayAsYouGo`.
	PaymentType pulumi.StringPtrInput
	// The public network bandwidth of gateway. Valid values between `5` and `200`. Defaults to `5`.
	PublicNetworkBandwidth pulumi.IntPtrInput
	// The reason detail of gateway.
	ReasonDetail pulumi.StringPtrInput
	// The reason type when user deletes the gateway.
	ReasonType pulumi.StringPtrInput
	// Whether to release the gateway due to expiration.
	ReleaseAfterExpiration pulumi.BoolPtrInput
	// storage bundle id.
	StorageBundleId pulumi.StringInput
	// gateway type. the valid values: `Type`, `Iscsi`.
	Type pulumi.StringInput
	// The vswitch id of gateway.
	VswitchId pulumi.StringPtrInput
}

The set of arguments for constructing a Gateway resource.

func (GatewayArgs) ElementType added in v3.7.0

func (GatewayArgs) ElementType() reflect.Type

type GatewayArray added in v3.7.0

type GatewayArray []GatewayInput

func (GatewayArray) ElementType added in v3.7.0

func (GatewayArray) ElementType() reflect.Type

func (GatewayArray) ToGatewayArrayOutput added in v3.7.0

func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArray) ToGatewayArrayOutputWithContext added in v3.7.0

func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayArrayInput added in v3.7.0

type GatewayArrayInput interface {
	pulumi.Input

	ToGatewayArrayOutput() GatewayArrayOutput
	ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput
}

GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:

GatewayArray{ GatewayArgs{...} }

type GatewayArrayOutput added in v3.7.0

type GatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewayArrayOutput) ElementType added in v3.7.0

func (GatewayArrayOutput) ElementType() reflect.Type

func (GatewayArrayOutput) Index added in v3.7.0

func (GatewayArrayOutput) ToGatewayArrayOutput added in v3.7.0

func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArrayOutput) ToGatewayArrayOutputWithContext added in v3.7.0

func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayBlockVolume added in v3.10.0

type GatewayBlockVolume struct {
	pulumi.CustomResourceState

	// The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
	CacheMode pulumi.StringOutput `pulumi:"cacheMode"`
	// Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication.  Default value: `false`.
	ChapEnabled pulumi.BoolOutput `pulumi:"chapEnabled"`
	// The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInPassword pulumi.StringPtrOutput `pulumi:"chapInPassword"`
	// The Inbound CHAP user. The `chapInUser` must be 1 to 32 characters in length, and can contain letters and digits. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInUser pulumi.StringPtrOutput `pulumi:"chapInUser"`
	// The Block volume storage allocation unit.  Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
	ChunkSize pulumi.IntOutput `pulumi:"chunkSize"`
	// The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
	GatewayBlockVolumeName pulumi.StringOutput `pulumi:"gatewayBlockVolumeName"`
	// The Gateway ID.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The ID of the index.
	IndexId pulumi.StringOutput `pulumi:"indexId"`
	// Whether to delete the source data. Default value `true`. **NOTE:** When `isSourceDeletion` is `true`, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
	IsSourceDeletion pulumi.BoolPtrOutput `pulumi:"isSourceDeletion"`
	// The Cache disk to local path. **NOTE:**  When the `cacheMode` is  `Cache` is,The `chapInPassword` is valid.
	LocalPath pulumi.StringPtrOutput `pulumi:"localPath"`
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringOutput `pulumi:"ossBucketName"`
	// Whether to enable SSL access your OSS Buckets. Default value: `true`.
	OssBucketSsl pulumi.BoolOutput `pulumi:"ossBucketSsl"`
	// The endpoint of the OSS Bucket.
	OssEndpoint pulumi.StringOutput `pulumi:"ossEndpoint"`
	// The Protocol. Valid values: `iSCSI`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The recovery.
	Recovery pulumi.BoolPtrOutput `pulumi:"recovery"`
	// The Volume size. Valid values: `1` to `262144`. Unit: `Byte`.
	Size pulumi.IntOutput `pulumi:"size"`
	// The status of volume. Valid values:
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Storage Gateway Gateway Block Volume resource.

For information about Cloud Storage Gateway Gateway Block Volume and how to use it, see [What is Gateway Block Volume](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/creategatewayblockvolume).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Gateway Block Volume can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gatewayBlockVolume:GatewayBlockVolume example <gateway_id>:<index_id> ```

func GetGatewayBlockVolume added in v3.10.0

func GetGatewayBlockVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayBlockVolumeState, opts ...pulumi.ResourceOption) (*GatewayBlockVolume, error)

GetGatewayBlockVolume gets an existing GatewayBlockVolume 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 NewGatewayBlockVolume added in v3.10.0

func NewGatewayBlockVolume(ctx *pulumi.Context,
	name string, args *GatewayBlockVolumeArgs, opts ...pulumi.ResourceOption) (*GatewayBlockVolume, error)

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

func (*GatewayBlockVolume) ElementType added in v3.10.0

func (*GatewayBlockVolume) ElementType() reflect.Type

func (*GatewayBlockVolume) ToGatewayBlockVolumeOutput added in v3.10.0

func (i *GatewayBlockVolume) ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput

func (*GatewayBlockVolume) ToGatewayBlockVolumeOutputWithContext added in v3.10.0

func (i *GatewayBlockVolume) ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput

type GatewayBlockVolumeArgs added in v3.10.0

type GatewayBlockVolumeArgs struct {
	// The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
	CacheMode pulumi.StringPtrInput
	// Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication.  Default value: `false`.
	ChapEnabled pulumi.BoolPtrInput
	// The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInPassword pulumi.StringPtrInput
	// The Inbound CHAP user. The `chapInUser` must be 1 to 32 characters in length, and can contain letters and digits. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInUser pulumi.StringPtrInput
	// The Block volume storage allocation unit.  Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
	ChunkSize pulumi.IntPtrInput
	// The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
	GatewayBlockVolumeName pulumi.StringInput
	// The Gateway ID.
	GatewayId pulumi.StringInput
	// Whether to delete the source data. Default value `true`. **NOTE:** When `isSourceDeletion` is `true`, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
	IsSourceDeletion pulumi.BoolPtrInput
	// The Cache disk to local path. **NOTE:**  When the `cacheMode` is  `Cache` is,The `chapInPassword` is valid.
	LocalPath pulumi.StringPtrInput
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringInput
	// Whether to enable SSL access your OSS Buckets. Default value: `true`.
	OssBucketSsl pulumi.BoolPtrInput
	// The endpoint of the OSS Bucket.
	OssEndpoint pulumi.StringInput
	// The Protocol. Valid values: `iSCSI`.
	Protocol pulumi.StringInput
	// The recovery.
	Recovery pulumi.BoolPtrInput
	// The Volume size. Valid values: `1` to `262144`. Unit: `Byte`.
	Size pulumi.IntPtrInput
}

The set of arguments for constructing a GatewayBlockVolume resource.

func (GatewayBlockVolumeArgs) ElementType added in v3.10.0

func (GatewayBlockVolumeArgs) ElementType() reflect.Type

type GatewayBlockVolumeArray added in v3.10.0

type GatewayBlockVolumeArray []GatewayBlockVolumeInput

func (GatewayBlockVolumeArray) ElementType added in v3.10.0

func (GatewayBlockVolumeArray) ElementType() reflect.Type

func (GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutput added in v3.10.0

func (i GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput

func (GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutputWithContext added in v3.10.0

func (i GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutputWithContext(ctx context.Context) GatewayBlockVolumeArrayOutput

type GatewayBlockVolumeArrayInput added in v3.10.0

type GatewayBlockVolumeArrayInput interface {
	pulumi.Input

	ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput
	ToGatewayBlockVolumeArrayOutputWithContext(context.Context) GatewayBlockVolumeArrayOutput
}

GatewayBlockVolumeArrayInput is an input type that accepts GatewayBlockVolumeArray and GatewayBlockVolumeArrayOutput values. You can construct a concrete instance of `GatewayBlockVolumeArrayInput` via:

GatewayBlockVolumeArray{ GatewayBlockVolumeArgs{...} }

type GatewayBlockVolumeArrayOutput added in v3.10.0

type GatewayBlockVolumeArrayOutput struct{ *pulumi.OutputState }

func (GatewayBlockVolumeArrayOutput) ElementType added in v3.10.0

func (GatewayBlockVolumeArrayOutput) Index added in v3.10.0

func (GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutput added in v3.10.0

func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput

func (GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutputWithContext added in v3.10.0

func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutputWithContext(ctx context.Context) GatewayBlockVolumeArrayOutput

type GatewayBlockVolumeInput added in v3.10.0

type GatewayBlockVolumeInput interface {
	pulumi.Input

	ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput
	ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput
}

type GatewayBlockVolumeMap added in v3.10.0

type GatewayBlockVolumeMap map[string]GatewayBlockVolumeInput

func (GatewayBlockVolumeMap) ElementType added in v3.10.0

func (GatewayBlockVolumeMap) ElementType() reflect.Type

func (GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutput added in v3.10.0

func (i GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput

func (GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutputWithContext added in v3.10.0

func (i GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutputWithContext(ctx context.Context) GatewayBlockVolumeMapOutput

type GatewayBlockVolumeMapInput added in v3.10.0

type GatewayBlockVolumeMapInput interface {
	pulumi.Input

	ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput
	ToGatewayBlockVolumeMapOutputWithContext(context.Context) GatewayBlockVolumeMapOutput
}

GatewayBlockVolumeMapInput is an input type that accepts GatewayBlockVolumeMap and GatewayBlockVolumeMapOutput values. You can construct a concrete instance of `GatewayBlockVolumeMapInput` via:

GatewayBlockVolumeMap{ "key": GatewayBlockVolumeArgs{...} }

type GatewayBlockVolumeMapOutput added in v3.10.0

type GatewayBlockVolumeMapOutput struct{ *pulumi.OutputState }

func (GatewayBlockVolumeMapOutput) ElementType added in v3.10.0

func (GatewayBlockVolumeMapOutput) MapIndex added in v3.10.0

func (GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutput added in v3.10.0

func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput

func (GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutputWithContext added in v3.10.0

func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutputWithContext(ctx context.Context) GatewayBlockVolumeMapOutput

type GatewayBlockVolumeOutput added in v3.10.0

type GatewayBlockVolumeOutput struct{ *pulumi.OutputState }

func (GatewayBlockVolumeOutput) CacheMode added in v3.27.0

The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.

func (GatewayBlockVolumeOutput) ChapEnabled added in v3.27.0

func (o GatewayBlockVolumeOutput) ChapEnabled() pulumi.BoolOutput

Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: `false`.

func (GatewayBlockVolumeOutput) ChapInPassword added in v3.27.0

func (o GatewayBlockVolumeOutput) ChapInPassword() pulumi.StringPtrOutput

The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. **NOTE:** When the `chapEnabled` is `true` is,The `chapInPassword` is valid.

func (GatewayBlockVolumeOutput) ChapInUser added in v3.27.0

The Inbound CHAP user. The `chapInUser` must be 1 to 32 characters in length, and can contain letters and digits. **NOTE:** When the `chapEnabled` is `true` is,The `chapInPassword` is valid.

func (GatewayBlockVolumeOutput) ChunkSize added in v3.27.0

The Block volume storage allocation unit. Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.

func (GatewayBlockVolumeOutput) ElementType added in v3.10.0

func (GatewayBlockVolumeOutput) ElementType() reflect.Type

func (GatewayBlockVolumeOutput) GatewayBlockVolumeName added in v3.27.0

func (o GatewayBlockVolumeOutput) GatewayBlockVolumeName() pulumi.StringOutput

The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.

func (GatewayBlockVolumeOutput) GatewayId added in v3.27.0

The Gateway ID.

func (GatewayBlockVolumeOutput) IndexId added in v3.27.0

The ID of the index.

func (GatewayBlockVolumeOutput) IsSourceDeletion added in v3.27.0

func (o GatewayBlockVolumeOutput) IsSourceDeletion() pulumi.BoolPtrOutput

Whether to delete the source data. Default value `true`. **NOTE:** When `isSourceDeletion` is `true`, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.

func (GatewayBlockVolumeOutput) LocalPath added in v3.27.0

The Cache disk to local path. **NOTE:** When the `cacheMode` is `Cache` is,The `chapInPassword` is valid.

func (GatewayBlockVolumeOutput) OssBucketName added in v3.27.0

func (o GatewayBlockVolumeOutput) OssBucketName() pulumi.StringOutput

The name of the OSS Bucket.

func (GatewayBlockVolumeOutput) OssBucketSsl added in v3.27.0

func (o GatewayBlockVolumeOutput) OssBucketSsl() pulumi.BoolOutput

Whether to enable SSL access your OSS Buckets. Default value: `true`.

func (GatewayBlockVolumeOutput) OssEndpoint added in v3.27.0

The endpoint of the OSS Bucket.

func (GatewayBlockVolumeOutput) Protocol added in v3.27.0

The Protocol. Valid values: `iSCSI`.

func (GatewayBlockVolumeOutput) Recovery added in v3.27.0

The recovery.

func (GatewayBlockVolumeOutput) Size added in v3.27.0

The Volume size. Valid values: `1` to `262144`. Unit: `Byte`.

func (GatewayBlockVolumeOutput) Status added in v3.27.0

The status of volume. Valid values:

func (GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutput added in v3.10.0

func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput

func (GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutputWithContext added in v3.10.0

func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput

type GatewayBlockVolumeState added in v3.10.0

type GatewayBlockVolumeState struct {
	// The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
	CacheMode pulumi.StringPtrInput
	// Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication.  Default value: `false`.
	ChapEnabled pulumi.BoolPtrInput
	// The password for inbound authentication when the block volume enables iSCSI access to CHAP authentication. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInPassword pulumi.StringPtrInput
	// The Inbound CHAP user. The `chapInUser` must be 1 to 32 characters in length, and can contain letters and digits. **NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInUser pulumi.StringPtrInput
	// The Block volume storage allocation unit.  Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
	ChunkSize pulumi.IntPtrInput
	// The Block volume name. The name must be 1 to 32 characters in length, and can contain lower case letters and digits.
	GatewayBlockVolumeName pulumi.StringPtrInput
	// The Gateway ID.
	GatewayId pulumi.StringPtrInput
	// The ID of the index.
	IndexId pulumi.StringPtrInput
	// Whether to delete the source data. Default value `true`. **NOTE:** When `isSourceDeletion` is `true`, the data in the OSS Bucket on the cloud is also deleted when deleting the block gateway volume. Please operate with caution.
	IsSourceDeletion pulumi.BoolPtrInput
	// The Cache disk to local path. **NOTE:**  When the `cacheMode` is  `Cache` is,The `chapInPassword` is valid.
	LocalPath pulumi.StringPtrInput
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringPtrInput
	// Whether to enable SSL access your OSS Buckets. Default value: `true`.
	OssBucketSsl pulumi.BoolPtrInput
	// The endpoint of the OSS Bucket.
	OssEndpoint pulumi.StringPtrInput
	// The Protocol. Valid values: `iSCSI`.
	Protocol pulumi.StringPtrInput
	// The recovery.
	Recovery pulumi.BoolPtrInput
	// The Volume size. Valid values: `1` to `262144`. Unit: `Byte`.
	Size pulumi.IntPtrInput
	// The status of volume. Valid values:
	Status pulumi.StringPtrInput
}

func (GatewayBlockVolumeState) ElementType added in v3.10.0

func (GatewayBlockVolumeState) ElementType() reflect.Type

type GatewayCacheDisk added in v3.10.0

type GatewayCacheDisk struct {
	pulumi.CustomResourceState

	// The cache disk type. Valid values: `cloudEfficiency`, `cloudSsd`.
	CacheDiskCategory pulumi.StringOutput `pulumi:"cacheDiskCategory"`
	// size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
	CacheDiskSizeInGb pulumi.IntOutput `pulumi:"cacheDiskSizeInGb"`
	// The ID of the cache.
	CacheId pulumi.StringOutput `pulumi:"cacheId"`
	// The ID of the gateway.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The cache disk inside the device name.
	LocalFilePath pulumi.StringOutput `pulumi:"localFilePath"`
	// The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
	Status pulumi.IntOutput `pulumi:"status"`
}

Provides a Cloud Storage Gateway Gateway Cache Disk resource.

For information about Cloud Storage Gateway Gateway Cache Disk and how to use it, see [What is Gateway Cache Disk](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/creategatewaycachedisk).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gatewayCacheDisk:GatewayCacheDisk example <gateway_id>:<cache_id>:<local_file_path> ```

func GetGatewayCacheDisk added in v3.10.0

func GetGatewayCacheDisk(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayCacheDiskState, opts ...pulumi.ResourceOption) (*GatewayCacheDisk, error)

GetGatewayCacheDisk gets an existing GatewayCacheDisk 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 NewGatewayCacheDisk added in v3.10.0

func NewGatewayCacheDisk(ctx *pulumi.Context,
	name string, args *GatewayCacheDiskArgs, opts ...pulumi.ResourceOption) (*GatewayCacheDisk, error)

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

func (*GatewayCacheDisk) ElementType added in v3.10.0

func (*GatewayCacheDisk) ElementType() reflect.Type

func (*GatewayCacheDisk) ToGatewayCacheDiskOutput added in v3.10.0

func (i *GatewayCacheDisk) ToGatewayCacheDiskOutput() GatewayCacheDiskOutput

func (*GatewayCacheDisk) ToGatewayCacheDiskOutputWithContext added in v3.10.0

func (i *GatewayCacheDisk) ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput

type GatewayCacheDiskArgs added in v3.10.0

type GatewayCacheDiskArgs struct {
	// The cache disk type. Valid values: `cloudEfficiency`, `cloudSsd`.
	CacheDiskCategory pulumi.StringPtrInput
	// size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
	CacheDiskSizeInGb pulumi.IntInput
	// The ID of the gateway.
	GatewayId pulumi.StringInput
}

The set of arguments for constructing a GatewayCacheDisk resource.

func (GatewayCacheDiskArgs) ElementType added in v3.10.0

func (GatewayCacheDiskArgs) ElementType() reflect.Type

type GatewayCacheDiskArray added in v3.10.0

type GatewayCacheDiskArray []GatewayCacheDiskInput

func (GatewayCacheDiskArray) ElementType added in v3.10.0

func (GatewayCacheDiskArray) ElementType() reflect.Type

func (GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutput added in v3.10.0

func (i GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput

func (GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutputWithContext added in v3.10.0

func (i GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutputWithContext(ctx context.Context) GatewayCacheDiskArrayOutput

type GatewayCacheDiskArrayInput added in v3.10.0

type GatewayCacheDiskArrayInput interface {
	pulumi.Input

	ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput
	ToGatewayCacheDiskArrayOutputWithContext(context.Context) GatewayCacheDiskArrayOutput
}

GatewayCacheDiskArrayInput is an input type that accepts GatewayCacheDiskArray and GatewayCacheDiskArrayOutput values. You can construct a concrete instance of `GatewayCacheDiskArrayInput` via:

GatewayCacheDiskArray{ GatewayCacheDiskArgs{...} }

type GatewayCacheDiskArrayOutput added in v3.10.0

type GatewayCacheDiskArrayOutput struct{ *pulumi.OutputState }

func (GatewayCacheDiskArrayOutput) ElementType added in v3.10.0

func (GatewayCacheDiskArrayOutput) Index added in v3.10.0

func (GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutput added in v3.10.0

func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput

func (GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutputWithContext added in v3.10.0

func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutputWithContext(ctx context.Context) GatewayCacheDiskArrayOutput

type GatewayCacheDiskInput added in v3.10.0

type GatewayCacheDiskInput interface {
	pulumi.Input

	ToGatewayCacheDiskOutput() GatewayCacheDiskOutput
	ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput
}

type GatewayCacheDiskMap added in v3.10.0

type GatewayCacheDiskMap map[string]GatewayCacheDiskInput

func (GatewayCacheDiskMap) ElementType added in v3.10.0

func (GatewayCacheDiskMap) ElementType() reflect.Type

func (GatewayCacheDiskMap) ToGatewayCacheDiskMapOutput added in v3.10.0

func (i GatewayCacheDiskMap) ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput

func (GatewayCacheDiskMap) ToGatewayCacheDiskMapOutputWithContext added in v3.10.0

func (i GatewayCacheDiskMap) ToGatewayCacheDiskMapOutputWithContext(ctx context.Context) GatewayCacheDiskMapOutput

type GatewayCacheDiskMapInput added in v3.10.0

type GatewayCacheDiskMapInput interface {
	pulumi.Input

	ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput
	ToGatewayCacheDiskMapOutputWithContext(context.Context) GatewayCacheDiskMapOutput
}

GatewayCacheDiskMapInput is an input type that accepts GatewayCacheDiskMap and GatewayCacheDiskMapOutput values. You can construct a concrete instance of `GatewayCacheDiskMapInput` via:

GatewayCacheDiskMap{ "key": GatewayCacheDiskArgs{...} }

type GatewayCacheDiskMapOutput added in v3.10.0

type GatewayCacheDiskMapOutput struct{ *pulumi.OutputState }

func (GatewayCacheDiskMapOutput) ElementType added in v3.10.0

func (GatewayCacheDiskMapOutput) ElementType() reflect.Type

func (GatewayCacheDiskMapOutput) MapIndex added in v3.10.0

func (GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutput added in v3.10.0

func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput

func (GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutputWithContext added in v3.10.0

func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutputWithContext(ctx context.Context) GatewayCacheDiskMapOutput

type GatewayCacheDiskOutput added in v3.10.0

type GatewayCacheDiskOutput struct{ *pulumi.OutputState }

func (GatewayCacheDiskOutput) CacheDiskCategory added in v3.27.0

func (o GatewayCacheDiskOutput) CacheDiskCategory() pulumi.StringOutput

The cache disk type. Valid values: `cloudEfficiency`, `cloudSsd`.

func (GatewayCacheDiskOutput) CacheDiskSizeInGb added in v3.27.0

func (o GatewayCacheDiskOutput) CacheDiskSizeInGb() pulumi.IntOutput

size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.

func (GatewayCacheDiskOutput) CacheId added in v3.27.0

The ID of the cache.

func (GatewayCacheDiskOutput) ElementType added in v3.10.0

func (GatewayCacheDiskOutput) ElementType() reflect.Type

func (GatewayCacheDiskOutput) GatewayId added in v3.27.0

The ID of the gateway.

func (GatewayCacheDiskOutput) LocalFilePath added in v3.27.0

func (o GatewayCacheDiskOutput) LocalFilePath() pulumi.StringOutput

The cache disk inside the device name.

func (GatewayCacheDiskOutput) Status added in v3.27.0

The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.

func (GatewayCacheDiskOutput) ToGatewayCacheDiskOutput added in v3.10.0

func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutput() GatewayCacheDiskOutput

func (GatewayCacheDiskOutput) ToGatewayCacheDiskOutputWithContext added in v3.10.0

func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput

type GatewayCacheDiskState added in v3.10.0

type GatewayCacheDiskState struct {
	// The cache disk type. Valid values: `cloudEfficiency`, `cloudSsd`.
	CacheDiskCategory pulumi.StringPtrInput
	// size of the cache disk. Unit: `GB`. The upper limit of the basic gateway cache disk is `1` TB (`1024` GB), that of the standard gateway is `2` TB (`2048` GB), and that of other gateway cache disks is `32` TB (`32768` GB). The lower limit for the file gateway cache disk capacity is `40` GB, and the lower limit for the block gateway cache disk capacity is `20` GB.
	CacheDiskSizeInGb pulumi.IntPtrInput
	// The ID of the cache.
	CacheId pulumi.StringPtrInput
	// The ID of the gateway.
	GatewayId pulumi.StringPtrInput
	// The cache disk inside the device name.
	LocalFilePath pulumi.StringPtrInput
	// The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
	Status pulumi.IntPtrInput
}

func (GatewayCacheDiskState) ElementType added in v3.10.0

func (GatewayCacheDiskState) ElementType() reflect.Type

type GatewayFileShare added in v3.10.0

type GatewayFileShare struct {
	pulumi.CustomResourceState

	// Whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	AccessBasedEnumeration pulumi.BoolOutput `pulumi:"accessBasedEnumeration"`
	// The Max upload speed of the gateway file share. Unit: `MB/s`, 0 means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.
	BackendLimit pulumi.IntOutput `pulumi:"backendLimit"`
	// The whether browsable of the gateway file share (that is, in the network neighborhood of whether you can find). The attribute is valid when the attribute `protocol` is `SMB`. Default value: `true`.
	Browsable pulumi.BoolOutput `pulumi:"browsable"`
	// Direct reading OSS of the gateway file share.
	BypassCacheRead pulumi.BoolOutput `pulumi:"bypassCacheRead"`
	// The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
	CacheMode pulumi.StringOutput `pulumi:"cacheMode"`
	// File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value: `false`.
	DirectIo pulumi.BoolOutput `pulumi:"directIo"`
	// The maximum download speed of the gateway file share. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.
	DownloadLimit pulumi.IntOutput `pulumi:"downloadLimit"`
	// The whether to enable Upload optimization of the gateway file share, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.
	FastReclaim pulumi.BoolOutput `pulumi:"fastReclaim"`
	// The maximum write speed of the gateway file share. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.
	FeLimit pulumi.IntOutput `pulumi:"feLimit"`
	// The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.
	GatewayFileShareName pulumi.StringOutput `pulumi:"gatewayFileShareName"`
	// The ID of the gateway.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** `ignoreDelete` and `remoteSync` cannot be enabled simultaneously. Gateway version >= 1.0.40 above support.
	IgnoreDelete pulumi.BoolOutput `pulumi:"ignoreDelete"`
	// The whether debris optimization of the gateway file share. Default value: `false`.
	InPlace pulumi.BoolOutput `pulumi:"inPlace"`
	// The ID of the file share.
	IndexId pulumi.StringOutput `pulumi:"indexId"`
	// The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.
	LagPeriod pulumi.IntOutput `pulumi:"lagPeriod"`
	// The cache disk inside the device name.
	LocalPath pulumi.StringOutput `pulumi:"localPath"`
	// The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** If it is enabled, NFS V3 cannot be mounted. The attribute is valid when the attribute `protocol` is `NFS`. Gateway version >= 1.2.0 above support.
	NfsV4Optimization pulumi.BoolOutput `pulumi:"nfsV4Optimization"`
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringOutput `pulumi:"ossBucketName"`
	// Whether they are using SSL connect to OSS Bucket.
	OssBucketSsl pulumi.BoolOutput `pulumi:"ossBucketSsl"`
	// The gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`.
	OssEndpoint pulumi.StringOutput `pulumi:"ossEndpoint"`
	// In part mode, the directory path group JSON format.
	PartialSyncPaths pulumi.StringPtrOutput `pulumi:"partialSyncPaths"`
	// The subdirectory path under the object storage (OSS) bucket corresponding to the file share. If it is blank, it means the root directory of the bucket.
	PathPrefix pulumi.StringPtrOutput `pulumi:"pathPrefix"`
	// The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.
	PollingInterval pulumi.IntPtrOutput `pulumi:"pollingInterval"`
	// Share types. Valid values: `SMB`, `NFS`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
	RemoteSync pulumi.BoolOutput `pulumi:"remoteSync"`
	// Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the attribute `remoteSync` is `true` or acceded to by the speed synchronization group, this parameter will not take effect.
	RemoteSyncDownload pulumi.BoolOutput `pulumi:"remoteSyncDownload"`
	// File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
	RoClientList pulumi.StringPtrOutput `pulumi:"roClientList"`
	// The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
	RoUserList pulumi.StringPtrOutput `pulumi:"roUserList"`
	// Read and write the client list. When Protocol NFS is returned when the status is.
	RwClientList pulumi.StringPtrOutput `pulumi:"rwClientList"`
	// Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
	RwUserList pulumi.StringPtrOutput `pulumi:"rwUserList"`
	// The NFS protocol user mapping of the gateway file share. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`. **NOTE:** The attribute is valid when the attribute `protocol` is `NFS`.
	Squash pulumi.StringOutput `pulumi:"squash"`
	// Whether to support the archive transparent read.
	SupportArchive pulumi.BoolOutput `pulumi:"supportArchive"`
	// The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.
	TransferAcceleration pulumi.BoolOutput `pulumi:"transferAcceleration"`
	// Whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	WindowsAcl pulumi.BoolOutput `pulumi:"windowsAcl"`
}

Provides a Cloud Storage Gateway Gateway File Share resource.

For information about Cloud Storage Gateway Gateway File Share and how to use it, see [What is Gateway File Share](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/creategatewayfileshare).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Gateway File Share can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gatewayFileShare:GatewayFileShare example <gateway_id>:<index_id> ```

func GetGatewayFileShare added in v3.10.0

func GetGatewayFileShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayFileShareState, opts ...pulumi.ResourceOption) (*GatewayFileShare, error)

GetGatewayFileShare gets an existing GatewayFileShare 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 NewGatewayFileShare added in v3.10.0

func NewGatewayFileShare(ctx *pulumi.Context,
	name string, args *GatewayFileShareArgs, opts ...pulumi.ResourceOption) (*GatewayFileShare, error)

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

func (*GatewayFileShare) ElementType added in v3.10.0

func (*GatewayFileShare) ElementType() reflect.Type

func (*GatewayFileShare) ToGatewayFileShareOutput added in v3.10.0

func (i *GatewayFileShare) ToGatewayFileShareOutput() GatewayFileShareOutput

func (*GatewayFileShare) ToGatewayFileShareOutputWithContext added in v3.10.0

func (i *GatewayFileShare) ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput

type GatewayFileShareArgs added in v3.10.0

type GatewayFileShareArgs struct {
	// Whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	AccessBasedEnumeration pulumi.BoolPtrInput
	// The Max upload speed of the gateway file share. Unit: `MB/s`, 0 means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.
	BackendLimit pulumi.IntPtrInput
	// The whether browsable of the gateway file share (that is, in the network neighborhood of whether you can find). The attribute is valid when the attribute `protocol` is `SMB`. Default value: `true`.
	Browsable pulumi.BoolPtrInput
	// Direct reading OSS of the gateway file share.
	BypassCacheRead pulumi.BoolPtrInput
	// The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
	CacheMode pulumi.StringPtrInput
	// File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value: `false`.
	DirectIo pulumi.BoolPtrInput
	// The maximum download speed of the gateway file share. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.
	DownloadLimit pulumi.IntPtrInput
	// The whether to enable Upload optimization of the gateway file share, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.
	FastReclaim pulumi.BoolPtrInput
	// The maximum write speed of the gateway file share. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.
	FeLimit pulumi.IntPtrInput
	// The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.
	GatewayFileShareName pulumi.StringInput
	// The ID of the gateway.
	GatewayId pulumi.StringInput
	// The whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** `ignoreDelete` and `remoteSync` cannot be enabled simultaneously. Gateway version >= 1.0.40 above support.
	IgnoreDelete pulumi.BoolPtrInput
	// The whether debris optimization of the gateway file share. Default value: `false`.
	InPlace pulumi.BoolPtrInput
	// The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.
	LagPeriod pulumi.IntPtrInput
	// The cache disk inside the device name.
	LocalPath pulumi.StringInput
	// The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** If it is enabled, NFS V3 cannot be mounted. The attribute is valid when the attribute `protocol` is `NFS`. Gateway version >= 1.2.0 above support.
	NfsV4Optimization pulumi.BoolPtrInput
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringInput
	// Whether they are using SSL connect to OSS Bucket.
	OssBucketSsl pulumi.BoolPtrInput
	// The gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`.
	OssEndpoint pulumi.StringInput
	// In part mode, the directory path group JSON format.
	PartialSyncPaths pulumi.StringPtrInput
	// The subdirectory path under the object storage (OSS) bucket corresponding to the file share. If it is blank, it means the root directory of the bucket.
	PathPrefix pulumi.StringPtrInput
	// The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.
	PollingInterval pulumi.IntPtrInput
	// Share types. Valid values: `SMB`, `NFS`.
	Protocol pulumi.StringInput
	// Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
	RemoteSync pulumi.BoolPtrInput
	// Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the attribute `remoteSync` is `true` or acceded to by the speed synchronization group, this parameter will not take effect.
	RemoteSyncDownload pulumi.BoolPtrInput
	// File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
	RoClientList pulumi.StringPtrInput
	// The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
	RoUserList pulumi.StringPtrInput
	// Read and write the client list. When Protocol NFS is returned when the status is.
	RwClientList pulumi.StringPtrInput
	// Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
	RwUserList pulumi.StringPtrInput
	// The NFS protocol user mapping of the gateway file share. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`. **NOTE:** The attribute is valid when the attribute `protocol` is `NFS`.
	Squash pulumi.StringPtrInput
	// Whether to support the archive transparent read.
	SupportArchive pulumi.BoolPtrInput
	// The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.
	TransferAcceleration pulumi.BoolPtrInput
	// Whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	WindowsAcl pulumi.BoolPtrInput
}

The set of arguments for constructing a GatewayFileShare resource.

func (GatewayFileShareArgs) ElementType added in v3.10.0

func (GatewayFileShareArgs) ElementType() reflect.Type

type GatewayFileShareArray added in v3.10.0

type GatewayFileShareArray []GatewayFileShareInput

func (GatewayFileShareArray) ElementType added in v3.10.0

func (GatewayFileShareArray) ElementType() reflect.Type

func (GatewayFileShareArray) ToGatewayFileShareArrayOutput added in v3.10.0

func (i GatewayFileShareArray) ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput

func (GatewayFileShareArray) ToGatewayFileShareArrayOutputWithContext added in v3.10.0

func (i GatewayFileShareArray) ToGatewayFileShareArrayOutputWithContext(ctx context.Context) GatewayFileShareArrayOutput

type GatewayFileShareArrayInput added in v3.10.0

type GatewayFileShareArrayInput interface {
	pulumi.Input

	ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput
	ToGatewayFileShareArrayOutputWithContext(context.Context) GatewayFileShareArrayOutput
}

GatewayFileShareArrayInput is an input type that accepts GatewayFileShareArray and GatewayFileShareArrayOutput values. You can construct a concrete instance of `GatewayFileShareArrayInput` via:

GatewayFileShareArray{ GatewayFileShareArgs{...} }

type GatewayFileShareArrayOutput added in v3.10.0

type GatewayFileShareArrayOutput struct{ *pulumi.OutputState }

func (GatewayFileShareArrayOutput) ElementType added in v3.10.0

func (GatewayFileShareArrayOutput) Index added in v3.10.0

func (GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutput added in v3.10.0

func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput

func (GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutputWithContext added in v3.10.0

func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutputWithContext(ctx context.Context) GatewayFileShareArrayOutput

type GatewayFileShareInput added in v3.10.0

type GatewayFileShareInput interface {
	pulumi.Input

	ToGatewayFileShareOutput() GatewayFileShareOutput
	ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput
}

type GatewayFileShareMap added in v3.10.0

type GatewayFileShareMap map[string]GatewayFileShareInput

func (GatewayFileShareMap) ElementType added in v3.10.0

func (GatewayFileShareMap) ElementType() reflect.Type

func (GatewayFileShareMap) ToGatewayFileShareMapOutput added in v3.10.0

func (i GatewayFileShareMap) ToGatewayFileShareMapOutput() GatewayFileShareMapOutput

func (GatewayFileShareMap) ToGatewayFileShareMapOutputWithContext added in v3.10.0

func (i GatewayFileShareMap) ToGatewayFileShareMapOutputWithContext(ctx context.Context) GatewayFileShareMapOutput

type GatewayFileShareMapInput added in v3.10.0

type GatewayFileShareMapInput interface {
	pulumi.Input

	ToGatewayFileShareMapOutput() GatewayFileShareMapOutput
	ToGatewayFileShareMapOutputWithContext(context.Context) GatewayFileShareMapOutput
}

GatewayFileShareMapInput is an input type that accepts GatewayFileShareMap and GatewayFileShareMapOutput values. You can construct a concrete instance of `GatewayFileShareMapInput` via:

GatewayFileShareMap{ "key": GatewayFileShareArgs{...} }

type GatewayFileShareMapOutput added in v3.10.0

type GatewayFileShareMapOutput struct{ *pulumi.OutputState }

func (GatewayFileShareMapOutput) ElementType added in v3.10.0

func (GatewayFileShareMapOutput) ElementType() reflect.Type

func (GatewayFileShareMapOutput) MapIndex added in v3.10.0

func (GatewayFileShareMapOutput) ToGatewayFileShareMapOutput added in v3.10.0

func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutput() GatewayFileShareMapOutput

func (GatewayFileShareMapOutput) ToGatewayFileShareMapOutputWithContext added in v3.10.0

func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutputWithContext(ctx context.Context) GatewayFileShareMapOutput

type GatewayFileShareOutput added in v3.10.0

type GatewayFileShareOutput struct{ *pulumi.OutputState }

func (GatewayFileShareOutput) AccessBasedEnumeration added in v3.27.0

func (o GatewayFileShareOutput) AccessBasedEnumeration() pulumi.BoolOutput

Whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.

func (GatewayFileShareOutput) BackendLimit added in v3.27.0

func (o GatewayFileShareOutput) BackendLimit() pulumi.IntOutput

The Max upload speed of the gateway file share. Unit: `MB/s`, 0 means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.

func (GatewayFileShareOutput) Browsable added in v3.27.0

The whether browsable of the gateway file share (that is, in the network neighborhood of whether you can find). The attribute is valid when the attribute `protocol` is `SMB`. Default value: `true`.

func (GatewayFileShareOutput) BypassCacheRead added in v3.27.0

func (o GatewayFileShareOutput) BypassCacheRead() pulumi.BoolOutput

Direct reading OSS of the gateway file share.

func (GatewayFileShareOutput) CacheMode added in v3.27.0

The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.

func (GatewayFileShareOutput) DirectIo added in v3.27.0

File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value: `false`.

func (GatewayFileShareOutput) DownloadLimit added in v3.27.0

func (o GatewayFileShareOutput) DownloadLimit() pulumi.IntOutput

The maximum download speed of the gateway file share. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.

func (GatewayFileShareOutput) ElementType added in v3.10.0

func (GatewayFileShareOutput) ElementType() reflect.Type

func (GatewayFileShareOutput) FastReclaim added in v3.27.0

func (o GatewayFileShareOutput) FastReclaim() pulumi.BoolOutput

The whether to enable Upload optimization of the gateway file share, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.

func (GatewayFileShareOutput) FeLimit added in v3.27.0

The maximum write speed of the gateway file share. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.

func (GatewayFileShareOutput) GatewayFileShareName added in v3.27.0

func (o GatewayFileShareOutput) GatewayFileShareName() pulumi.StringOutput

The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.

func (GatewayFileShareOutput) GatewayId added in v3.27.0

The ID of the gateway.

func (GatewayFileShareOutput) IgnoreDelete added in v3.27.0

func (o GatewayFileShareOutput) IgnoreDelete() pulumi.BoolOutput

The whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** `ignoreDelete` and `remoteSync` cannot be enabled simultaneously. Gateway version >= 1.0.40 above support.

func (GatewayFileShareOutput) InPlace added in v3.27.0

The whether debris optimization of the gateway file share. Default value: `false`.

func (GatewayFileShareOutput) IndexId added in v3.27.0

The ID of the file share.

func (GatewayFileShareOutput) LagPeriod added in v3.27.0

func (o GatewayFileShareOutput) LagPeriod() pulumi.IntOutput

The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.

func (GatewayFileShareOutput) LocalPath added in v3.27.0

The cache disk inside the device name.

func (GatewayFileShareOutput) NfsV4Optimization added in v3.27.0

func (o GatewayFileShareOutput) NfsV4Optimization() pulumi.BoolOutput

The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** If it is enabled, NFS V3 cannot be mounted. The attribute is valid when the attribute `protocol` is `NFS`. Gateway version >= 1.2.0 above support.

func (GatewayFileShareOutput) OssBucketName added in v3.27.0

func (o GatewayFileShareOutput) OssBucketName() pulumi.StringOutput

The name of the OSS Bucket.

func (GatewayFileShareOutput) OssBucketSsl added in v3.27.0

func (o GatewayFileShareOutput) OssBucketSsl() pulumi.BoolOutput

Whether they are using SSL connect to OSS Bucket.

func (GatewayFileShareOutput) OssEndpoint added in v3.27.0

func (o GatewayFileShareOutput) OssEndpoint() pulumi.StringOutput

The gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`.

func (GatewayFileShareOutput) PartialSyncPaths added in v3.27.0

func (o GatewayFileShareOutput) PartialSyncPaths() pulumi.StringPtrOutput

In part mode, the directory path group JSON format.

func (GatewayFileShareOutput) PathPrefix added in v3.27.0

The subdirectory path under the object storage (OSS) bucket corresponding to the file share. If it is blank, it means the root directory of the bucket.

func (GatewayFileShareOutput) PollingInterval added in v3.27.0

func (o GatewayFileShareOutput) PollingInterval() pulumi.IntPtrOutput

The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.

func (GatewayFileShareOutput) Protocol added in v3.27.0

Share types. Valid values: `SMB`, `NFS`.

func (GatewayFileShareOutput) RemoteSync added in v3.27.0

func (o GatewayFileShareOutput) RemoteSync() pulumi.BoolOutput

Whether to enable reverse synchronization of the gateway file share. Default value: `false`.

func (GatewayFileShareOutput) RemoteSyncDownload added in v3.27.0

func (o GatewayFileShareOutput) RemoteSyncDownload() pulumi.BoolOutput

Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the attribute `remoteSync` is `true` or acceded to by the speed synchronization group, this parameter will not take effect.

func (GatewayFileShareOutput) RoClientList added in v3.27.0

File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.

func (GatewayFileShareOutput) RoUserList added in v3.27.0

The read-only client list. When Protocol for Server Message Block (SMB) to go back to.

func (GatewayFileShareOutput) RwClientList added in v3.27.0

Read and write the client list. When Protocol NFS is returned when the status is.

func (GatewayFileShareOutput) RwUserList added in v3.27.0

Read-write user list. When Protocol for Server Message Block (SMB) to go back to.

func (GatewayFileShareOutput) Squash added in v3.27.0

The NFS protocol user mapping of the gateway file share. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`. **NOTE:** The attribute is valid when the attribute `protocol` is `NFS`.

func (GatewayFileShareOutput) SupportArchive added in v3.27.0

func (o GatewayFileShareOutput) SupportArchive() pulumi.BoolOutput

Whether to support the archive transparent read.

func (GatewayFileShareOutput) ToGatewayFileShareOutput added in v3.10.0

func (o GatewayFileShareOutput) ToGatewayFileShareOutput() GatewayFileShareOutput

func (GatewayFileShareOutput) ToGatewayFileShareOutputWithContext added in v3.10.0

func (o GatewayFileShareOutput) ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput

func (GatewayFileShareOutput) TransferAcceleration added in v3.27.0

func (o GatewayFileShareOutput) TransferAcceleration() pulumi.BoolOutput

The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.

func (GatewayFileShareOutput) WindowsAcl added in v3.27.0

func (o GatewayFileShareOutput) WindowsAcl() pulumi.BoolOutput

Whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.

type GatewayFileShareState added in v3.10.0

type GatewayFileShareState struct {
	// Whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	AccessBasedEnumeration pulumi.BoolPtrInput
	// The Max upload speed of the gateway file share. Unit: `MB/s`, 0 means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.
	BackendLimit pulumi.IntPtrInput
	// The whether browsable of the gateway file share (that is, in the network neighborhood of whether you can find). The attribute is valid when the attribute `protocol` is `SMB`. Default value: `true`.
	Browsable pulumi.BoolPtrInput
	// Direct reading OSS of the gateway file share.
	BypassCacheRead pulumi.BoolPtrInput
	// The set up gateway file share cache mode. Valid values: `Cache` or `Sync`. `Cache`: cached mode. `Sync`: replication mode are available. Default value: `Cache`.
	CacheMode pulumi.StringPtrInput
	// File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value: `false`.
	DirectIo pulumi.BoolPtrInput
	// The maximum download speed of the gateway file share. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.
	DownloadLimit pulumi.IntPtrInput
	// The whether to enable Upload optimization of the gateway file share, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.
	FastReclaim pulumi.BoolPtrInput
	// The maximum write speed of the gateway file share. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.
	FeLimit pulumi.IntPtrInput
	// The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.
	GatewayFileShareName pulumi.StringPtrInput
	// The ID of the gateway.
	GatewayId pulumi.StringPtrInput
	// The whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** `ignoreDelete` and `remoteSync` cannot be enabled simultaneously. Gateway version >= 1.0.40 above support.
	IgnoreDelete pulumi.BoolPtrInput
	// The whether debris optimization of the gateway file share. Default value: `false`.
	InPlace pulumi.BoolPtrInput
	// The ID of the file share.
	IndexId pulumi.StringPtrInput
	// The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.
	LagPeriod pulumi.IntPtrInput
	// The cache disk inside the device name.
	LocalPath pulumi.StringPtrInput
	// The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** If it is enabled, NFS V3 cannot be mounted. The attribute is valid when the attribute `protocol` is `NFS`. Gateway version >= 1.2.0 above support.
	NfsV4Optimization pulumi.BoolPtrInput
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringPtrInput
	// Whether they are using SSL connect to OSS Bucket.
	OssBucketSsl pulumi.BoolPtrInput
	// The gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`.
	OssEndpoint pulumi.StringPtrInput
	// In part mode, the directory path group JSON format.
	PartialSyncPaths pulumi.StringPtrInput
	// The subdirectory path under the object storage (OSS) bucket corresponding to the file share. If it is blank, it means the root directory of the bucket.
	PathPrefix pulumi.StringPtrInput
	// The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.
	PollingInterval pulumi.IntPtrInput
	// Share types. Valid values: `SMB`, `NFS`.
	Protocol pulumi.StringPtrInput
	// Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
	RemoteSync pulumi.BoolPtrInput
	// Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the attribute `remoteSync` is `true` or acceded to by the speed synchronization group, this parameter will not take effect.
	RemoteSyncDownload pulumi.BoolPtrInput
	// File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
	RoClientList pulumi.StringPtrInput
	// The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
	RoUserList pulumi.StringPtrInput
	// Read and write the client list. When Protocol NFS is returned when the status is.
	RwClientList pulumi.StringPtrInput
	// Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
	RwUserList pulumi.StringPtrInput
	// The NFS protocol user mapping of the gateway file share. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`. **NOTE:** The attribute is valid when the attribute `protocol` is `NFS`.
	Squash pulumi.StringPtrInput
	// Whether to support the archive transparent read.
	SupportArchive pulumi.BoolPtrInput
	// The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.
	TransferAcceleration pulumi.BoolPtrInput
	// Whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** The attribute is valid when the attribute `protocol` is `SMB`. Gateway version >= 1.0.45 above support.
	WindowsAcl pulumi.BoolPtrInput
}

func (GatewayFileShareState) ElementType added in v3.10.0

func (GatewayFileShareState) ElementType() reflect.Type

type GatewayInput added in v3.7.0

type GatewayInput interface {
	pulumi.Input

	ToGatewayOutput() GatewayOutput
	ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
}

type GatewayLogging added in v3.10.0

type GatewayLogging struct {
	pulumi.CustomResourceState

	// The ID of the Gateway.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The name of the Log Store.
	SlsLogstore pulumi.StringOutput `pulumi:"slsLogstore"`
	// The name of the Project.
	SlsProject pulumi.StringOutput `pulumi:"slsProject"`
	// The status of the resource. Valid values: `Enabled`, `Disable`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Storage Gateway Gateway Logging resource.

For information about Cloud Storage Gateway Gateway Logging and how to use it, see [What is Gateway Logging](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/creategatewaylogging).

> **NOTE:** Available since v1.144.0.

## Import

Cloud Storage Gateway Gateway Logging can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gatewayLogging:GatewayLogging example <gateway_id> ```

func GetGatewayLogging added in v3.10.0

func GetGatewayLogging(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayLoggingState, opts ...pulumi.ResourceOption) (*GatewayLogging, error)

GetGatewayLogging gets an existing GatewayLogging 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 NewGatewayLogging added in v3.10.0

func NewGatewayLogging(ctx *pulumi.Context,
	name string, args *GatewayLoggingArgs, opts ...pulumi.ResourceOption) (*GatewayLogging, error)

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

func (*GatewayLogging) ElementType added in v3.10.0

func (*GatewayLogging) ElementType() reflect.Type

func (*GatewayLogging) ToGatewayLoggingOutput added in v3.10.0

func (i *GatewayLogging) ToGatewayLoggingOutput() GatewayLoggingOutput

func (*GatewayLogging) ToGatewayLoggingOutputWithContext added in v3.10.0

func (i *GatewayLogging) ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput

type GatewayLoggingArgs added in v3.10.0

type GatewayLoggingArgs struct {
	// The ID of the Gateway.
	GatewayId pulumi.StringInput
	// The name of the Log Store.
	SlsLogstore pulumi.StringInput
	// The name of the Project.
	SlsProject pulumi.StringInput
	// The status of the resource. Valid values: `Enabled`, `Disable`.
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a GatewayLogging resource.

func (GatewayLoggingArgs) ElementType added in v3.10.0

func (GatewayLoggingArgs) ElementType() reflect.Type

type GatewayLoggingArray added in v3.10.0

type GatewayLoggingArray []GatewayLoggingInput

func (GatewayLoggingArray) ElementType added in v3.10.0

func (GatewayLoggingArray) ElementType() reflect.Type

func (GatewayLoggingArray) ToGatewayLoggingArrayOutput added in v3.10.0

func (i GatewayLoggingArray) ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput

func (GatewayLoggingArray) ToGatewayLoggingArrayOutputWithContext added in v3.10.0

func (i GatewayLoggingArray) ToGatewayLoggingArrayOutputWithContext(ctx context.Context) GatewayLoggingArrayOutput

type GatewayLoggingArrayInput added in v3.10.0

type GatewayLoggingArrayInput interface {
	pulumi.Input

	ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput
	ToGatewayLoggingArrayOutputWithContext(context.Context) GatewayLoggingArrayOutput
}

GatewayLoggingArrayInput is an input type that accepts GatewayLoggingArray and GatewayLoggingArrayOutput values. You can construct a concrete instance of `GatewayLoggingArrayInput` via:

GatewayLoggingArray{ GatewayLoggingArgs{...} }

type GatewayLoggingArrayOutput added in v3.10.0

type GatewayLoggingArrayOutput struct{ *pulumi.OutputState }

func (GatewayLoggingArrayOutput) ElementType added in v3.10.0

func (GatewayLoggingArrayOutput) ElementType() reflect.Type

func (GatewayLoggingArrayOutput) Index added in v3.10.0

func (GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutput added in v3.10.0

func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput

func (GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutputWithContext added in v3.10.0

func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutputWithContext(ctx context.Context) GatewayLoggingArrayOutput

type GatewayLoggingInput added in v3.10.0

type GatewayLoggingInput interface {
	pulumi.Input

	ToGatewayLoggingOutput() GatewayLoggingOutput
	ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput
}

type GatewayLoggingMap added in v3.10.0

type GatewayLoggingMap map[string]GatewayLoggingInput

func (GatewayLoggingMap) ElementType added in v3.10.0

func (GatewayLoggingMap) ElementType() reflect.Type

func (GatewayLoggingMap) ToGatewayLoggingMapOutput added in v3.10.0

func (i GatewayLoggingMap) ToGatewayLoggingMapOutput() GatewayLoggingMapOutput

func (GatewayLoggingMap) ToGatewayLoggingMapOutputWithContext added in v3.10.0

func (i GatewayLoggingMap) ToGatewayLoggingMapOutputWithContext(ctx context.Context) GatewayLoggingMapOutput

type GatewayLoggingMapInput added in v3.10.0

type GatewayLoggingMapInput interface {
	pulumi.Input

	ToGatewayLoggingMapOutput() GatewayLoggingMapOutput
	ToGatewayLoggingMapOutputWithContext(context.Context) GatewayLoggingMapOutput
}

GatewayLoggingMapInput is an input type that accepts GatewayLoggingMap and GatewayLoggingMapOutput values. You can construct a concrete instance of `GatewayLoggingMapInput` via:

GatewayLoggingMap{ "key": GatewayLoggingArgs{...} }

type GatewayLoggingMapOutput added in v3.10.0

type GatewayLoggingMapOutput struct{ *pulumi.OutputState }

func (GatewayLoggingMapOutput) ElementType added in v3.10.0

func (GatewayLoggingMapOutput) ElementType() reflect.Type

func (GatewayLoggingMapOutput) MapIndex added in v3.10.0

func (GatewayLoggingMapOutput) ToGatewayLoggingMapOutput added in v3.10.0

func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutput() GatewayLoggingMapOutput

func (GatewayLoggingMapOutput) ToGatewayLoggingMapOutputWithContext added in v3.10.0

func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutputWithContext(ctx context.Context) GatewayLoggingMapOutput

type GatewayLoggingOutput added in v3.10.0

type GatewayLoggingOutput struct{ *pulumi.OutputState }

func (GatewayLoggingOutput) ElementType added in v3.10.0

func (GatewayLoggingOutput) ElementType() reflect.Type

func (GatewayLoggingOutput) GatewayId added in v3.27.0

The ID of the Gateway.

func (GatewayLoggingOutput) SlsLogstore added in v3.27.0

func (o GatewayLoggingOutput) SlsLogstore() pulumi.StringOutput

The name of the Log Store.

func (GatewayLoggingOutput) SlsProject added in v3.27.0

func (o GatewayLoggingOutput) SlsProject() pulumi.StringOutput

The name of the Project.

func (GatewayLoggingOutput) Status added in v3.27.0

The status of the resource. Valid values: `Enabled`, `Disable`.

func (GatewayLoggingOutput) ToGatewayLoggingOutput added in v3.10.0

func (o GatewayLoggingOutput) ToGatewayLoggingOutput() GatewayLoggingOutput

func (GatewayLoggingOutput) ToGatewayLoggingOutputWithContext added in v3.10.0

func (o GatewayLoggingOutput) ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput

type GatewayLoggingState added in v3.10.0

type GatewayLoggingState struct {
	// The ID of the Gateway.
	GatewayId pulumi.StringPtrInput
	// The name of the Log Store.
	SlsLogstore pulumi.StringPtrInput
	// The name of the Project.
	SlsProject pulumi.StringPtrInput
	// The status of the resource. Valid values: `Enabled`, `Disable`.
	Status pulumi.StringPtrInput
}

func (GatewayLoggingState) ElementType added in v3.10.0

func (GatewayLoggingState) ElementType() reflect.Type

type GatewayMap added in v3.7.0

type GatewayMap map[string]GatewayInput

func (GatewayMap) ElementType added in v3.7.0

func (GatewayMap) ElementType() reflect.Type

func (GatewayMap) ToGatewayMapOutput added in v3.7.0

func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMap) ToGatewayMapOutputWithContext added in v3.7.0

func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayMapInput added in v3.7.0

type GatewayMapInput interface {
	pulumi.Input

	ToGatewayMapOutput() GatewayMapOutput
	ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput
}

GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:

GatewayMap{ "key": GatewayArgs{...} }

type GatewayMapOutput added in v3.7.0

type GatewayMapOutput struct{ *pulumi.OutputState }

func (GatewayMapOutput) ElementType added in v3.7.0

func (GatewayMapOutput) ElementType() reflect.Type

func (GatewayMapOutput) MapIndex added in v3.7.0

func (GatewayMapOutput) ToGatewayMapOutput added in v3.7.0

func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMapOutput) ToGatewayMapOutputWithContext added in v3.7.0

func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayOutput added in v3.7.0

type GatewayOutput struct{ *pulumi.OutputState }

func (GatewayOutput) Description added in v3.27.0

func (o GatewayOutput) Description() pulumi.StringPtrOutput

the description of gateway.

func (GatewayOutput) ElementType added in v3.7.0

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) GatewayClass added in v3.27.0

func (o GatewayOutput) GatewayClass() pulumi.StringPtrOutput

the gateway class. the valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`

func (GatewayOutput) GatewayName added in v3.27.0

func (o GatewayOutput) GatewayName() pulumi.StringOutput

the name of gateway.

func (GatewayOutput) Location added in v3.27.0

func (o GatewayOutput) Location() pulumi.StringOutput

gateway location. the valid values: `Cloud`, `On_Premise`.

func (GatewayOutput) PaymentType added in v3.27.0

func (o GatewayOutput) PaymentType() pulumi.StringPtrOutput

The Payment type of gateway. The valid value: `PayAsYouGo`.

func (GatewayOutput) PublicNetworkBandwidth added in v3.27.0

func (o GatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput

The public network bandwidth of gateway. Valid values between `5` and `200`. Defaults to `5`.

func (GatewayOutput) ReasonDetail added in v3.27.0

func (o GatewayOutput) ReasonDetail() pulumi.StringPtrOutput

The reason detail of gateway.

func (GatewayOutput) ReasonType added in v3.27.0

func (o GatewayOutput) ReasonType() pulumi.StringPtrOutput

The reason type when user deletes the gateway.

func (GatewayOutput) ReleaseAfterExpiration added in v3.27.0

func (o GatewayOutput) ReleaseAfterExpiration() pulumi.BoolPtrOutput

Whether to release the gateway due to expiration.

func (GatewayOutput) Status added in v3.27.0

func (o GatewayOutput) Status() pulumi.StringOutput

gateway status.

func (GatewayOutput) StorageBundleId added in v3.27.0

func (o GatewayOutput) StorageBundleId() pulumi.StringOutput

storage bundle id.

func (GatewayOutput) ToGatewayOutput added in v3.7.0

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext added in v3.7.0

func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

func (GatewayOutput) Type added in v3.27.0

gateway type. the valid values: `Type`, `Iscsi`.

func (GatewayOutput) VswitchId added in v3.27.0

func (o GatewayOutput) VswitchId() pulumi.StringPtrOutput

The vswitch id of gateway.

type GatewaySmbUser added in v3.10.0

type GatewaySmbUser struct {
	pulumi.CustomResourceState

	// The Gateway ID of the Gateway SMB User.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// The password of the Gateway SMB User.
	Password pulumi.StringOutput `pulumi:"password"`
	// The username of the Gateway SMB User.
	Username pulumi.StringOutput `pulumi:"username"`
}

Provides a Cloud Storage Gateway Gateway SMB User resource.

For information about Cloud Storage Gateway Gateway SMB User and how to use it, see [What is Gateway SMB User](https://www.alibabacloud.com/help/en/cloud-storage-gateway/latest/creategatewaysmbuser).

> **NOTE:** Available since v1.142.0.

## Import

Cloud Storage Gateway Gateway SMB User can be imported using the id, e.g.

```sh $ pulumi import alicloud:cloudstoragegateway/gatewaySmbUser:GatewaySmbUser example <gateway_id>:<username> ```

func GetGatewaySmbUser added in v3.10.0

func GetGatewaySmbUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewaySmbUserState, opts ...pulumi.ResourceOption) (*GatewaySmbUser, error)

GetGatewaySmbUser gets an existing GatewaySmbUser 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 NewGatewaySmbUser added in v3.10.0

func NewGatewaySmbUser(ctx *pulumi.Context,
	name string, args *GatewaySmbUserArgs, opts ...pulumi.ResourceOption) (*GatewaySmbUser, error)

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

func (*GatewaySmbUser) ElementType added in v3.10.0

func (*GatewaySmbUser) ElementType() reflect.Type

func (*GatewaySmbUser) ToGatewaySmbUserOutput added in v3.10.0

func (i *GatewaySmbUser) ToGatewaySmbUserOutput() GatewaySmbUserOutput

func (*GatewaySmbUser) ToGatewaySmbUserOutputWithContext added in v3.10.0

func (i *GatewaySmbUser) ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput

type GatewaySmbUserArgs added in v3.10.0

type GatewaySmbUserArgs struct {
	// The Gateway ID of the Gateway SMB User.
	GatewayId pulumi.StringInput
	// The password of the Gateway SMB User.
	Password pulumi.StringInput
	// The username of the Gateway SMB User.
	Username pulumi.StringInput
}

The set of arguments for constructing a GatewaySmbUser resource.

func (GatewaySmbUserArgs) ElementType added in v3.10.0

func (GatewaySmbUserArgs) ElementType() reflect.Type

type GatewaySmbUserArray added in v3.10.0

type GatewaySmbUserArray []GatewaySmbUserInput

func (GatewaySmbUserArray) ElementType added in v3.10.0

func (GatewaySmbUserArray) ElementType() reflect.Type

func (GatewaySmbUserArray) ToGatewaySmbUserArrayOutput added in v3.10.0

func (i GatewaySmbUserArray) ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput

func (GatewaySmbUserArray) ToGatewaySmbUserArrayOutputWithContext added in v3.10.0

func (i GatewaySmbUserArray) ToGatewaySmbUserArrayOutputWithContext(ctx context.Context) GatewaySmbUserArrayOutput

type GatewaySmbUserArrayInput added in v3.10.0

type GatewaySmbUserArrayInput interface {
	pulumi.Input

	ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput
	ToGatewaySmbUserArrayOutputWithContext(context.Context) GatewaySmbUserArrayOutput
}

GatewaySmbUserArrayInput is an input type that accepts GatewaySmbUserArray and GatewaySmbUserArrayOutput values. You can construct a concrete instance of `GatewaySmbUserArrayInput` via:

GatewaySmbUserArray{ GatewaySmbUserArgs{...} }

type GatewaySmbUserArrayOutput added in v3.10.0

type GatewaySmbUserArrayOutput struct{ *pulumi.OutputState }

func (GatewaySmbUserArrayOutput) ElementType added in v3.10.0

func (GatewaySmbUserArrayOutput) ElementType() reflect.Type

func (GatewaySmbUserArrayOutput) Index added in v3.10.0

func (GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutput added in v3.10.0

func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput

func (GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutputWithContext added in v3.10.0

func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutputWithContext(ctx context.Context) GatewaySmbUserArrayOutput

type GatewaySmbUserInput added in v3.10.0

type GatewaySmbUserInput interface {
	pulumi.Input

	ToGatewaySmbUserOutput() GatewaySmbUserOutput
	ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput
}

type GatewaySmbUserMap added in v3.10.0

type GatewaySmbUserMap map[string]GatewaySmbUserInput

func (GatewaySmbUserMap) ElementType added in v3.10.0

func (GatewaySmbUserMap) ElementType() reflect.Type

func (GatewaySmbUserMap) ToGatewaySmbUserMapOutput added in v3.10.0

func (i GatewaySmbUserMap) ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput

func (GatewaySmbUserMap) ToGatewaySmbUserMapOutputWithContext added in v3.10.0

func (i GatewaySmbUserMap) ToGatewaySmbUserMapOutputWithContext(ctx context.Context) GatewaySmbUserMapOutput

type GatewaySmbUserMapInput added in v3.10.0

type GatewaySmbUserMapInput interface {
	pulumi.Input

	ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput
	ToGatewaySmbUserMapOutputWithContext(context.Context) GatewaySmbUserMapOutput
}

GatewaySmbUserMapInput is an input type that accepts GatewaySmbUserMap and GatewaySmbUserMapOutput values. You can construct a concrete instance of `GatewaySmbUserMapInput` via:

GatewaySmbUserMap{ "key": GatewaySmbUserArgs{...} }

type GatewaySmbUserMapOutput added in v3.10.0

type GatewaySmbUserMapOutput struct{ *pulumi.OutputState }

func (GatewaySmbUserMapOutput) ElementType added in v3.10.0

func (GatewaySmbUserMapOutput) ElementType() reflect.Type

func (GatewaySmbUserMapOutput) MapIndex added in v3.10.0

func (GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutput added in v3.10.0

func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput

func (GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutputWithContext added in v3.10.0

func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutputWithContext(ctx context.Context) GatewaySmbUserMapOutput

type GatewaySmbUserOutput added in v3.10.0

type GatewaySmbUserOutput struct{ *pulumi.OutputState }

func (GatewaySmbUserOutput) ElementType added in v3.10.0

func (GatewaySmbUserOutput) ElementType() reflect.Type

func (GatewaySmbUserOutput) GatewayId added in v3.27.0

The Gateway ID of the Gateway SMB User.

func (GatewaySmbUserOutput) Password added in v3.27.0

The password of the Gateway SMB User.

func (GatewaySmbUserOutput) ToGatewaySmbUserOutput added in v3.10.0

func (o GatewaySmbUserOutput) ToGatewaySmbUserOutput() GatewaySmbUserOutput

func (GatewaySmbUserOutput) ToGatewaySmbUserOutputWithContext added in v3.10.0

func (o GatewaySmbUserOutput) ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput

func (GatewaySmbUserOutput) Username added in v3.27.0

The username of the Gateway SMB User.

type GatewaySmbUserState added in v3.10.0

type GatewaySmbUserState struct {
	// The Gateway ID of the Gateway SMB User.
	GatewayId pulumi.StringPtrInput
	// The password of the Gateway SMB User.
	Password pulumi.StringPtrInput
	// The username of the Gateway SMB User.
	Username pulumi.StringPtrInput
}

func (GatewaySmbUserState) ElementType added in v3.10.0

func (GatewaySmbUserState) ElementType() reflect.Type

type GatewayState added in v3.7.0

type GatewayState struct {
	// the description of gateway.
	Description pulumi.StringPtrInput
	// the gateway class. the valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`
	GatewayClass pulumi.StringPtrInput
	// the name of gateway.
	GatewayName pulumi.StringPtrInput
	// gateway location. the valid values: `Cloud`, `On_Premise`.
	Location pulumi.StringPtrInput
	// The Payment type of gateway. The valid value: `PayAsYouGo`.
	PaymentType pulumi.StringPtrInput
	// The public network bandwidth of gateway. Valid values between `5` and `200`. Defaults to `5`.
	PublicNetworkBandwidth pulumi.IntPtrInput
	// The reason detail of gateway.
	ReasonDetail pulumi.StringPtrInput
	// The reason type when user deletes the gateway.
	ReasonType pulumi.StringPtrInput
	// Whether to release the gateway due to expiration.
	ReleaseAfterExpiration pulumi.BoolPtrInput
	// gateway status.
	Status pulumi.StringPtrInput
	// storage bundle id.
	StorageBundleId pulumi.StringPtrInput
	// gateway type. the valid values: `Type`, `Iscsi`.
	Type pulumi.StringPtrInput
	// The vswitch id of gateway.
	VswitchId pulumi.StringPtrInput
}

func (GatewayState) ElementType added in v3.7.0

func (GatewayState) ElementType() reflect.Type

type GetExpressSyncsArgs added in v3.10.0

type GetExpressSyncsArgs struct {
	// A list of Express Sync IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Express Sync name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getExpressSyncs.

type GetExpressSyncsOutputArgs added in v3.10.0

type GetExpressSyncsOutputArgs struct {
	// A list of Express Sync IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Express Sync name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getExpressSyncs.

func (GetExpressSyncsOutputArgs) ElementType added in v3.10.0

func (GetExpressSyncsOutputArgs) ElementType() reflect.Type

type GetExpressSyncsResult added in v3.10.0

type GetExpressSyncsResult struct {
	// 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"`
	Syncs      []GetExpressSyncsSync `pulumi:"syncs"`
}

A collection of values returned by getExpressSyncs.

func GetExpressSyncs added in v3.10.0

func GetExpressSyncs(ctx *pulumi.Context, args *GetExpressSyncsArgs, opts ...pulumi.InvokeOption) (*GetExpressSyncsResult, error)

This data source provides the Cloud Storage Gateway Express Syncs of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudstoragegateway.GetExpressSyncs(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayExpressSyncId1", ids.Syncs[0].Id)
		nameRegex, err := cloudstoragegateway.GetExpressSyncs(ctx, &cloudstoragegateway.GetExpressSyncsArgs{
			NameRegex: pulumi.StringRef("^my-ExpressSync"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayExpressSyncId2", nameRegex.Syncs[0].Id)
		return nil
	})
}

```

type GetExpressSyncsResultOutput added in v3.10.0

type GetExpressSyncsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getExpressSyncs.

func GetExpressSyncsOutput added in v3.10.0

func (GetExpressSyncsResultOutput) ElementType added in v3.10.0

func (GetExpressSyncsResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetExpressSyncsResultOutput) Ids added in v3.10.0

func (GetExpressSyncsResultOutput) NameRegex added in v3.10.0

func (GetExpressSyncsResultOutput) Names added in v3.10.0

func (GetExpressSyncsResultOutput) OutputFile added in v3.10.0

func (GetExpressSyncsResultOutput) Syncs added in v3.10.0

func (GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutput added in v3.10.0

func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutput() GetExpressSyncsResultOutput

func (GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutputWithContext added in v3.10.0

func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutputWithContext(ctx context.Context) GetExpressSyncsResultOutput

type GetExpressSyncsSync added in v3.10.0

type GetExpressSyncsSync struct {
	// The name of the OSS Bucket.
	BucketName string `pulumi:"bucketName"`
	// The prefix of the OSS Bucket.
	BucketPrefix string `pulumi:"bucketPrefix"`
	// The region of the OSS Bucket.
	BucketRegion string `pulumi:"bucketRegion"`
	// The description of the Express Sync.
	Description string `pulumi:"description"`
	// The ID of the Express Sync.
	ExpressSyncId string `pulumi:"expressSyncId"`
	// The name of the Express Sync.
	ExpressSyncName string `pulumi:"expressSyncName"`
	Id              string `pulumi:"id"`
	// The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.
	MnsTopic string `pulumi:"mnsTopic"`
}

type GetExpressSyncsSyncArgs added in v3.10.0

type GetExpressSyncsSyncArgs struct {
	// The name of the OSS Bucket.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The prefix of the OSS Bucket.
	BucketPrefix pulumi.StringInput `pulumi:"bucketPrefix"`
	// The region of the OSS Bucket.
	BucketRegion pulumi.StringInput `pulumi:"bucketRegion"`
	// The description of the Express Sync.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Express Sync.
	ExpressSyncId pulumi.StringInput `pulumi:"expressSyncId"`
	// The name of the Express Sync.
	ExpressSyncName pulumi.StringInput `pulumi:"expressSyncName"`
	Id              pulumi.StringInput `pulumi:"id"`
	// The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.
	MnsTopic pulumi.StringInput `pulumi:"mnsTopic"`
}

func (GetExpressSyncsSyncArgs) ElementType added in v3.10.0

func (GetExpressSyncsSyncArgs) ElementType() reflect.Type

func (GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutput added in v3.10.0

func (i GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput

func (GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutputWithContext added in v3.10.0

func (i GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutputWithContext(ctx context.Context) GetExpressSyncsSyncOutput

type GetExpressSyncsSyncArray added in v3.10.0

type GetExpressSyncsSyncArray []GetExpressSyncsSyncInput

func (GetExpressSyncsSyncArray) ElementType added in v3.10.0

func (GetExpressSyncsSyncArray) ElementType() reflect.Type

func (GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutput added in v3.10.0

func (i GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput

func (GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutputWithContext added in v3.10.0

func (i GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutputWithContext(ctx context.Context) GetExpressSyncsSyncArrayOutput

type GetExpressSyncsSyncArrayInput added in v3.10.0

type GetExpressSyncsSyncArrayInput interface {
	pulumi.Input

	ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput
	ToGetExpressSyncsSyncArrayOutputWithContext(context.Context) GetExpressSyncsSyncArrayOutput
}

GetExpressSyncsSyncArrayInput is an input type that accepts GetExpressSyncsSyncArray and GetExpressSyncsSyncArrayOutput values. You can construct a concrete instance of `GetExpressSyncsSyncArrayInput` via:

GetExpressSyncsSyncArray{ GetExpressSyncsSyncArgs{...} }

type GetExpressSyncsSyncArrayOutput added in v3.10.0

type GetExpressSyncsSyncArrayOutput struct{ *pulumi.OutputState }

func (GetExpressSyncsSyncArrayOutput) ElementType added in v3.10.0

func (GetExpressSyncsSyncArrayOutput) Index added in v3.10.0

func (GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutput added in v3.10.0

func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput

func (GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutputWithContext added in v3.10.0

func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutputWithContext(ctx context.Context) GetExpressSyncsSyncArrayOutput

type GetExpressSyncsSyncInput added in v3.10.0

type GetExpressSyncsSyncInput interface {
	pulumi.Input

	ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput
	ToGetExpressSyncsSyncOutputWithContext(context.Context) GetExpressSyncsSyncOutput
}

GetExpressSyncsSyncInput is an input type that accepts GetExpressSyncsSyncArgs and GetExpressSyncsSyncOutput values. You can construct a concrete instance of `GetExpressSyncsSyncInput` via:

GetExpressSyncsSyncArgs{...}

type GetExpressSyncsSyncOutput added in v3.10.0

type GetExpressSyncsSyncOutput struct{ *pulumi.OutputState }

func (GetExpressSyncsSyncOutput) BucketName added in v3.10.0

The name of the OSS Bucket.

func (GetExpressSyncsSyncOutput) BucketPrefix added in v3.10.0

The prefix of the OSS Bucket.

func (GetExpressSyncsSyncOutput) BucketRegion added in v3.10.0

The region of the OSS Bucket.

func (GetExpressSyncsSyncOutput) Description added in v3.10.0

The description of the Express Sync.

func (GetExpressSyncsSyncOutput) ElementType added in v3.10.0

func (GetExpressSyncsSyncOutput) ElementType() reflect.Type

func (GetExpressSyncsSyncOutput) ExpressSyncId added in v3.10.0

func (o GetExpressSyncsSyncOutput) ExpressSyncId() pulumi.StringOutput

The ID of the Express Sync.

func (GetExpressSyncsSyncOutput) ExpressSyncName added in v3.10.0

func (o GetExpressSyncsSyncOutput) ExpressSyncName() pulumi.StringOutput

The name of the Express Sync.

func (GetExpressSyncsSyncOutput) Id added in v3.10.0

func (GetExpressSyncsSyncOutput) MnsTopic added in v3.10.0

The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.

func (GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutput added in v3.10.0

func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput

func (GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutputWithContext added in v3.10.0

func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutputWithContext(ctx context.Context) GetExpressSyncsSyncOutput

type GetGatewayBlockVolumesArgs added in v3.10.0

type GetGatewayBlockVolumesArgs struct {
	// The Gateway ID.
	GatewayId string `pulumi:"gatewayId"`
	// A list of Gateway Block Volume IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Gateway Block Volume name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of volume.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getGatewayBlockVolumes.

type GetGatewayBlockVolumesOutputArgs added in v3.10.0

type GetGatewayBlockVolumesOutputArgs struct {
	// The Gateway ID.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// A list of Gateway Block Volume IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Gateway Block Volume name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of volume.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getGatewayBlockVolumes.

func (GetGatewayBlockVolumesOutputArgs) ElementType added in v3.10.0

type GetGatewayBlockVolumesResult added in v3.10.0

type GetGatewayBlockVolumesResult struct {
	GatewayId string `pulumi:"gatewayId"`
	// 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"`
	Status     *int                           `pulumi:"status"`
	Volumes    []GetGatewayBlockVolumesVolume `pulumi:"volumes"`
}

A collection of values returned by getGatewayBlockVolumes.

func GetGatewayBlockVolumes added in v3.10.0

func GetGatewayBlockVolumes(ctx *pulumi.Context, args *GetGatewayBlockVolumesArgs, opts ...pulumi.InvokeOption) (*GetGatewayBlockVolumesResult, error)

This data source provides the Cloud Storage Gateway Gateway Block Volumes of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudstoragegateway.GetGatewayBlockVolumes(ctx, &cloudstoragegateway.GetGatewayBlockVolumesArgs{
			GatewayId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayBlockVolumeId1", ids.Volumes[0].Id)
		nameRegex, err := cloudstoragegateway.GetGatewayBlockVolumes(ctx, &cloudstoragegateway.GetGatewayBlockVolumesArgs{
			GatewayId: "example_value",
			NameRegex: pulumi.StringRef("^my-GatewayBlockVolume"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayBlockVolumeId2", nameRegex.Volumes[0].Id)
		return nil
	})
}

```

type GetGatewayBlockVolumesResultOutput added in v3.10.0

type GetGatewayBlockVolumesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewayBlockVolumes.

func GetGatewayBlockVolumesOutput added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) ElementType added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) GatewayId added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetGatewayBlockVolumesResultOutput) Ids added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) NameRegex added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) Names added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) OutputFile added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) Status added in v3.10.0

func (GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutput added in v3.10.0

func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutput() GetGatewayBlockVolumesResultOutput

func (GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutputWithContext added in v3.10.0

func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutputWithContext(ctx context.Context) GetGatewayBlockVolumesResultOutput

func (GetGatewayBlockVolumesResultOutput) Volumes added in v3.10.0

type GetGatewayBlockVolumesVolume added in v3.10.0

type GetGatewayBlockVolumesVolume struct {
	// The IP ADDRESS.
	Address string `pulumi:"address"`
	// The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
	CacheMode string `pulumi:"cacheMode"`
	// Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication.  Default value: `false`.
	ChapEnabled bool `pulumi:"chapEnabled"`
	// The Inbound CHAP user.**NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInUser string `pulumi:"chapInUser"`
	// The Block volume storage allocation unit.  Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
	ChunkSize int `pulumi:"chunkSize"`
	// The cache disk ID.
	DiskId string `pulumi:"diskId"`
	// The cache disk type.
	DiskType string `pulumi:"diskType"`
	// Whether to enable Volume.
	Enabled bool `pulumi:"enabled"`
	// The Block volume name.  The name must be 1 to 32 characters in length, and can contain lowercase letters, numbers.
	GatewayBlockVolumeName string `pulumi:"gatewayBlockVolumeName"`
	// The Gateway ID.
	GatewayId string `pulumi:"gatewayId"`
	// The ID of the Gateway Block Volume. The value formats as `<gateway_id>:<index_id>`.
	Id string `pulumi:"id"`
	// The ID of the index.
	IndexId string `pulumi:"indexId"`
	// CThe Cache disk to local path. **NOTE:**  When the `cacheMode` is  `Cache` is,The `chapInPassword` is valid.
	LocalPath string `pulumi:"localPath"`
	// The Lun identifier.
	LunId int `pulumi:"lunId"`
	// The name of the OSS Bucket.
	OssBucketName string `pulumi:"ossBucketName"`
	// Whether to enable SSL access your OSS Buckets. Default value: `true`.
	OssBucketSsl bool `pulumi:"ossBucketSsl"`
	// The endpoint of the OSS Bucket.
	OssEndpoint string `pulumi:"ossEndpoint"`
	// The Port.
	Port int `pulumi:"port"`
	// The Protocol.
	Protocol string `pulumi:"protocol"`
	// The Volume size.
	Size int `pulumi:"size"`
	// The Buffer status.
	State string `pulumi:"state"`
	// The status of volume.
	Status int `pulumi:"status"`
	// The target.
	Target string `pulumi:"target"`
	// The total amount of downloaded data. Unit: `B`.
	TotalDownload int `pulumi:"totalDownload"`
	// The total amount of uploaded data. Unit: `B`.
	TotalUpload int `pulumi:"totalUpload"`
	VolumeState int `pulumi:"volumeState"`
}

type GetGatewayBlockVolumesVolumeArgs added in v3.10.0

type GetGatewayBlockVolumesVolumeArgs struct {
	// The IP ADDRESS.
	Address pulumi.StringInput `pulumi:"address"`
	// The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
	CacheMode pulumi.StringInput `pulumi:"cacheMode"`
	// Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication.  Default value: `false`.
	ChapEnabled pulumi.BoolInput `pulumi:"chapEnabled"`
	// The Inbound CHAP user.**NOTE:** When the `chapEnabled` is  `true` is,The `chapInPassword` is valid.
	ChapInUser pulumi.StringInput `pulumi:"chapInUser"`
	// The Block volume storage allocation unit.  Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
	ChunkSize pulumi.IntInput `pulumi:"chunkSize"`
	// The cache disk ID.
	DiskId pulumi.StringInput `pulumi:"diskId"`
	// The cache disk type.
	DiskType pulumi.StringInput `pulumi:"diskType"`
	// Whether to enable Volume.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The Block volume name.  The name must be 1 to 32 characters in length, and can contain lowercase letters, numbers.
	GatewayBlockVolumeName pulumi.StringInput `pulumi:"gatewayBlockVolumeName"`
	// The Gateway ID.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// The ID of the Gateway Block Volume. The value formats as `<gateway_id>:<index_id>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the index.
	IndexId pulumi.StringInput `pulumi:"indexId"`
	// CThe Cache disk to local path. **NOTE:**  When the `cacheMode` is  `Cache` is,The `chapInPassword` is valid.
	LocalPath pulumi.StringInput `pulumi:"localPath"`
	// The Lun identifier.
	LunId pulumi.IntInput `pulumi:"lunId"`
	// The name of the OSS Bucket.
	OssBucketName pulumi.StringInput `pulumi:"ossBucketName"`
	// Whether to enable SSL access your OSS Buckets. Default value: `true`.
	OssBucketSsl pulumi.BoolInput `pulumi:"ossBucketSsl"`
	// The endpoint of the OSS Bucket.
	OssEndpoint pulumi.StringInput `pulumi:"ossEndpoint"`
	// The Port.
	Port pulumi.IntInput `pulumi:"port"`
	// The Protocol.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The Volume size.
	Size pulumi.IntInput `pulumi:"size"`
	// The Buffer status.
	State pulumi.StringInput `pulumi:"state"`
	// The status of volume.
	Status pulumi.IntInput `pulumi:"status"`
	// The target.
	Target pulumi.StringInput `pulumi:"target"`
	// The total amount of downloaded data. Unit: `B`.
	TotalDownload pulumi.IntInput `pulumi:"totalDownload"`
	// The total amount of uploaded data. Unit: `B`.
	TotalUpload pulumi.IntInput `pulumi:"totalUpload"`
	VolumeState pulumi.IntInput `pulumi:"volumeState"`
}

func (GetGatewayBlockVolumesVolumeArgs) ElementType added in v3.10.0

func (GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutput added in v3.10.0

func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput

func (GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutputWithContext added in v3.10.0

func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput

type GetGatewayBlockVolumesVolumeArray added in v3.10.0

type GetGatewayBlockVolumesVolumeArray []GetGatewayBlockVolumesVolumeInput

func (GetGatewayBlockVolumesVolumeArray) ElementType added in v3.10.0

func (GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutput added in v3.10.0

func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput

func (GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext added in v3.10.0

func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput

type GetGatewayBlockVolumesVolumeArrayInput added in v3.10.0

type GetGatewayBlockVolumesVolumeArrayInput interface {
	pulumi.Input

	ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput
	ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(context.Context) GetGatewayBlockVolumesVolumeArrayOutput
}

GetGatewayBlockVolumesVolumeArrayInput is an input type that accepts GetGatewayBlockVolumesVolumeArray and GetGatewayBlockVolumesVolumeArrayOutput values. You can construct a concrete instance of `GetGatewayBlockVolumesVolumeArrayInput` via:

GetGatewayBlockVolumesVolumeArray{ GetGatewayBlockVolumesVolumeArgs{...} }

type GetGatewayBlockVolumesVolumeArrayOutput added in v3.10.0

type GetGatewayBlockVolumesVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetGatewayBlockVolumesVolumeArrayOutput) ElementType added in v3.10.0

func (GetGatewayBlockVolumesVolumeArrayOutput) Index added in v3.10.0

func (GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutput added in v3.10.0

func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput

func (GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext added in v3.10.0

func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput

type GetGatewayBlockVolumesVolumeInput added in v3.10.0

type GetGatewayBlockVolumesVolumeInput interface {
	pulumi.Input

	ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput
	ToGetGatewayBlockVolumesVolumeOutputWithContext(context.Context) GetGatewayBlockVolumesVolumeOutput
}

GetGatewayBlockVolumesVolumeInput is an input type that accepts GetGatewayBlockVolumesVolumeArgs and GetGatewayBlockVolumesVolumeOutput values. You can construct a concrete instance of `GetGatewayBlockVolumesVolumeInput` via:

GetGatewayBlockVolumesVolumeArgs{...}

type GetGatewayBlockVolumesVolumeOutput added in v3.10.0

type GetGatewayBlockVolumesVolumeOutput struct{ *pulumi.OutputState }

func (GetGatewayBlockVolumesVolumeOutput) Address added in v3.10.0

The IP ADDRESS.

func (GetGatewayBlockVolumesVolumeOutput) CacheMode added in v3.10.0

The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.

func (GetGatewayBlockVolumesVolumeOutput) ChapEnabled added in v3.10.0

Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: `false`.

func (GetGatewayBlockVolumesVolumeOutput) ChapInUser added in v3.10.0

The Inbound CHAP user.**NOTE:** When the `chapEnabled` is `true` is,The `chapInPassword` is valid.

func (GetGatewayBlockVolumesVolumeOutput) ChunkSize added in v3.10.0

The Block volume storage allocation unit. Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.

func (GetGatewayBlockVolumesVolumeOutput) DiskId added in v3.10.0

The cache disk ID.

func (GetGatewayBlockVolumesVolumeOutput) DiskType added in v3.10.0

The cache disk type.

func (GetGatewayBlockVolumesVolumeOutput) ElementType added in v3.10.0

func (GetGatewayBlockVolumesVolumeOutput) Enabled added in v3.10.0

Whether to enable Volume.

func (GetGatewayBlockVolumesVolumeOutput) GatewayBlockVolumeName added in v3.10.0

func (o GetGatewayBlockVolumesVolumeOutput) GatewayBlockVolumeName() pulumi.StringOutput

The Block volume name. The name must be 1 to 32 characters in length, and can contain lowercase letters, numbers.

func (GetGatewayBlockVolumesVolumeOutput) GatewayId added in v3.10.0

The Gateway ID.

func (GetGatewayBlockVolumesVolumeOutput) Id added in v3.10.0

The ID of the Gateway Block Volume. The value formats as `<gateway_id>:<index_id>`.

func (GetGatewayBlockVolumesVolumeOutput) IndexId added in v3.10.0

The ID of the index.

func (GetGatewayBlockVolumesVolumeOutput) LocalPath added in v3.10.0

CThe Cache disk to local path. **NOTE:** When the `cacheMode` is `Cache` is,The `chapInPassword` is valid.

func (GetGatewayBlockVolumesVolumeOutput) LunId added in v3.10.0

The Lun identifier.

func (GetGatewayBlockVolumesVolumeOutput) OssBucketName added in v3.10.0

The name of the OSS Bucket.

func (GetGatewayBlockVolumesVolumeOutput) OssBucketSsl added in v3.10.0

Whether to enable SSL access your OSS Buckets. Default value: `true`.

func (GetGatewayBlockVolumesVolumeOutput) OssEndpoint added in v3.10.0

The endpoint of the OSS Bucket.

func (GetGatewayBlockVolumesVolumeOutput) Port added in v3.10.0

The Port.

func (GetGatewayBlockVolumesVolumeOutput) Protocol added in v3.10.0

The Protocol.

func (GetGatewayBlockVolumesVolumeOutput) Size added in v3.10.0

The Volume size.

func (GetGatewayBlockVolumesVolumeOutput) State added in v3.10.0

The Buffer status.

func (GetGatewayBlockVolumesVolumeOutput) Status added in v3.10.0

The status of volume.

func (GetGatewayBlockVolumesVolumeOutput) Target added in v3.10.0

The target.

func (GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutput added in v3.10.0

func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput

func (GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutputWithContext added in v3.10.0

func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput

func (GetGatewayBlockVolumesVolumeOutput) TotalDownload added in v3.10.0

The total amount of downloaded data. Unit: `B`.

func (GetGatewayBlockVolumesVolumeOutput) TotalUpload added in v3.10.0

The total amount of uploaded data. Unit: `B`.

func (GetGatewayBlockVolumesVolumeOutput) VolumeState added in v3.10.0

type GetGatewayCacheDisksArgs added in v3.10.0

type GetGatewayCacheDisksArgs struct {
	// The ID of the gateway.
	GatewayId string `pulumi:"gatewayId"`
	// A list of Gateway Cache Disk IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getGatewayCacheDisks.

type GetGatewayCacheDisksDisk added in v3.10.0

type GetGatewayCacheDisksDisk struct {
	// The category of eht cache disk.
	CacheDiskCategory string `pulumi:"cacheDiskCategory"`
	// The size of the cache disk.
	CacheDiskSizeInGb int `pulumi:"cacheDiskSizeInGb"`
	// The ID of the cache disk.
	CacheId string `pulumi:"cacheId"`
	// The expiration time. Time stamp in seconds (s).
	ExpiredTime int `pulumi:"expiredTime"`
	// The ID of the gateway.
	GatewayId string `pulumi:"gatewayId"`
	// The ID of the Gateway Cache Disk.
	Id string `pulumi:"id"`
	// Per second of the input output.
	Iops int `pulumi:"iops"`
	// Whether it is used.
	IsUsed bool `pulumi:"isUsed"`
	// The cache disk inside the device name.
	LocalFilePath string `pulumi:"localFilePath"`
	// A renewal link of the cache disk.
	RenewUrl string `pulumi:"renewUrl"`
	// The status of the resource.
	Status int `pulumi:"status"`
}

type GetGatewayCacheDisksDiskArgs added in v3.10.0

type GetGatewayCacheDisksDiskArgs struct {
	// The category of eht cache disk.
	CacheDiskCategory pulumi.StringInput `pulumi:"cacheDiskCategory"`
	// The size of the cache disk.
	CacheDiskSizeInGb pulumi.IntInput `pulumi:"cacheDiskSizeInGb"`
	// The ID of the cache disk.
	CacheId pulumi.StringInput `pulumi:"cacheId"`
	// The expiration time. Time stamp in seconds (s).
	ExpiredTime pulumi.IntInput `pulumi:"expiredTime"`
	// The ID of the gateway.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// The ID of the Gateway Cache Disk.
	Id pulumi.StringInput `pulumi:"id"`
	// Per second of the input output.
	Iops pulumi.IntInput `pulumi:"iops"`
	// Whether it is used.
	IsUsed pulumi.BoolInput `pulumi:"isUsed"`
	// The cache disk inside the device name.
	LocalFilePath pulumi.StringInput `pulumi:"localFilePath"`
	// A renewal link of the cache disk.
	RenewUrl pulumi.StringInput `pulumi:"renewUrl"`
	// The status of the resource.
	Status pulumi.IntInput `pulumi:"status"`
}

func (GetGatewayCacheDisksDiskArgs) ElementType added in v3.10.0

func (GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutput added in v3.10.0

func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput

func (GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutputWithContext added in v3.10.0

func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput

type GetGatewayCacheDisksDiskArray added in v3.10.0

type GetGatewayCacheDisksDiskArray []GetGatewayCacheDisksDiskInput

func (GetGatewayCacheDisksDiskArray) ElementType added in v3.10.0

func (GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutput added in v3.10.0

func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput

func (GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutputWithContext added in v3.10.0

func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput

type GetGatewayCacheDisksDiskArrayInput added in v3.10.0

type GetGatewayCacheDisksDiskArrayInput interface {
	pulumi.Input

	ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput
	ToGetGatewayCacheDisksDiskArrayOutputWithContext(context.Context) GetGatewayCacheDisksDiskArrayOutput
}

GetGatewayCacheDisksDiskArrayInput is an input type that accepts GetGatewayCacheDisksDiskArray and GetGatewayCacheDisksDiskArrayOutput values. You can construct a concrete instance of `GetGatewayCacheDisksDiskArrayInput` via:

GetGatewayCacheDisksDiskArray{ GetGatewayCacheDisksDiskArgs{...} }

type GetGatewayCacheDisksDiskArrayOutput added in v3.10.0

type GetGatewayCacheDisksDiskArrayOutput struct{ *pulumi.OutputState }

func (GetGatewayCacheDisksDiskArrayOutput) ElementType added in v3.10.0

func (GetGatewayCacheDisksDiskArrayOutput) Index added in v3.10.0

func (GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutput added in v3.10.0

func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput

func (GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutputWithContext added in v3.10.0

func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput

type GetGatewayCacheDisksDiskInput added in v3.10.0

type GetGatewayCacheDisksDiskInput interface {
	pulumi.Input

	ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput
	ToGetGatewayCacheDisksDiskOutputWithContext(context.Context) GetGatewayCacheDisksDiskOutput
}

GetGatewayCacheDisksDiskInput is an input type that accepts GetGatewayCacheDisksDiskArgs and GetGatewayCacheDisksDiskOutput values. You can construct a concrete instance of `GetGatewayCacheDisksDiskInput` via:

GetGatewayCacheDisksDiskArgs{...}

type GetGatewayCacheDisksDiskOutput added in v3.10.0

type GetGatewayCacheDisksDiskOutput struct{ *pulumi.OutputState }

func (GetGatewayCacheDisksDiskOutput) CacheDiskCategory added in v3.10.0

func (o GetGatewayCacheDisksDiskOutput) CacheDiskCategory() pulumi.StringOutput

The category of eht cache disk.

func (GetGatewayCacheDisksDiskOutput) CacheDiskSizeInGb added in v3.10.0

func (o GetGatewayCacheDisksDiskOutput) CacheDiskSizeInGb() pulumi.IntOutput

The size of the cache disk.

func (GetGatewayCacheDisksDiskOutput) CacheId added in v3.10.0

The ID of the cache disk.

func (GetGatewayCacheDisksDiskOutput) ElementType added in v3.10.0

func (GetGatewayCacheDisksDiskOutput) ExpiredTime added in v3.10.0

The expiration time. Time stamp in seconds (s).

func (GetGatewayCacheDisksDiskOutput) GatewayId added in v3.10.0

The ID of the gateway.

func (GetGatewayCacheDisksDiskOutput) Id added in v3.10.0

The ID of the Gateway Cache Disk.

func (GetGatewayCacheDisksDiskOutput) Iops added in v3.10.0

Per second of the input output.

func (GetGatewayCacheDisksDiskOutput) IsUsed added in v3.10.0

Whether it is used.

func (GetGatewayCacheDisksDiskOutput) LocalFilePath added in v3.10.0

The cache disk inside the device name.

func (GetGatewayCacheDisksDiskOutput) RenewUrl added in v3.10.0

A renewal link of the cache disk.

func (GetGatewayCacheDisksDiskOutput) Status added in v3.10.0

The status of the resource.

func (GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutput added in v3.10.0

func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput

func (GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutputWithContext added in v3.10.0

func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput

type GetGatewayCacheDisksOutputArgs added in v3.10.0

type GetGatewayCacheDisksOutputArgs struct {
	// The ID of the gateway.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// A list of Gateway Cache Disk IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getGatewayCacheDisks.

func (GetGatewayCacheDisksOutputArgs) ElementType added in v3.10.0

type GetGatewayCacheDisksResult added in v3.10.0

type GetGatewayCacheDisksResult struct {
	Disks     []GetGatewayCacheDisksDisk `pulumi:"disks"`
	GatewayId string                     `pulumi:"gatewayId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *int     `pulumi:"status"`
}

A collection of values returned by getGatewayCacheDisks.

func GetGatewayCacheDisks added in v3.10.0

func GetGatewayCacheDisks(ctx *pulumi.Context, args *GetGatewayCacheDisksArgs, opts ...pulumi.InvokeOption) (*GetGatewayCacheDisksResult, error)

This data source provides the Cloud Storage Gateway Gateway Cache Disks of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudstoragegateway.GetGatewayCacheDisks(ctx, &cloudstoragegateway.GetGatewayCacheDisksArgs{
			GatewayId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayCacheDiskId1", ids.Disks[0].Id)
		status, err := cloudstoragegateway.GetGatewayCacheDisks(ctx, &cloudstoragegateway.GetGatewayCacheDisksArgs{
			GatewayId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			Status: pulumi.IntRef(0),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayCacheDiskId2", status.Disks[0].Id)
		return nil
	})
}

```

type GetGatewayCacheDisksResultOutput added in v3.10.0

type GetGatewayCacheDisksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewayCacheDisks.

func GetGatewayCacheDisksOutput added in v3.10.0

func (GetGatewayCacheDisksResultOutput) Disks added in v3.10.0

func (GetGatewayCacheDisksResultOutput) ElementType added in v3.10.0

func (GetGatewayCacheDisksResultOutput) GatewayId added in v3.10.0

func (GetGatewayCacheDisksResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetGatewayCacheDisksResultOutput) Ids added in v3.10.0

func (GetGatewayCacheDisksResultOutput) OutputFile added in v3.10.0

func (GetGatewayCacheDisksResultOutput) Status added in v3.10.0

func (GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutput added in v3.10.0

func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutput() GetGatewayCacheDisksResultOutput

func (GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutputWithContext added in v3.10.0

func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutputWithContext(ctx context.Context) GetGatewayCacheDisksResultOutput

type GetGatewayFileSharesArgs added in v3.10.0

type GetGatewayFileSharesArgs struct {
	// The ID of the gateway.
	GatewayId string `pulumi:"gatewayId"`
	// A list of Gateway File Share IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Gateway File Share name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getGatewayFileShares.

type GetGatewayFileSharesOutputArgs added in v3.10.0

type GetGatewayFileSharesOutputArgs struct {
	// The ID of the gateway.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// A list of Gateway File Share IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Gateway File Share name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getGatewayFileShares.

func (GetGatewayFileSharesOutputArgs) ElementType added in v3.10.0

type GetGatewayFileSharesResult added in v3.10.0

type GetGatewayFileSharesResult struct {
	GatewayId string `pulumi:"gatewayId"`
	// 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"`
	Shares     []GetGatewayFileSharesShare `pulumi:"shares"`
}

A collection of values returned by getGatewayFileShares.

func GetGatewayFileShares added in v3.10.0

func GetGatewayFileShares(ctx *pulumi.Context, args *GetGatewayFileSharesArgs, opts ...pulumi.InvokeOption) (*GetGatewayFileSharesResult, error)

This data source provides the Cloud Storage Gateway Gateway File Shares of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cloudstoragegateway.GetGatewayFileShares(ctx, &cloudstoragegateway.GetGatewayFileSharesArgs{
			GatewayId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayFileShareId1", ids.Shares[0].Id)
		nameRegex, err := cloudstoragegateway.GetGatewayFileShares(ctx, &cloudstoragegateway.GetGatewayFileSharesArgs{
			GatewayId: "example_value",
			NameRegex: pulumi.StringRef("^my-GatewayFileShare"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cloudStorageGatewayGatewayFileShareId2", nameRegex.Shares[0].Id)
		return nil
	})
}

```

type GetGatewayFileSharesResultOutput added in v3.10.0

type GetGatewayFileSharesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewayFileShares.

func GetGatewayFileSharesOutput added in v3.10.0

func (GetGatewayFileSharesResultOutput) ElementType added in v3.10.0

func (GetGatewayFileSharesResultOutput) GatewayId added in v3.10.0

func (GetGatewayFileSharesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetGatewayFileSharesResultOutput) Ids added in v3.10.0

func (GetGatewayFileSharesResultOutput) NameRegex added in v3.10.0

func (GetGatewayFileSharesResultOutput) Names added in v3.10.0

func (GetGatewayFileSharesResultOutput) OutputFile added in v3.10.0

func (GetGatewayFileSharesResultOutput) Shares added in v3.10.0

func (GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutput added in v3.10.0

func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutput() GetGatewayFileSharesResultOutput

func (GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutputWithContext added in v3.10.0

func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutputWithContext(ctx context.Context) GetGatewayFileSharesResultOutput

type GetGatewayFileSharesShare added in v3.10.0

type GetGatewayFileSharesShare struct {
	// The set up gateway file share Server Message Block (SMB) protocol, whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.
	AccessBasedEnumeration bool `pulumi:"accessBasedEnumeration"`
	// Share the private IP address of the RDS instance.
	Address string `pulumi:"address"`
	// The set up gateway file share Max upload speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.
	BackendLimit int `pulumi:"backendLimit"`
	// The set up gateway file share Server Message Block (SMB) protocol whether browsable (that is, in the network neighborhood of whether you can find). The parameters in the NFS protocol not valid under. Default value: `true`.
	Browsable bool `pulumi:"browsable"`
	// Multi-Bucket information.
	BucketInfos string `pulumi:"bucketInfos"`
	// Whether there are multiple buckets.
	BucketsStub bool `pulumi:"bucketsStub"`
	// Direct reading OSS of the gateway file share.
	BypassCacheRead bool `pulumi:"bypassCacheRead"`
	// The cache mode of the gateway file share. Value range: Cache: cached mode. Sync: replication mode are available.
	CacheMode string `pulumi:"cacheMode"`
	// File share is enabled to client-side encryption, the encryption by the use of the KMS key. **NOTE:** note: This KMS key must be the gateway and is in the same Region.
	ClientSideCmk string `pulumi:"clientSideCmk"`
	// Whether to enabled to client-side encryption of the gateway file share. Default value: `false`. **NOTE:** need to contact us open whitelist before you can the settings, and only supports enhanced more than online gateway, at the same time, server-side encryption and to client-side encryption can not simultaneously configuration.
	ClientSideEncryption bool `pulumi:"clientSideEncryption"`
	// Whether directio (direct I/O data transfer) is enabled for file share. Default: `false`.
	DirectIo bool `pulumi:"directIo"`
	// The ID of the disk.
	DiskId string `pulumi:"diskId"`
	// The cache disk type. Valid values: `cloudEfficiency`: Ultra cloud disk. `cloudSsd`:SSD cloud disk.
	DiskType string `pulumi:"diskType"`
	// The set up gateway file share maximum download speed. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.
	DownloadLimit int `pulumi:"downloadLimit"`
	// Shared whether the changes take effect.
	Enabled bool `pulumi:"enabled"`
	// Speed synchronization group ID.
	ExpressSyncId string `pulumi:"expressSyncId"`
	// The set up gateway file share whether to enable Upload optimization, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.
	FastReclaim bool `pulumi:"fastReclaim"`
	// The set up gateway file share and the maximum write speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.
	FeLimit int `pulumi:"feLimit"`
	// Supported by the file system file number.
	FileNumLimit string `pulumi:"fileNumLimit"`
	// File system capacity. Unit: `B`.
	FsSizeLimit string `pulumi:"fsSizeLimit"`
	// The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.
	GatewayFileShareName string `pulumi:"gatewayFileShareName"`
	// The ID of the gateway.
	GatewayId string `pulumi:"gatewayId"`
	// The ID of the Gateway File Share.
	Id string `pulumi:"id"`
	// Whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** Gateway version >= 1.0.40 above support.
	IgnoreDelete bool `pulumi:"ignoreDelete"`
	// Whether debris optimization of the gateway file share. Default value: `false`.
	InPlace bool `pulumi:"inPlace"`
	// Cache growth. Unit: `B/s`.
	InRate string `pulumi:"inRate"`
	// The ID of the file share.
	IndexId string `pulumi:"indexId"`
	// File share is enabled to client-side encryption, key rotation period of time. Seconds. 0 represents no rotation. Rotation of the value range: `3600` ~ `86400`. Default value: `0`.
	KmsRotatePeriod int `pulumi:"kmsRotatePeriod"`
	// The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.
	LagPeriod string `pulumi:"lagPeriod"`
	// The cache disk inside the device name.
	LocalPath string `pulumi:"localPath"`
	// The messages from the queue health types. Valid values: `TopicAndQueueFailure`: A Message Queuing message theme can be accessed during the black hole period. `TopicFailure`: a message theme can be accessed during the black hole period. `MNSFullSyncInit`: full synchronization wait. `MNSFullSyncing`: full synchronization in progress. `QueueFailure`: a message queue can be accessed during the black hole period. `MNSNotEnabled`: Top speed synchronization is not enabled. `MNSHealthy`: sync fine.
	MnsHealth string `pulumi:"mnsHealth"`
	// The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** turns on after I will not support NFS v3 mount the filesystem on a. Gateway version >= 1.2.0 above support.
	NfsV4Optimization bool `pulumi:"nfsV4Optimization"`
	// Multi-Bucket, removing the Bucket.
	ObsoleteBuckets string `pulumi:"obsoleteBuckets"`
	// The name of the Bucket.
	OssBucketName string `pulumi:"ossBucketName"`
	// Whether they are using SSL connect to OSS Bucket.
	OssBucketSsl bool `pulumi:"ossBucketSsl"`
	// The set up gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint:oss-cn-hangzhou-internal.aliyuncs.com.
	OssEndpoint string `pulumi:"ossEndpoint"`
	// The OSS Bucket of type. Valid values: `BucketHealthy`: OSS connectivity. `BucketAccessDenied`: OBJECT STORAGE Service (OSS) access to an exception. `BucketMiscFailure`: OBJECT STORAGE Service (OSS) access to additional exception. `BucketNetworkFailure`: OBJECT STORAGE Service (OSS) access network an exception. `BucketNotExist`: OSS Bucket does not exist. `Nothing returns`: We may not have ever known existed.
	OssHealth string `pulumi:"ossHealth"`
	// For a cloud-based data is. Unit: `B`.
	OssUsed string `pulumi:"ossUsed"`
	// Upload speed. Unit: `B/s`.
	OutRate string `pulumi:"outRate"`
	// In part mode, the directory path group JSON format.
	PartialSyncPaths string `pulumi:"partialSyncPaths"`
	// The prefix of the OSS.
	PathPrefix string `pulumi:"pathPrefix"`
	// The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.
	PollingInterval int `pulumi:"pollingInterval"`
	// Share types. Valid values: `SMB`, `NFS`.
	Protocol string `pulumi:"protocol"`
	// You can use the metadata space. Unit: `B`.
	RemainingMetaSpace string `pulumi:"remainingMetaSpace"`
	// Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
	RemoteSync bool `pulumi:"remoteSync"`
	// Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the shared opens the reverse synchronization or acceded to by the speed synchronization group, this parameter will not take effect.
	RemoteSyncDownload bool `pulumi:"remoteSyncDownload"`
	// The read-only client list. When Protocol NFS is returned when the status is.
	RoClientList string `pulumi:"roClientList"`
	// The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
	RoUserList string `pulumi:"roUserList"`
	// Read and write the client list. When Protocol NFS is returned when the status is.
	RwClientList string `pulumi:"rwClientList"`
	// Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
	RwUserList string `pulumi:"rwUserList"`
	// File share is enabled server-side encryption, encryption used by the KMS key.
	ServerSideCmk string `pulumi:"serverSideCmk"`
	// If the OSS Bucket side encryption.
	ServerSideEncryption bool `pulumi:"serverSideEncryption"`
	// The caching capacity. Unit: `B`.
	Size string `pulumi:"size"`
	// The set up gateway file share NFS protocol user mapping. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`.
	Squash string `pulumi:"squash"`
	// File synchronization types. Valid values: `clean`, `dirty`. `clean`: synchronization is complete. `dirty`: synchronization has not been completed.
	State string `pulumi:"state"`
	// Whether to support the archive transparent read.
	SupportArchive bool `pulumi:"supportArchive"`
	// Full synchronization progress. When the share has been added for a synchronization group, the return parameters are valid, that shared full synchronization progress (0~100). `-2`: indicates that share the Gateway version does not support this feature. `-1`: the share does not occur full synchronization.
	SyncProgress int `pulumi:"syncProgress"`
	// The OSS Bucket to the Gateway total downloads. Unit: `B`.
	TotalDownload string `pulumi:"totalDownload"`
	// The OSS Bucket to the Gateway total Upload amount. Unit: `B`.
	TotalUpload string `pulumi:"totalUpload"`
	// The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.
	TransferAcceleration bool `pulumi:"transferAcceleration"`
	// Used cache. Unit: `B`.
	Used string `pulumi:"used"`
	// The set up gateway file share Server Message Block (SMB) protocol, whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.
	WindowsAcl bool `pulumi:"windowsAcl"`
}

type GetGatewayFileSharesShareArgs added in v3.10.0

type GetGatewayFileSharesShareArgs struct {
	// The set up gateway file share Server Message Block (SMB) protocol, whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.
	AccessBasedEnumeration pulumi.BoolInput `pulumi:"accessBasedEnumeration"`
	// Share the private IP address of the RDS instance.
	Address pulumi.StringInput `pulumi:"address"`
	// The set up gateway file share Max upload speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.
	BackendLimit pulumi.IntInput `pulumi:"backendLimit"`
	// The set up gateway file share Server Message Block (SMB) protocol whether browsable (that is, in the network neighborhood of whether you can find). The parameters in the NFS protocol not valid under. Default value: `true`.
	Browsable pulumi.BoolInput `pulumi:"browsable"`
	// Multi-Bucket information.
	BucketInfos pulumi.StringInput `pulumi:"bucketInfos"`
	// Whether there are multiple buckets.
	BucketsStub pulumi.BoolInput `pulumi:"bucketsStub"`
	// Direct reading OSS of the gateway file share.
	BypassCacheRead pulumi.BoolInput `pulumi:"bypassCacheRead"`
	// The cache mode of the gateway file share. Value range: Cache: cached mode. Sync: replication mode are available.
	CacheMode pulumi.StringInput `pulumi:"cacheMode"`
	// File share is enabled to client-side encryption, the encryption by the use of the KMS key. **NOTE:** note: This KMS key must be the gateway and is in the same Region.
	ClientSideCmk pulumi.StringInput `pulumi:"clientSideCmk"`
	// Whether to enabled to client-side encryption of the gateway file share. Default value: `false`. **NOTE:** need to contact us open whitelist before you can the settings, and only supports enhanced more than online gateway, at the same time, server-side encryption and to client-side encryption can not simultaneously configuration.
	ClientSideEncryption pulumi.BoolInput `pulumi:"clientSideEncryption"`
	// Whether directio (direct I/O data transfer) is enabled for file share. Default: `false`.
	DirectIo pulumi.BoolInput `pulumi:"directIo"`
	// The ID of the disk.
	DiskId pulumi.StringInput `pulumi:"diskId"`
	// The cache disk type. Valid values: `cloudEfficiency`: Ultra cloud disk. `cloudSsd`:SSD cloud disk.
	DiskType pulumi.StringInput `pulumi:"diskType"`
	// The set up gateway file share maximum download speed. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.
	DownloadLimit pulumi.IntInput `pulumi:"downloadLimit"`
	// Shared whether the changes take effect.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Speed synchronization group ID.
	ExpressSyncId pulumi.StringInput `pulumi:"expressSyncId"`
	// The set up gateway file share whether to enable Upload optimization, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.
	FastReclaim pulumi.BoolInput `pulumi:"fastReclaim"`
	// The set up gateway file share and the maximum write speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.
	FeLimit pulumi.IntInput `pulumi:"feLimit"`
	// Supported by the file system file number.
	FileNumLimit pulumi.StringInput `pulumi:"fileNumLimit"`
	// File system capacity. Unit: `B`.
	FsSizeLimit pulumi.StringInput `pulumi:"fsSizeLimit"`
	// The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.
	GatewayFileShareName pulumi.StringInput `pulumi:"gatewayFileShareName"`
	// The ID of the gateway.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// The ID of the Gateway File Share.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** Gateway version >= 1.0.40 above support.
	IgnoreDelete pulumi.BoolInput `pulumi:"ignoreDelete"`
	// Whether debris optimization of the gateway file share. Default value: `false`.
	InPlace pulumi.BoolInput `pulumi:"inPlace"`
	// Cache growth. Unit: `B/s`.
	InRate pulumi.StringInput `pulumi:"inRate"`
	// The ID of the file share.
	IndexId pulumi.StringInput `pulumi:"indexId"`
	// File share is enabled to client-side encryption, key rotation period of time. Seconds. 0 represents no rotation. Rotation of the value range: `3600` ~ `86400`. Default value: `0`.
	KmsRotatePeriod pulumi.IntInput `pulumi:"kmsRotatePeriod"`
	// The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.
	LagPeriod pulumi.StringInput `pulumi:"lagPeriod"`
	// The cache disk inside the device name.
	LocalPath pulumi.StringInput `pulumi:"localPath"`
	// The messages from the queue health types. Valid values: `TopicAndQueueFailure`: A Message Queuing message theme can be accessed during the black hole period. `TopicFailure`: a message theme can be accessed during the black hole period. `MNSFullSyncInit`: full synchronization wait. `MNSFullSyncing`: full synchronization in progress. `QueueFailure`: a message queue can be accessed during the black hole period. `MNSNotEnabled`: Top speed synchronization is not enabled. `MNSHealthy`: sync fine.
	MnsHealth pulumi.StringInput `pulumi:"mnsHealth"`
	// The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** turns on after I will not support NFS v3 mount the filesystem on a. Gateway version >= 1.2.0 above support.
	NfsV4Optimization pulumi.BoolInput `pulumi:"nfsV4Optimization"`
	// Multi-Bucket, removing the Bucket.
	ObsoleteBuckets pulumi.StringInput `pulumi:"obsoleteBuckets"`
	// The name of the Bucket.
	OssBucketName pulumi.StringInput `pulumi:"ossBucketName"`
	// Whether they are using SSL connect to OSS Bucket.
	OssBucketSsl pulumi.BoolInput `pulumi:"ossBucketSsl"`
	// The set up gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint:oss-cn-hangzhou-internal.aliyuncs.com.
	OssEndpoint pulumi.StringInput `pulumi:"ossEndpoint"`
	// The OSS Bucket of type. Valid values: `BucketHealthy`: OSS connectivity. `BucketAccessDenied`: OBJECT STORAGE Service (OSS) access to an exception. `BucketMiscFailure`: OBJECT STORAGE Service (OSS) access to additional exception. `BucketNetworkFailure`: OBJECT STORAGE Service (OSS) access network an exception. `BucketNotExist`: OSS Bucket does not exist. `Nothing returns`: We may not have ever known existed.
	OssHealth pulumi.StringInput `pulumi:"ossHealth"`
	// For a cloud-based data is. Unit: `B`.
	OssUsed pulumi.StringInput `pulumi:"ossUsed"`
	// Upload speed. Unit: `B/s`.
	OutRate pulumi.StringInput `pulumi:"outRate"`
	// In part mode, the directory path group JSON format.
	PartialSyncPaths pulumi.StringInput `pulumi:"partialSyncPaths"`
	// The prefix of the OSS.
	PathPrefix pulumi.StringInput `pulumi:"pathPrefix"`
	// The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.
	PollingInterval pulumi.IntInput `pulumi:"pollingInterval"`
	// Share types. Valid values: `SMB`, `NFS`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// You can use the metadata space. Unit: `B`.
	RemainingMetaSpace pulumi.StringInput `pulumi:"remainingMetaSpace"`
	// Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
	RemoteSync pulumi.BoolInput `pulumi:"remoteSync"`
	// Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the shared opens the reverse synchronization or acceded to by the speed synchronization group, this parameter will not take effect.
	RemoteSyncDownload pulumi.BoolInput `pulumi:"remoteSyncDownload"`
	// The read-only client list. When Protocol NFS is returned when the status is.
	RoClientList pulumi.StringInput `pulumi:"roClientList"`
	// The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
	RoUserList pulumi.StringInput `pulumi:"roUserList"`
	// Read and write the client list. When Protocol NFS is returned when the status is.
	RwClientList pulumi.StringInput `pulumi:"rwClientList"`
	// Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
	RwUserList pulumi.StringInput `pulumi:"rwUserList"`
	// File share is enabled server-side encryption, encryption used by the KMS key.
	ServerSideCmk pulumi.StringInput `pulumi:"serverSideCmk"`
	// If the OSS Bucket side encryption.
	ServerSideEncryption pulumi.BoolInput `pulumi:"serverSideEncryption"`
	// The caching capacity. Unit: `B`.
	Size pulumi.StringInput `pulumi:"size"`
	// The set up gateway file share NFS protocol user mapping. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`.
	Squash pulumi.StringInput `pulumi:"squash"`
	// File synchronization types. Valid values: `clean`, `dirty`. `clean`: synchronization is complete. `dirty`: synchronization has not been completed.
	State pulumi.StringInput `pulumi:"state"`
	// Whether to support the archive transparent read.
	SupportArchive pulumi.BoolInput `pulumi:"supportArchive"`
	// Full synchronization progress. When the share has been added for a synchronization group, the return parameters are valid, that shared full synchronization progress (0~100). `-2`: indicates that share the Gateway version does not support this feature. `-1`: the share does not occur full synchronization.
	SyncProgress pulumi.IntInput `pulumi:"syncProgress"`
	// The OSS Bucket to the Gateway total downloads. Unit: `B`.
	TotalDownload pulumi.StringInput `pulumi:"totalDownload"`
	// The OSS Bucket to the Gateway total Upload amount. Unit: `B`.
	TotalUpload pulumi.StringInput `pulumi:"totalUpload"`
	// The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.
	TransferAcceleration pulumi.BoolInput `pulumi:"transferAcceleration"`
	// Used cache. Unit: `B`.
	Used pulumi.StringInput `pulumi:"used"`
	// The set up gateway file share Server Message Block (SMB) protocol, whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.
	WindowsAcl pulumi.BoolInput `pulumi:"windowsAcl"`
}

func (GetGatewayFileSharesShareArgs) ElementType added in v3.10.0

func (GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutput added in v3.10.0

func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput

func (GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutputWithContext added in v3.10.0

func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput

type GetGatewayFileSharesShareArray added in v3.10.0

type GetGatewayFileSharesShareArray []GetGatewayFileSharesShareInput

func (GetGatewayFileSharesShareArray) ElementType added in v3.10.0

func (GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutput added in v3.10.0

func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput

func (GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutputWithContext added in v3.10.0

func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput

type GetGatewayFileSharesShareArrayInput added in v3.10.0

type GetGatewayFileSharesShareArrayInput interface {
	pulumi.Input

	ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput
	ToGetGatewayFileSharesShareArrayOutputWithContext(context.Context) GetGatewayFileSharesShareArrayOutput
}

GetGatewayFileSharesShareArrayInput is an input type that accepts GetGatewayFileSharesShareArray and GetGatewayFileSharesShareArrayOutput values. You can construct a concrete instance of `GetGatewayFileSharesShareArrayInput` via:

GetGatewayFileSharesShareArray{ GetGatewayFileSharesShareArgs{...} }

type GetGatewayFileSharesShareArrayOutput added in v3.10.0

type GetGatewayFileSharesShareArrayOutput struct{ *pulumi.OutputState }

func (GetGatewayFileSharesShareArrayOutput) ElementType added in v3.10.0

func (GetGatewayFileSharesShareArrayOutput) Index added in v3.10.0

func (GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutput added in v3.10.0

func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput

func (GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutputWithContext added in v3.10.0

func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput

type GetGatewayFileSharesShareInput added in v3.10.0

type GetGatewayFileSharesShareInput interface {
	pulumi.Input

	ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput
	ToGetGatewayFileSharesShareOutputWithContext(context.Context) GetGatewayFileSharesShareOutput
}

GetGatewayFileSharesShareInput is an input type that accepts GetGatewayFileSharesShareArgs and GetGatewayFileSharesShareOutput values. You can construct a concrete instance of `GetGatewayFileSharesShareInput` via:

GetGatewayFileSharesShareArgs{...}

type GetGatewayFileSharesShareOutput added in v3.10.0

type GetGatewayFileSharesShareOutput struct{ *pulumi.OutputState }

func (GetGatewayFileSharesShareOutput) AccessBasedEnumeration added in v3.10.0

func (o GetGatewayFileSharesShareOutput) AccessBasedEnumeration() pulumi.BoolOutput

The set up gateway file share Server Message Block (SMB) protocol, whether to enable Windows ABE, the prime minister, need windowsAcl parameter is set to true in the entry into force of. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.

func (GetGatewayFileSharesShareOutput) Address added in v3.10.0

Share the private IP address of the RDS instance.

func (GetGatewayFileSharesShareOutput) BackendLimit added in v3.10.0

The set up gateway file share Max upload speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`. **NOTE:** at the same time if you have to limit the maximum write speed, maximum upload speed is no less than the maximum write speed.

func (GetGatewayFileSharesShareOutput) Browsable added in v3.10.0

The set up gateway file share Server Message Block (SMB) protocol whether browsable (that is, in the network neighborhood of whether you can find). The parameters in the NFS protocol not valid under. Default value: `true`.

func (GetGatewayFileSharesShareOutput) BucketInfos added in v3.10.0

Multi-Bucket information.

func (GetGatewayFileSharesShareOutput) BucketsStub added in v3.10.0

Whether there are multiple buckets.

func (GetGatewayFileSharesShareOutput) BypassCacheRead added in v3.10.0

Direct reading OSS of the gateway file share.

func (GetGatewayFileSharesShareOutput) CacheMode added in v3.10.0

The cache mode of the gateway file share. Value range: Cache: cached mode. Sync: replication mode are available.

func (GetGatewayFileSharesShareOutput) ClientSideCmk added in v3.10.0

File share is enabled to client-side encryption, the encryption by the use of the KMS key. **NOTE:** note: This KMS key must be the gateway and is in the same Region.

func (GetGatewayFileSharesShareOutput) ClientSideEncryption added in v3.10.0

func (o GetGatewayFileSharesShareOutput) ClientSideEncryption() pulumi.BoolOutput

Whether to enabled to client-side encryption of the gateway file share. Default value: `false`. **NOTE:** need to contact us open whitelist before you can the settings, and only supports enhanced more than online gateway, at the same time, server-side encryption and to client-side encryption can not simultaneously configuration.

func (GetGatewayFileSharesShareOutput) DirectIo added in v3.10.0

Whether directio (direct I/O data transfer) is enabled for file share. Default: `false`.

func (GetGatewayFileSharesShareOutput) DiskId added in v3.10.0

The ID of the disk.

func (GetGatewayFileSharesShareOutput) DiskType added in v3.10.0

The cache disk type. Valid values: `cloudEfficiency`: Ultra cloud disk. `cloudSsd`:SSD cloud disk.

func (GetGatewayFileSharesShareOutput) DownloadLimit added in v3.10.0

The set up gateway file share maximum download speed. Unit: `MB/s`. `0` means unlimited. Value range: `0` ~ `1280`. **NOTE:** only in copy mode and enable download file data can be set. only when the shared opens the reverse synchronization or acceded to by the speed synchronization Group when, this parameter will not take effect. Gateway version >= 1.3.0 above support.

func (GetGatewayFileSharesShareOutput) ElementType added in v3.10.0

func (GetGatewayFileSharesShareOutput) Enabled added in v3.10.0

Shared whether the changes take effect.

func (GetGatewayFileSharesShareOutput) ExpressSyncId added in v3.10.0

Speed synchronization group ID.

func (GetGatewayFileSharesShareOutput) FastReclaim added in v3.10.0

The set up gateway file share whether to enable Upload optimization, which is suitable for data pure backup migration scenarios. Default value: `false`. **NOTE:** Gateway version >= 1.0.39 above support.

func (GetGatewayFileSharesShareOutput) FeLimit added in v3.10.0

The set up gateway file share and the maximum write speed. Unit: `MB/s`, `0` means unlimited. Value range: `0` ~ `1280`. Default value: `0`.

func (GetGatewayFileSharesShareOutput) FileNumLimit added in v3.10.0

Supported by the file system file number.

func (GetGatewayFileSharesShareOutput) FsSizeLimit added in v3.10.0

File system capacity. Unit: `B`.

func (GetGatewayFileSharesShareOutput) GatewayFileShareName added in v3.10.0

func (o GetGatewayFileSharesShareOutput) GatewayFileShareName() pulumi.StringOutput

The name of the file share. Length from `1` to `255` characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter.

func (GetGatewayFileSharesShareOutput) GatewayId added in v3.10.0

The ID of the gateway.

func (GetGatewayFileSharesShareOutput) Id added in v3.10.0

The ID of the Gateway File Share.

func (GetGatewayFileSharesShareOutput) IgnoreDelete added in v3.10.0

Whether to ignore deleted of the gateway file share. After the opening of the Gateway side delete file or delete cloud (OSS) corresponding to the file. Default value: `false`. **NOTE:** Gateway version >= 1.0.40 above support.

func (GetGatewayFileSharesShareOutput) InPlace added in v3.10.0

Whether debris optimization of the gateway file share. Default value: `false`.

func (GetGatewayFileSharesShareOutput) InRate added in v3.10.0

Cache growth. Unit: `B/s`.

func (GetGatewayFileSharesShareOutput) IndexId added in v3.10.0

The ID of the file share.

func (GetGatewayFileSharesShareOutput) KmsRotatePeriod added in v3.10.0

func (o GetGatewayFileSharesShareOutput) KmsRotatePeriod() pulumi.IntOutput

File share is enabled to client-side encryption, key rotation period of time. Seconds. 0 represents no rotation. Rotation of the value range: `3600` ~ `86400`. Default value: `0`.

func (GetGatewayFileSharesShareOutput) LagPeriod added in v3.10.0

The synchronization delay, I.e. gateway local cache sync to Alibaba Cloud Object Storage Service (oss) of the delay time. Unit: `Seconds`. Value range: `5` ~ `120`. Default value: `5`. **NOTE:** Gateway version >= 1.0.40 above support.

func (GetGatewayFileSharesShareOutput) LocalPath added in v3.10.0

The cache disk inside the device name.

func (GetGatewayFileSharesShareOutput) MnsHealth added in v3.10.0

The messages from the queue health types. Valid values: `TopicAndQueueFailure`: A Message Queuing message theme can be accessed during the black hole period. `TopicFailure`: a message theme can be accessed during the black hole period. `MNSFullSyncInit`: full synchronization wait. `MNSFullSyncing`: full synchronization in progress. `QueueFailure`: a message queue can be accessed during the black hole period. `MNSNotEnabled`: Top speed synchronization is not enabled. `MNSHealthy`: sync fine.

func (GetGatewayFileSharesShareOutput) NfsV4Optimization added in v3.10.0

func (o GetGatewayFileSharesShareOutput) NfsV4Optimization() pulumi.BoolOutput

The set up gateway file share NFS protocol, whether to enable NFS v4 optimization improve Mount Upload efficiency. Default value: `false`. **NOTE:** turns on after I will not support NFS v3 mount the filesystem on a. Gateway version >= 1.2.0 above support.

func (GetGatewayFileSharesShareOutput) ObsoleteBuckets added in v3.10.0

Multi-Bucket, removing the Bucket.

func (GetGatewayFileSharesShareOutput) OssBucketName added in v3.10.0

The name of the Bucket.

func (GetGatewayFileSharesShareOutput) OssBucketSsl added in v3.10.0

Whether they are using SSL connect to OSS Bucket.

func (GetGatewayFileSharesShareOutput) OssEndpoint added in v3.10.0

The set up gateway file share corresponds to the Object Storage SERVICE (OSS), Bucket Endpoint. **NOTE:** distinguish between intranet and internet Endpoint. We recommend that if the OSS Bucket and the gateway is in the same Region is use the RDS intranet IP Endpoint:oss-cn-hangzhou-internal.aliyuncs.com.

func (GetGatewayFileSharesShareOutput) OssHealth added in v3.10.0

The OSS Bucket of type. Valid values: `BucketHealthy`: OSS connectivity. `BucketAccessDenied`: OBJECT STORAGE Service (OSS) access to an exception. `BucketMiscFailure`: OBJECT STORAGE Service (OSS) access to additional exception. `BucketNetworkFailure`: OBJECT STORAGE Service (OSS) access network an exception. `BucketNotExist`: OSS Bucket does not exist. `Nothing returns`: We may not have ever known existed.

func (GetGatewayFileSharesShareOutput) OssUsed added in v3.10.0

For a cloud-based data is. Unit: `B`.

func (GetGatewayFileSharesShareOutput) OutRate added in v3.10.0

Upload speed. Unit: `B/s`.

func (GetGatewayFileSharesShareOutput) PartialSyncPaths added in v3.10.0

In part mode, the directory path group JSON format.

func (GetGatewayFileSharesShareOutput) PathPrefix added in v3.10.0

The prefix of the OSS.

func (GetGatewayFileSharesShareOutput) PollingInterval added in v3.10.0

func (o GetGatewayFileSharesShareOutput) PollingInterval() pulumi.IntOutput

The reverse synchronization time intervals of the gateway file share. Value range: `15` ~ `36000`. **NOTE:** in copy mode + reverse synchronization is enabled Download file data, value range: `3600` ~ `36000`.

func (GetGatewayFileSharesShareOutput) Protocol added in v3.10.0

Share types. Valid values: `SMB`, `NFS`.

func (GetGatewayFileSharesShareOutput) RemainingMetaSpace added in v3.10.0

func (o GetGatewayFileSharesShareOutput) RemainingMetaSpace() pulumi.StringOutput

You can use the metadata space. Unit: `B`.

func (GetGatewayFileSharesShareOutput) RemoteSync added in v3.10.0

Whether to enable reverse synchronization of the gateway file share. Default value: `false`.

func (GetGatewayFileSharesShareOutput) RemoteSyncDownload added in v3.10.0

func (o GetGatewayFileSharesShareOutput) RemoteSyncDownload() pulumi.BoolOutput

Copy mode, whether to download the file data. Default value: `false`. **NOTE:** only when the shared opens the reverse synchronization or acceded to by the speed synchronization group, this parameter will not take effect.

func (GetGatewayFileSharesShareOutput) RoClientList added in v3.10.0

The read-only client list. When Protocol NFS is returned when the status is.

func (GetGatewayFileSharesShareOutput) RoUserList added in v3.10.0

The read-only client list. When Protocol for Server Message Block (SMB) to go back to.

func (GetGatewayFileSharesShareOutput) RwClientList added in v3.10.0

Read and write the client list. When Protocol NFS is returned when the status is.

func (GetGatewayFileSharesShareOutput) RwUserList added in v3.10.0

Read-write user list. When Protocol for Server Message Block (SMB) to go back to.

func (GetGatewayFileSharesShareOutput) ServerSideCmk added in v3.10.0

File share is enabled server-side encryption, encryption used by the KMS key.

func (GetGatewayFileSharesShareOutput) ServerSideEncryption added in v3.10.0

func (o GetGatewayFileSharesShareOutput) ServerSideEncryption() pulumi.BoolOutput

If the OSS Bucket side encryption.

func (GetGatewayFileSharesShareOutput) Size added in v3.10.0

The caching capacity. Unit: `B`.

func (GetGatewayFileSharesShareOutput) Squash added in v3.10.0

The set up gateway file share NFS protocol user mapping. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`.

func (GetGatewayFileSharesShareOutput) State added in v3.10.0

File synchronization types. Valid values: `clean`, `dirty`. `clean`: synchronization is complete. `dirty`: synchronization has not been completed.

func (GetGatewayFileSharesShareOutput) SupportArchive added in v3.10.0

Whether to support the archive transparent read.

func (GetGatewayFileSharesShareOutput) SyncProgress added in v3.10.0

Full synchronization progress. When the share has been added for a synchronization group, the return parameters are valid, that shared full synchronization progress (0~100). `-2`: indicates that share the Gateway version does not support this feature. `-1`: the share does not occur full synchronization.

func (GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutput added in v3.10.0

func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput

func (GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutputWithContext added in v3.10.0

func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput

func (GetGatewayFileSharesShareOutput) TotalDownload added in v3.10.0

The OSS Bucket to the Gateway total downloads. Unit: `B`.

func (GetGatewayFileSharesShareOutput) TotalUpload added in v3.10.0

The OSS Bucket to the Gateway total Upload amount. Unit: `B`.

func (GetGatewayFileSharesShareOutput) TransferAcceleration added in v3.10.0

func (o GetGatewayFileSharesShareOutput) TransferAcceleration() pulumi.BoolOutput

The set up gateway file share whether to enable transmission acceleration needs corresponding OSS Bucket enabled transport acceleration. **NOTE:** Gateway version >= 1.3.0 above support.

func (GetGatewayFileSharesShareOutput) Used added in v3.10.0

Used cache. Unit: `B`.

func (GetGatewayFileSharesShareOutput) WindowsAcl added in v3.10.0

The set up gateway file share Server Message Block (SMB) protocol, whether to enable by Windows access list (requires AD domain) the permissions control. Default value: `false`. **NOTE:** Gateway version >= 1.0.45 above support.

type GetGatewaySmbUsersArgs added in v3.10.0

type GetGatewaySmbUsersArgs struct {
	// The Gateway ID.
	GatewayId string `pulumi:"gatewayId"`
	// A list of Gateway SMB User IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Gateway SMB username.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getGatewaySmbUsers.

type GetGatewaySmbUsersOutputArgs added in v3.10.0

type GetGatewaySmbUsersOutputArgs struct {
	// The Gateway ID.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// A list of Gateway SMB User IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Gateway SMB username.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getGatewaySmbUsers.

func (GetGatewaySmbUsersOutputArgs) ElementType added in v3.10.0

type GetGatewaySmbUsersResult added in v3.10.0

type GetGatewaySmbUsersResult struct {
	GatewayId string `pulumi:"gatewayId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                   `pulumi:"id"`
	Ids        []string                 `pulumi:"ids"`
	NameRegex  *string                  `pulumi:"nameRegex"`
	OutputFile *string                  `pulumi:"outputFile"`
	Users      []GetGatewaySmbUsersUser `pulumi:"users"`
}

A collection of values returned by getGatewaySmbUsers.

func GetGatewaySmbUsers added in v3.10.0

func GetGatewaySmbUsers(ctx *pulumi.Context, args *GetGatewaySmbUsersArgs, opts ...pulumi.InvokeOption) (*GetGatewaySmbUsersResult, error)

This data source provides the Cloud Storage Gateway Gateway SMB Users of the current Alibaba Cloud user.

> **NOTE:** Available in v1.142.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId: pulumi.StringRef(_default.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		example, err := cloudstoragegateway.NewStorageBundle(ctx, "example", &cloudstoragegateway.StorageBundleArgs{
			StorageBundleName: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		defaultGateway, err := cloudstoragegateway.NewGateway(ctx, "default", &cloudstoragegateway.GatewayArgs{
			Description:            pulumi.String("tf-acctestDesalone"),
			GatewayClass:           pulumi.String("Standard"),
			Type:                   pulumi.String("File"),
			PaymentType:            pulumi.String("PayAsYouGo"),
			VswitchId:              pulumi.String(defaultGetSwitches.Ids[0]),
			ReleaseAfterExpiration: pulumi.Bool(false),
			PublicNetworkBandwidth: pulumi.Int(40),
			StorageBundleId:        example.ID(),
			Location:               pulumi.String("Cloud"),
			GatewayName:            pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		defaultGatewaySmbUser, err := cloudstoragegateway.NewGatewaySmbUser(ctx, "default", &cloudstoragegateway.GatewaySmbUserArgs{
			Username:  pulumi.String("your_username"),
			Password:  pulumi.String("password"),
			GatewayId: defaultGateway.ID(),
		})
		if err != nil {
			return err
		}
		ids := cloudstoragegateway.GetGatewaySmbUsersOutput(ctx, cloudstoragegateway.GetGatewaySmbUsersOutputArgs{
			GatewayId: defaultGateway.ID(),
			Ids: pulumi.StringArray{
				defaultGatewaySmbUser.ID(),
			},
		}, nil)
		ctx.Export("cloudStorageGatewayGatewaySmbUserId1", ids.ApplyT(func(ids cloudstoragegateway.GetGatewaySmbUsersResult) (*string, error) {
			return &ids.Users[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetGatewaySmbUsersResultOutput added in v3.10.0

type GetGatewaySmbUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGatewaySmbUsers.

func GetGatewaySmbUsersOutput added in v3.10.0

func (GetGatewaySmbUsersResultOutput) ElementType added in v3.10.0

func (GetGatewaySmbUsersResultOutput) GatewayId added in v3.10.0

func (GetGatewaySmbUsersResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetGatewaySmbUsersResultOutput) Ids added in v3.10.0

func (GetGatewaySmbUsersResultOutput) NameRegex added in v3.10.0

func (GetGatewaySmbUsersResultOutput) OutputFile added in v3.10.0

func (GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutput added in v3.10.0

func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutput() GetGatewaySmbUsersResultOutput

func (GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutputWithContext added in v3.10.0

func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutputWithContext(ctx context.Context) GetGatewaySmbUsersResultOutput

func (GetGatewaySmbUsersResultOutput) Users added in v3.10.0

type GetGatewaySmbUsersUser added in v3.10.0

type GetGatewaySmbUsersUser struct {
	// The Gateway ID.
	GatewayId string `pulumi:"gatewayId"`
	// The ID of the Gateway SMB User.
	Id string `pulumi:"id"`
	// The username of the Gateway SMB User.
	Username string `pulumi:"username"`
}

type GetGatewaySmbUsersUserArgs added in v3.10.0

type GetGatewaySmbUsersUserArgs struct {
	// The Gateway ID.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// The ID of the Gateway SMB User.
	Id pulumi.StringInput `pulumi:"id"`
	// The username of the Gateway SMB User.
	Username pulumi.StringInput `pulumi:"username"`
}

func (GetGatewaySmbUsersUserArgs) ElementType added in v3.10.0

func (GetGatewaySmbUsersUserArgs) ElementType() reflect.Type

func (GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutput added in v3.10.0

func (i GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput

func (GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutputWithContext added in v3.10.0

func (i GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserOutput

type GetGatewaySmbUsersUserArray added in v3.10.0

type GetGatewaySmbUsersUserArray []GetGatewaySmbUsersUserInput

func (GetGatewaySmbUsersUserArray) ElementType added in v3.10.0

func (GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutput added in v3.10.0

func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput

func (GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutputWithContext added in v3.10.0

func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput

type GetGatewaySmbUsersUserArrayInput added in v3.10.0

type GetGatewaySmbUsersUserArrayInput interface {
	pulumi.Input

	ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput
	ToGetGatewaySmbUsersUserArrayOutputWithContext(context.Context) GetGatewaySmbUsersUserArrayOutput
}

GetGatewaySmbUsersUserArrayInput is an input type that accepts GetGatewaySmbUsersUserArray and GetGatewaySmbUsersUserArrayOutput values. You can construct a concrete instance of `GetGatewaySmbUsersUserArrayInput` via:

GetGatewaySmbUsersUserArray{ GetGatewaySmbUsersUserArgs{...} }

type GetGatewaySmbUsersUserArrayOutput added in v3.10.0

type GetGatewaySmbUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetGatewaySmbUsersUserArrayOutput) ElementType added in v3.10.0

func (GetGatewaySmbUsersUserArrayOutput) Index added in v3.10.0

func (GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutput added in v3.10.0

func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput

func (GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutputWithContext added in v3.10.0

func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput

type GetGatewaySmbUsersUserInput added in v3.10.0

type GetGatewaySmbUsersUserInput interface {
	pulumi.Input

	ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput
	ToGetGatewaySmbUsersUserOutputWithContext(context.Context) GetGatewaySmbUsersUserOutput
}

GetGatewaySmbUsersUserInput is an input type that accepts GetGatewaySmbUsersUserArgs and GetGatewaySmbUsersUserOutput values. You can construct a concrete instance of `GetGatewaySmbUsersUserInput` via:

GetGatewaySmbUsersUserArgs{...}

type GetGatewaySmbUsersUserOutput added in v3.10.0

type GetGatewaySmbUsersUserOutput struct{ *pulumi.OutputState }

func (GetGatewaySmbUsersUserOutput) ElementType added in v3.10.0

func (GetGatewaySmbUsersUserOutput) GatewayId added in v3.10.0

The Gateway ID.

func (GetGatewaySmbUsersUserOutput) Id added in v3.10.0

The ID of the Gateway SMB User.

func (GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutput added in v3.10.0

func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput

func (GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutputWithContext added in v3.10.0

func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserOutput

func (GetGatewaySmbUsersUserOutput) Username added in v3.10.0

The username of the Gateway SMB User.

type GetGatewaysArgs added in v3.7.0

type GetGatewaysArgs struct {
	// A list of Gateway IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Gateway name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	PageNumber *int    `pulumi:"pageNumber"`
	PageSize   *int    `pulumi:"pageSize"`
	// gateway status.
	Status *string `pulumi:"status"`
	// storage bundle id.
	StorageBundleId string `pulumi:"storageBundleId"`
}

A collection of arguments for invoking getGateways.

type GetGatewaysGateway added in v3.7.0

type GetGatewaysGateway struct {
	// gateway .
	ActivatedTime string `pulumi:"activatedTime"`
	BuyUrl        string `pulumi:"buyUrl"`
	// gateway category.
	Category string `pulumi:"category"`
	// gateway created timestamp in second format.
	CreateTime string `pulumi:"createTime"`
	// gateway description.
	Description string `pulumi:"description"`
	// gateway ecs instance id.
	EcsInstanceId string `pulumi:"ecsInstanceId"`
	// gateway expiration status.
	ExpireStatus int `pulumi:"expireStatus"`
	// gateway expiration timestamp in second format.
	ExpiredTime string `pulumi:"expiredTime"`
	// gateway class.
	GatewayClass string `pulumi:"gatewayClass"`
	// gateway id.
	GatewayId string `pulumi:"gatewayId"`
	// gateway name.
	GatewayName string `pulumi:"gatewayName"`
	// gateway version.
	GatewayVersion string `pulumi:"gatewayVersion"`
	// The ID of the Gateway.
	Id string `pulumi:"id"`
	// gateway service ip.
	InnerIp string `pulumi:"innerIp"`
	// gateway public ip.
	Ip string `pulumi:"ip"`
	// whether subscription gateway is released after expiration or not.
	IsReleaseAfterExpiration bool `pulumi:"isReleaseAfterExpiration"`
	// gateway location.
	Location string `pulumi:"location"`
	// gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.
	PaymentType string `pulumi:"paymentType"`
	// gateway public network bandwidth.
	PublicNetworkBandwidth int    `pulumi:"publicNetworkBandwidth"`
	RenewUrl               string `pulumi:"renewUrl"`
	// gateway status.
	Status string `pulumi:"status"`
	// storage bundle id.
	StorageBundleId string `pulumi:"storageBundleId"`
	// gateway task id.
	TaskId string `pulumi:"taskId"`
	// gateway type.
	Type string `pulumi:"type"`
	// gateway vpc id.
	VpcId string `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId string `pulumi:"vswitchId"`
}

type GetGatewaysGatewayArgs added in v3.7.0

type GetGatewaysGatewayArgs struct {
	// gateway .
	ActivatedTime pulumi.StringInput `pulumi:"activatedTime"`
	BuyUrl        pulumi.StringInput `pulumi:"buyUrl"`
	// gateway category.
	Category pulumi.StringInput `pulumi:"category"`
	// gateway created timestamp in second format.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// gateway description.
	Description pulumi.StringInput `pulumi:"description"`
	// gateway ecs instance id.
	EcsInstanceId pulumi.StringInput `pulumi:"ecsInstanceId"`
	// gateway expiration status.
	ExpireStatus pulumi.IntInput `pulumi:"expireStatus"`
	// gateway expiration timestamp in second format.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// gateway class.
	GatewayClass pulumi.StringInput `pulumi:"gatewayClass"`
	// gateway id.
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// gateway name.
	GatewayName pulumi.StringInput `pulumi:"gatewayName"`
	// gateway version.
	GatewayVersion pulumi.StringInput `pulumi:"gatewayVersion"`
	// The ID of the Gateway.
	Id pulumi.StringInput `pulumi:"id"`
	// gateway service ip.
	InnerIp pulumi.StringInput `pulumi:"innerIp"`
	// gateway public ip.
	Ip pulumi.StringInput `pulumi:"ip"`
	// whether subscription gateway is released after expiration or not.
	IsReleaseAfterExpiration pulumi.BoolInput `pulumi:"isReleaseAfterExpiration"`
	// gateway location.
	Location pulumi.StringInput `pulumi:"location"`
	// gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// gateway public network bandwidth.
	PublicNetworkBandwidth pulumi.IntInput    `pulumi:"publicNetworkBandwidth"`
	RenewUrl               pulumi.StringInput `pulumi:"renewUrl"`
	// gateway status.
	Status pulumi.StringInput `pulumi:"status"`
	// storage bundle id.
	StorageBundleId pulumi.StringInput `pulumi:"storageBundleId"`
	// gateway task id.
	TaskId pulumi.StringInput `pulumi:"taskId"`
	// gateway type.
	Type pulumi.StringInput `pulumi:"type"`
	// gateway vpc id.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The vswitch id.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetGatewaysGatewayArgs) ElementType added in v3.7.0

func (GetGatewaysGatewayArgs) ElementType() reflect.Type

func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput added in v3.7.0

func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput

func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext added in v3.7.0

func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput

type GetGatewaysGatewayArray added in v3.7.0

type GetGatewaysGatewayArray []GetGatewaysGatewayInput

func (GetGatewaysGatewayArray) ElementType added in v3.7.0

func (GetGatewaysGatewayArray) ElementType() reflect.Type

func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput added in v3.7.0

func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput

func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext added in v3.7.0

func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput

type GetGatewaysGatewayArrayInput added in v3.7.0

type GetGatewaysGatewayArrayInput interface {
	pulumi.Input

	ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
	ToGetGatewaysGatewayArrayOutputWithContext(context.Context) GetGatewaysGatewayArrayOutput
}

GetGatewaysGatewayArrayInput is an input type that accepts GetGatewaysGatewayArray and GetGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetGatewaysGatewayArrayInput` via:

GetGatewaysGatewayArray{ GetGatewaysGatewayArgs{...} }

type GetGatewaysGatewayArrayOutput added in v3.7.0

type GetGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }

func (GetGatewaysGatewayArrayOutput) ElementType added in v3.7.0

func (GetGatewaysGatewayArrayOutput) Index added in v3.7.0

func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput added in v3.7.0

func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput

func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext added in v3.7.0

func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput

type GetGatewaysGatewayInput added in v3.7.0

type GetGatewaysGatewayInput interface {
	pulumi.Input

	ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
	ToGetGatewaysGatewayOutputWithContext(context.Context) GetGatewaysGatewayOutput
}

GetGatewaysGatewayInput is an input type that accepts GetGatewaysGatewayArgs and GetGatewaysGatewayOutput values. You can construct a concrete instance of `GetGatewaysGatewayInput` via:

GetGatewaysGatewayArgs{...}

type GetGatewaysGatewayOutput added in v3.7.0

type GetGatewaysGatewayOutput struct{ *pulumi.OutputState }

func (GetGatewaysGatewayOutput) ActivatedTime added in v3.7.0

func (o GetGatewaysGatewayOutput) ActivatedTime() pulumi.StringOutput

gateway .

func (GetGatewaysGatewayOutput) BuyUrl added in v3.7.0

func (GetGatewaysGatewayOutput) Category added in v3.7.0

gateway category.

func (GetGatewaysGatewayOutput) CreateTime added in v3.7.0

gateway created timestamp in second format.

func (GetGatewaysGatewayOutput) Description added in v3.7.0

gateway description.

func (GetGatewaysGatewayOutput) EcsInstanceId added in v3.7.0

func (o GetGatewaysGatewayOutput) EcsInstanceId() pulumi.StringOutput

gateway ecs instance id.

func (GetGatewaysGatewayOutput) ElementType added in v3.7.0

func (GetGatewaysGatewayOutput) ElementType() reflect.Type

func (GetGatewaysGatewayOutput) ExpireStatus added in v3.7.0

func (o GetGatewaysGatewayOutput) ExpireStatus() pulumi.IntOutput

gateway expiration status.

func (GetGatewaysGatewayOutput) ExpiredTime added in v3.7.0

gateway expiration timestamp in second format.

func (GetGatewaysGatewayOutput) GatewayClass added in v3.7.0

func (o GetGatewaysGatewayOutput) GatewayClass() pulumi.StringOutput

gateway class.

func (GetGatewaysGatewayOutput) GatewayId added in v3.7.0

gateway id.

func (GetGatewaysGatewayOutput) GatewayName added in v3.7.0

gateway name.

func (GetGatewaysGatewayOutput) GatewayVersion added in v3.7.0

func (o GetGatewaysGatewayOutput) GatewayVersion() pulumi.StringOutput

gateway version.

func (GetGatewaysGatewayOutput) Id added in v3.7.0

The ID of the Gateway.

func (GetGatewaysGatewayOutput) InnerIp added in v3.7.0

gateway service ip.

func (GetGatewaysGatewayOutput) Ip added in v3.7.0

gateway public ip.

func (GetGatewaysGatewayOutput) IsReleaseAfterExpiration added in v3.7.0

func (o GetGatewaysGatewayOutput) IsReleaseAfterExpiration() pulumi.BoolOutput

whether subscription gateway is released after expiration or not.

func (GetGatewaysGatewayOutput) Location added in v3.7.0

gateway location.

func (GetGatewaysGatewayOutput) PaymentType added in v3.7.0

gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.

func (GetGatewaysGatewayOutput) PublicNetworkBandwidth added in v3.7.0

func (o GetGatewaysGatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput

gateway public network bandwidth.

func (GetGatewaysGatewayOutput) RenewUrl added in v3.7.0

func (GetGatewaysGatewayOutput) Status added in v3.7.0

gateway status.

func (GetGatewaysGatewayOutput) StorageBundleId added in v3.7.0

func (o GetGatewaysGatewayOutput) StorageBundleId() pulumi.StringOutput

storage bundle id.

func (GetGatewaysGatewayOutput) TaskId added in v3.7.0

gateway task id.

func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput added in v3.7.0

func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput

func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext added in v3.7.0

func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput

func (GetGatewaysGatewayOutput) Type added in v3.7.0

gateway type.

func (GetGatewaysGatewayOutput) VpcId added in v3.7.0

gateway vpc id.

func (GetGatewaysGatewayOutput) VswitchId added in v3.7.0

The vswitch id.

type GetGatewaysOutputArgs added in v3.9.0

type GetGatewaysOutputArgs struct {
	// A list of Gateway IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Gateway name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	PageNumber pulumi.IntPtrInput    `pulumi:"pageNumber"`
	PageSize   pulumi.IntPtrInput    `pulumi:"pageSize"`
	// gateway status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// storage bundle id.
	StorageBundleId pulumi.StringInput `pulumi:"storageBundleId"`
}

A collection of arguments for invoking getGateways.

func (GetGatewaysOutputArgs) ElementType added in v3.9.0

func (GetGatewaysOutputArgs) ElementType() reflect.Type

type GetGatewaysResult added in v3.7.0

type GetGatewaysResult struct {
	Gateways []GetGatewaysGateway `pulumi:"gateways"`
	// 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"`
	PageNumber      *int     `pulumi:"pageNumber"`
	PageSize        *int     `pulumi:"pageSize"`
	Status          *string  `pulumi:"status"`
	StorageBundleId string   `pulumi:"storageBundleId"`
	TotalCount      int      `pulumi:"totalCount"`
}

A collection of values returned by getGateways.

func GetGateways added in v3.7.0

func GetGateways(ctx *pulumi.Context, args *GetGatewaysArgs, opts ...pulumi.InvokeOption) (*GetGatewaysResult, error)

This data source provides the Cloud Storage Gateway Gateways of the current Alibaba Cloud user.

> **NOTE:** Available in v1.132.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cloudstoragegateway.NewStorageBundle(ctx, "example", &cloudstoragegateway.StorageBundleArgs{
			StorageBundleName: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		nameRegex := cloudstoragegateway.GetGatewaysOutput(ctx, cloudstoragegateway.GetGatewaysOutputArgs{
			StorageBundleId: example.ID(),
			NameRegex:       pulumi.String("^my-Gateway"),
		}, nil)
		ctx.Export("cloudStorageGatewayGatewayId", nameRegex.ApplyT(func(nameRegex cloudstoragegateway.GetGatewaysResult) (*string, error) {
			return &nameRegex.Gateways[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetGatewaysResultOutput added in v3.9.0

type GetGatewaysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGateways.

func GetGatewaysOutput added in v3.9.0

func GetGatewaysOutput(ctx *pulumi.Context, args GetGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetGatewaysResultOutput

func (GetGatewaysResultOutput) ElementType added in v3.9.0

func (GetGatewaysResultOutput) ElementType() reflect.Type

func (GetGatewaysResultOutput) Gateways added in v3.9.0

func (GetGatewaysResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetGatewaysResultOutput) Ids added in v3.9.0

func (GetGatewaysResultOutput) NameRegex added in v3.9.0

func (GetGatewaysResultOutput) Names added in v3.9.0

func (GetGatewaysResultOutput) OutputFile added in v3.9.0

func (GetGatewaysResultOutput) PageNumber added in v3.16.0

func (GetGatewaysResultOutput) PageSize added in v3.16.0

func (GetGatewaysResultOutput) Status added in v3.9.0

func (GetGatewaysResultOutput) StorageBundleId added in v3.9.0

func (o GetGatewaysResultOutput) StorageBundleId() pulumi.StringOutput

func (GetGatewaysResultOutput) ToGetGatewaysResultOutput added in v3.9.0

func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput

func (GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext added in v3.9.0

func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput

func (GetGatewaysResultOutput) TotalCount added in v3.16.0

func (o GetGatewaysResultOutput) TotalCount() pulumi.IntOutput

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".
	//
	// > **NOTE:** Setting `enable = "On"` to open the Cloud Storage Gateway service that means you have read and agreed the [Cloud Storage Gateway Terms of Service](https://help.aliyun.com/document_detail/117679.html). The service can not closed once it is opened.
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs added in v3.9.0

type GetServiceOutputArgs 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".
	//
	// > **NOTE:** Setting `enable = "On"` to open the Cloud Storage Gateway service that means you have read and agreed the [Cloud Storage Gateway Terms of Service](https://help.aliyun.com/document_detail/117679.html). The service can not closed once it is opened.
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType added in v3.9.0

func (GetServiceOutputArgs) ElementType() reflect.Type

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/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudstoragegateway.GetService(ctx, &cloudstoragegateway.GetServiceArgs{
			Enable: pulumi.StringRef("On"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput added in v3.9.0

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func GetServiceOutput added in v3.9.0

func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput

func (GetServiceResultOutput) ElementType added in v3.9.0

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable added in v3.9.0

func (GetServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type GetStocksArgs added in v3.10.0

type GetStocksArgs struct {
	// The gateway class. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
	GatewayClass *string `pulumi:"gatewayClass"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getStocks.

type GetStocksOutputArgs added in v3.10.0

type GetStocksOutputArgs struct {
	// The gateway class. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`.
	GatewayClass pulumi.StringPtrInput `pulumi:"gatewayClass"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getStocks.

func (GetStocksOutputArgs) ElementType added in v3.10.0

func (GetStocksOutputArgs) ElementType() reflect.Type

type GetStocksResult added in v3.10.0

type GetStocksResult struct {
	GatewayClass *string `pulumi:"gatewayClass"`
	// The provider-assigned unique ID for this managed resource.
	Id         string           `pulumi:"id"`
	OutputFile *string          `pulumi:"outputFile"`
	Stocks     []GetStocksStock `pulumi:"stocks"`
}

A collection of values returned by getStocks.

func GetStocks added in v3.10.0

func GetStocks(ctx *pulumi.Context, args *GetStocksArgs, opts ...pulumi.InvokeOption) (*GetStocksResult, error)

This data source provides the Cloud Storage Gateway Stocks of the current Alibaba Cloud user.

> **NOTE:** Available in v1.144.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cloudstoragegateway.GetStocks(ctx, &cloudstoragegateway.GetStocksArgs{
			GatewayClass: pulumi.StringRef("Advanced"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("zoneId", _default.Stocks[0].ZoneId)
		return nil
	})
}

```

type GetStocksResultOutput added in v3.10.0

type GetStocksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStocks.

func GetStocksOutput added in v3.10.0

func GetStocksOutput(ctx *pulumi.Context, args GetStocksOutputArgs, opts ...pulumi.InvokeOption) GetStocksResultOutput

func (GetStocksResultOutput) ElementType added in v3.10.0

func (GetStocksResultOutput) ElementType() reflect.Type

func (GetStocksResultOutput) GatewayClass added in v3.10.0

func (o GetStocksResultOutput) GatewayClass() pulumi.StringPtrOutput

func (GetStocksResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetStocksResultOutput) OutputFile added in v3.10.0

func (GetStocksResultOutput) Stocks added in v3.10.0

func (GetStocksResultOutput) ToGetStocksResultOutput added in v3.10.0

func (o GetStocksResultOutput) ToGetStocksResultOutput() GetStocksResultOutput

func (GetStocksResultOutput) ToGetStocksResultOutputWithContext added in v3.10.0

func (o GetStocksResultOutput) ToGetStocksResultOutputWithContext(ctx context.Context) GetStocksResultOutput

type GetStocksStock added in v3.10.0

type GetStocksStock struct {
	// A list of available gateway class in this Zone ID.
	AvailableGatewayClasses []string `pulumi:"availableGatewayClasses"`
	// The Zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type GetStocksStockArgs added in v3.10.0

type GetStocksStockArgs struct {
	// A list of available gateway class in this Zone ID.
	AvailableGatewayClasses pulumi.StringArrayInput `pulumi:"availableGatewayClasses"`
	// The Zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetStocksStockArgs) ElementType added in v3.10.0

func (GetStocksStockArgs) ElementType() reflect.Type

func (GetStocksStockArgs) ToGetStocksStockOutput added in v3.10.0

func (i GetStocksStockArgs) ToGetStocksStockOutput() GetStocksStockOutput

func (GetStocksStockArgs) ToGetStocksStockOutputWithContext added in v3.10.0

func (i GetStocksStockArgs) ToGetStocksStockOutputWithContext(ctx context.Context) GetStocksStockOutput

type GetStocksStockArray added in v3.10.0

type GetStocksStockArray []GetStocksStockInput

func (GetStocksStockArray) ElementType added in v3.10.0

func (GetStocksStockArray) ElementType() reflect.Type

func (GetStocksStockArray) ToGetStocksStockArrayOutput added in v3.10.0

func (i GetStocksStockArray) ToGetStocksStockArrayOutput() GetStocksStockArrayOutput

func (GetStocksStockArray) ToGetStocksStockArrayOutputWithContext added in v3.10.0

func (i GetStocksStockArray) ToGetStocksStockArrayOutputWithContext(ctx context.Context) GetStocksStockArrayOutput

type GetStocksStockArrayInput added in v3.10.0

type GetStocksStockArrayInput interface {
	pulumi.Input

	ToGetStocksStockArrayOutput() GetStocksStockArrayOutput
	ToGetStocksStockArrayOutputWithContext(context.Context) GetStocksStockArrayOutput
}

GetStocksStockArrayInput is an input type that accepts GetStocksStockArray and GetStocksStockArrayOutput values. You can construct a concrete instance of `GetStocksStockArrayInput` via:

GetStocksStockArray{ GetStocksStockArgs{...} }

type GetStocksStockArrayOutput added in v3.10.0

type GetStocksStockArrayOutput struct{ *pulumi.OutputState }

func (GetStocksStockArrayOutput) ElementType added in v3.10.0

func (GetStocksStockArrayOutput) ElementType() reflect.Type

func (GetStocksStockArrayOutput) Index added in v3.10.0

func (GetStocksStockArrayOutput) ToGetStocksStockArrayOutput added in v3.10.0

func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutput() GetStocksStockArrayOutput

func (GetStocksStockArrayOutput) ToGetStocksStockArrayOutputWithContext added in v3.10.0

func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutputWithContext(ctx context.Context) GetStocksStockArrayOutput

type GetStocksStockInput added in v3.10.0

type GetStocksStockInput interface {
	pulumi.Input

	ToGetStocksStockOutput() GetStocksStockOutput
	ToGetStocksStockOutputWithContext(context.Context) GetStocksStockOutput
}

GetStocksStockInput is an input type that accepts GetStocksStockArgs and GetStocksStockOutput values. You can construct a concrete instance of `GetStocksStockInput` via:

GetStocksStockArgs{...}

type GetStocksStockOutput added in v3.10.0

type GetStocksStockOutput struct{ *pulumi.OutputState }

func (GetStocksStockOutput) AvailableGatewayClasses added in v3.10.0

func (o GetStocksStockOutput) AvailableGatewayClasses() pulumi.StringArrayOutput

A list of available gateway class in this Zone ID.

func (GetStocksStockOutput) ElementType added in v3.10.0

func (GetStocksStockOutput) ElementType() reflect.Type

func (GetStocksStockOutput) ToGetStocksStockOutput added in v3.10.0

func (o GetStocksStockOutput) ToGetStocksStockOutput() GetStocksStockOutput

func (GetStocksStockOutput) ToGetStocksStockOutputWithContext added in v3.10.0

func (o GetStocksStockOutput) ToGetStocksStockOutputWithContext(ctx context.Context) GetStocksStockOutput

func (GetStocksStockOutput) ZoneId added in v3.10.0

The Zone ID.

type GetStorageBundlesArgs

type GetStorageBundlesArgs struct {
	BackendBucketRegionId string   `pulumi:"backendBucketRegionId"`
	Ids                   []string `pulumi:"ids"`
	NameRegex             *string  `pulumi:"nameRegex"`
	OutputFile            *string  `pulumi:"outputFile"`
	PageNumber            *int     `pulumi:"pageNumber"`
	PageSize              *int     `pulumi:"pageSize"`
}

A collection of arguments for invoking getStorageBundles.

type GetStorageBundlesBundle

type GetStorageBundlesBundle struct {
	CreateTime        string `pulumi:"createTime"`
	Description       string `pulumi:"description"`
	Id                string `pulumi:"id"`
	Location          string `pulumi:"location"`
	StorageBundleId   string `pulumi:"storageBundleId"`
	StorageBundleName string `pulumi:"storageBundleName"`
}

type GetStorageBundlesBundleArgs

type GetStorageBundlesBundleArgs struct {
	CreateTime        pulumi.StringInput `pulumi:"createTime"`
	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) 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) 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) Index

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) CreateTime added in v3.12.0

func (GetStorageBundlesBundleOutput) Description

func (GetStorageBundlesBundleOutput) ElementType

func (GetStorageBundlesBundleOutput) Id

func (GetStorageBundlesBundleOutput) Location

func (GetStorageBundlesBundleOutput) StorageBundleId

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 GetStorageBundlesOutputArgs added in v3.9.0

type GetStorageBundlesOutputArgs struct {
	BackendBucketRegionId pulumi.StringInput      `pulumi:"backendBucketRegionId"`
	Ids                   pulumi.StringArrayInput `pulumi:"ids"`
	NameRegex             pulumi.StringPtrInput   `pulumi:"nameRegex"`
	OutputFile            pulumi.StringPtrInput   `pulumi:"outputFile"`
	PageNumber            pulumi.IntPtrInput      `pulumi:"pageNumber"`
	PageSize              pulumi.IntPtrInput      `pulumi:"pageSize"`
}

A collection of arguments for invoking getStorageBundles.

func (GetStorageBundlesOutputArgs) ElementType added in v3.9.0

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"`
	PageNumber *int     `pulumi:"pageNumber"`
	PageSize   *int     `pulumi:"pageSize"`
	TotalCount int      `pulumi:"totalCount"`
}

A collection of values returned by getStorageBundles.

type GetStorageBundlesResultOutput added in v3.9.0

type GetStorageBundlesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStorageBundles.

func GetStorageBundlesOutput added in v3.9.0

func (GetStorageBundlesResultOutput) BackendBucketRegionId added in v3.9.0

func (o GetStorageBundlesResultOutput) BackendBucketRegionId() pulumi.StringOutput

func (GetStorageBundlesResultOutput) Bundles added in v3.9.0

func (GetStorageBundlesResultOutput) ElementType added in v3.9.0

func (GetStorageBundlesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetStorageBundlesResultOutput) Ids added in v3.9.0

func (GetStorageBundlesResultOutput) NameRegex added in v3.9.0

func (GetStorageBundlesResultOutput) Names added in v3.9.0

func (GetStorageBundlesResultOutput) OutputFile added in v3.9.0

func (GetStorageBundlesResultOutput) PageNumber added in v3.16.0

func (GetStorageBundlesResultOutput) PageSize added in v3.16.0

func (GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutput added in v3.9.0

func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutput() GetStorageBundlesResultOutput

func (GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutputWithContext added in v3.9.0

func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutputWithContext(ctx context.Context) GetStorageBundlesResultOutput

func (GetStorageBundlesResultOutput) TotalCount added in v3.16.0

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/cloud-storage-gateway/latest/createstoragebundle).

> **NOTE:** Available since v1.116.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/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

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 (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 (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) Description added in v3.27.0

func (o StorageBundleOutput) Description() pulumi.StringPtrOutput

The description of storage bundle.

func (StorageBundleOutput) ElementType

func (StorageBundleOutput) ElementType() reflect.Type

func (StorageBundleOutput) StorageBundleName added in v3.27.0

func (o StorageBundleOutput) StorageBundleName() pulumi.StringOutput

The name of storage bundle.

func (StorageBundleOutput) ToStorageBundleOutput

func (o StorageBundleOutput) ToStorageBundleOutput() StorageBundleOutput

func (StorageBundleOutput) ToStorageBundleOutputWithContext

func (o StorageBundleOutput) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput

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

Jump to

Keyboard shortcuts

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