Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type ExpressSync
- type ExpressSyncArgs
- type ExpressSyncArray
- type ExpressSyncArrayInput
- type ExpressSyncArrayOutput
- func (ExpressSyncArrayOutput) ElementType() reflect.Type
- func (o ExpressSyncArrayOutput) Index(i pulumi.IntInput) ExpressSyncOutput
- func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutput() ExpressSyncArrayOutput
- func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutputWithContext(ctx context.Context) ExpressSyncArrayOutput
- type ExpressSyncInput
- type ExpressSyncMap
- type ExpressSyncMapInput
- type ExpressSyncMapOutput
- func (ExpressSyncMapOutput) ElementType() reflect.Type
- func (o ExpressSyncMapOutput) MapIndex(k pulumi.StringInput) ExpressSyncOutput
- func (o ExpressSyncMapOutput) ToExpressSyncMapOutput() ExpressSyncMapOutput
- func (o ExpressSyncMapOutput) ToExpressSyncMapOutputWithContext(ctx context.Context) ExpressSyncMapOutput
- type ExpressSyncOutput
- func (o ExpressSyncOutput) BucketName() pulumi.StringOutput
- func (o ExpressSyncOutput) BucketPrefix() pulumi.StringPtrOutput
- func (o ExpressSyncOutput) BucketRegion() pulumi.StringOutput
- func (o ExpressSyncOutput) Description() pulumi.StringPtrOutput
- func (ExpressSyncOutput) ElementType() reflect.Type
- func (o ExpressSyncOutput) ExpressSyncName() pulumi.StringOutput
- func (o ExpressSyncOutput) ToExpressSyncOutput() ExpressSyncOutput
- func (o ExpressSyncOutput) ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput
- type ExpressSyncShareAttachment
- func (*ExpressSyncShareAttachment) ElementType() reflect.Type
- func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput
- func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput
- type ExpressSyncShareAttachmentArgs
- type ExpressSyncShareAttachmentArray
- func (ExpressSyncShareAttachmentArray) ElementType() reflect.Type
- func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput
- func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput
- type ExpressSyncShareAttachmentArrayInput
- type ExpressSyncShareAttachmentArrayOutput
- func (ExpressSyncShareAttachmentArrayOutput) ElementType() reflect.Type
- func (o ExpressSyncShareAttachmentArrayOutput) Index(i pulumi.IntInput) ExpressSyncShareAttachmentOutput
- func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput
- func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput
- type ExpressSyncShareAttachmentInput
- type ExpressSyncShareAttachmentMap
- func (ExpressSyncShareAttachmentMap) ElementType() reflect.Type
- func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput
- func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput
- type ExpressSyncShareAttachmentMapInput
- type ExpressSyncShareAttachmentMapOutput
- func (ExpressSyncShareAttachmentMapOutput) ElementType() reflect.Type
- func (o ExpressSyncShareAttachmentMapOutput) MapIndex(k pulumi.StringInput) ExpressSyncShareAttachmentOutput
- func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput
- func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput
- type ExpressSyncShareAttachmentOutput
- func (ExpressSyncShareAttachmentOutput) ElementType() reflect.Type
- func (o ExpressSyncShareAttachmentOutput) ExpressSyncId() pulumi.StringOutput
- func (o ExpressSyncShareAttachmentOutput) GatewayId() pulumi.StringOutput
- func (o ExpressSyncShareAttachmentOutput) ShareName() pulumi.StringOutput
- func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput
- func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput
- type ExpressSyncShareAttachmentState
- type ExpressSyncState
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayBlockVolume
- type GatewayBlockVolumeArgs
- type GatewayBlockVolumeArray
- type GatewayBlockVolumeArrayInput
- type GatewayBlockVolumeArrayOutput
- func (GatewayBlockVolumeArrayOutput) ElementType() reflect.Type
- func (o GatewayBlockVolumeArrayOutput) Index(i pulumi.IntInput) GatewayBlockVolumeOutput
- func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput
- func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutputWithContext(ctx context.Context) GatewayBlockVolumeArrayOutput
- type GatewayBlockVolumeInput
- type GatewayBlockVolumeMap
- type GatewayBlockVolumeMapInput
- type GatewayBlockVolumeMapOutput
- func (GatewayBlockVolumeMapOutput) ElementType() reflect.Type
- func (o GatewayBlockVolumeMapOutput) MapIndex(k pulumi.StringInput) GatewayBlockVolumeOutput
- func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput
- func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutputWithContext(ctx context.Context) GatewayBlockVolumeMapOutput
- type GatewayBlockVolumeOutput
- func (o GatewayBlockVolumeOutput) CacheMode() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) ChapEnabled() pulumi.BoolOutput
- func (o GatewayBlockVolumeOutput) ChapInPassword() pulumi.StringPtrOutput
- func (o GatewayBlockVolumeOutput) ChapInUser() pulumi.StringPtrOutput
- func (o GatewayBlockVolumeOutput) ChunkSize() pulumi.IntOutput
- func (GatewayBlockVolumeOutput) ElementType() reflect.Type
- func (o GatewayBlockVolumeOutput) GatewayBlockVolumeName() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) GatewayId() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) IndexId() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) IsSourceDeletion() pulumi.BoolPtrOutput
- func (o GatewayBlockVolumeOutput) LocalPath() pulumi.StringPtrOutput
- func (o GatewayBlockVolumeOutput) OssBucketName() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) OssBucketSsl() pulumi.BoolOutput
- func (o GatewayBlockVolumeOutput) OssEndpoint() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) Protocol() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) Recovery() pulumi.BoolPtrOutput
- func (o GatewayBlockVolumeOutput) Size() pulumi.IntOutput
- func (o GatewayBlockVolumeOutput) Status() pulumi.StringOutput
- func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput
- func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput
- type GatewayBlockVolumeState
- type GatewayCacheDisk
- type GatewayCacheDiskArgs
- type GatewayCacheDiskArray
- type GatewayCacheDiskArrayInput
- type GatewayCacheDiskArrayOutput
- func (GatewayCacheDiskArrayOutput) ElementType() reflect.Type
- func (o GatewayCacheDiskArrayOutput) Index(i pulumi.IntInput) GatewayCacheDiskOutput
- func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput
- func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutputWithContext(ctx context.Context) GatewayCacheDiskArrayOutput
- type GatewayCacheDiskInput
- type GatewayCacheDiskMap
- type GatewayCacheDiskMapInput
- type GatewayCacheDiskMapOutput
- func (GatewayCacheDiskMapOutput) ElementType() reflect.Type
- func (o GatewayCacheDiskMapOutput) MapIndex(k pulumi.StringInput) GatewayCacheDiskOutput
- func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput
- func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutputWithContext(ctx context.Context) GatewayCacheDiskMapOutput
- type GatewayCacheDiskOutput
- func (o GatewayCacheDiskOutput) CacheDiskCategory() pulumi.StringOutput
- func (o GatewayCacheDiskOutput) CacheDiskSizeInGb() pulumi.IntOutput
- func (o GatewayCacheDiskOutput) CacheId() pulumi.StringOutput
- func (GatewayCacheDiskOutput) ElementType() reflect.Type
- func (o GatewayCacheDiskOutput) GatewayId() pulumi.StringOutput
- func (o GatewayCacheDiskOutput) LocalFilePath() pulumi.StringOutput
- func (o GatewayCacheDiskOutput) Status() pulumi.IntOutput
- func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutput() GatewayCacheDiskOutput
- func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput
- type GatewayCacheDiskState
- type GatewayFileShare
- type GatewayFileShareArgs
- type GatewayFileShareArray
- type GatewayFileShareArrayInput
- type GatewayFileShareArrayOutput
- func (GatewayFileShareArrayOutput) ElementType() reflect.Type
- func (o GatewayFileShareArrayOutput) Index(i pulumi.IntInput) GatewayFileShareOutput
- func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput
- func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutputWithContext(ctx context.Context) GatewayFileShareArrayOutput
- type GatewayFileShareInput
- type GatewayFileShareMap
- type GatewayFileShareMapInput
- type GatewayFileShareMapOutput
- func (GatewayFileShareMapOutput) ElementType() reflect.Type
- func (o GatewayFileShareMapOutput) MapIndex(k pulumi.StringInput) GatewayFileShareOutput
- func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutput() GatewayFileShareMapOutput
- func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutputWithContext(ctx context.Context) GatewayFileShareMapOutput
- type GatewayFileShareOutput
- func (o GatewayFileShareOutput) AccessBasedEnumeration() pulumi.BoolOutput
- func (o GatewayFileShareOutput) BackendLimit() pulumi.IntOutput
- func (o GatewayFileShareOutput) Browsable() pulumi.BoolOutput
- func (o GatewayFileShareOutput) BypassCacheRead() pulumi.BoolOutput
- func (o GatewayFileShareOutput) CacheMode() pulumi.StringOutput
- func (o GatewayFileShareOutput) DirectIo() pulumi.BoolOutput
- func (o GatewayFileShareOutput) DownloadLimit() pulumi.IntOutput
- func (GatewayFileShareOutput) ElementType() reflect.Type
- func (o GatewayFileShareOutput) FastReclaim() pulumi.BoolOutput
- func (o GatewayFileShareOutput) FeLimit() pulumi.IntOutput
- func (o GatewayFileShareOutput) GatewayFileShareName() pulumi.StringOutput
- func (o GatewayFileShareOutput) GatewayId() pulumi.StringOutput
- func (o GatewayFileShareOutput) IgnoreDelete() pulumi.BoolOutput
- func (o GatewayFileShareOutput) InPlace() pulumi.BoolOutput
- func (o GatewayFileShareOutput) IndexId() pulumi.StringOutput
- func (o GatewayFileShareOutput) LagPeriod() pulumi.IntOutput
- func (o GatewayFileShareOutput) LocalPath() pulumi.StringOutput
- func (o GatewayFileShareOutput) NfsV4Optimization() pulumi.BoolOutput
- func (o GatewayFileShareOutput) OssBucketName() pulumi.StringOutput
- func (o GatewayFileShareOutput) OssBucketSsl() pulumi.BoolOutput
- func (o GatewayFileShareOutput) OssEndpoint() pulumi.StringOutput
- func (o GatewayFileShareOutput) PartialSyncPaths() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) PathPrefix() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) PollingInterval() pulumi.IntPtrOutput
- func (o GatewayFileShareOutput) Protocol() pulumi.StringOutput
- func (o GatewayFileShareOutput) RemoteSync() pulumi.BoolOutput
- func (o GatewayFileShareOutput) RemoteSyncDownload() pulumi.BoolOutput
- func (o GatewayFileShareOutput) RoClientList() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) RoUserList() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) RwClientList() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) RwUserList() pulumi.StringPtrOutput
- func (o GatewayFileShareOutput) Squash() pulumi.StringOutput
- func (o GatewayFileShareOutput) SupportArchive() pulumi.BoolOutput
- func (o GatewayFileShareOutput) ToGatewayFileShareOutput() GatewayFileShareOutput
- func (o GatewayFileShareOutput) ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput
- func (o GatewayFileShareOutput) TransferAcceleration() pulumi.BoolOutput
- func (o GatewayFileShareOutput) WindowsAcl() pulumi.BoolOutput
- type GatewayFileShareState
- type GatewayInput
- type GatewayLogging
- type GatewayLoggingArgs
- type GatewayLoggingArray
- type GatewayLoggingArrayInput
- type GatewayLoggingArrayOutput
- func (GatewayLoggingArrayOutput) ElementType() reflect.Type
- func (o GatewayLoggingArrayOutput) Index(i pulumi.IntInput) GatewayLoggingOutput
- func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput
- func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutputWithContext(ctx context.Context) GatewayLoggingArrayOutput
- type GatewayLoggingInput
- type GatewayLoggingMap
- type GatewayLoggingMapInput
- type GatewayLoggingMapOutput
- func (GatewayLoggingMapOutput) ElementType() reflect.Type
- func (o GatewayLoggingMapOutput) MapIndex(k pulumi.StringInput) GatewayLoggingOutput
- func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutput() GatewayLoggingMapOutput
- func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutputWithContext(ctx context.Context) GatewayLoggingMapOutput
- type GatewayLoggingOutput
- func (GatewayLoggingOutput) ElementType() reflect.Type
- func (o GatewayLoggingOutput) GatewayId() pulumi.StringOutput
- func (o GatewayLoggingOutput) SlsLogstore() pulumi.StringOutput
- func (o GatewayLoggingOutput) SlsProject() pulumi.StringOutput
- func (o GatewayLoggingOutput) Status() pulumi.StringOutput
- func (o GatewayLoggingOutput) ToGatewayLoggingOutput() GatewayLoggingOutput
- func (o GatewayLoggingOutput) ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput
- type GatewayLoggingState
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) Description() pulumi.StringPtrOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) GatewayClass() pulumi.StringPtrOutput
- func (o GatewayOutput) GatewayName() pulumi.StringOutput
- func (o GatewayOutput) Location() pulumi.StringOutput
- func (o GatewayOutput) PaymentType() pulumi.StringPtrOutput
- func (o GatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput
- func (o GatewayOutput) ReasonDetail() pulumi.StringPtrOutput
- func (o GatewayOutput) ReasonType() pulumi.StringPtrOutput
- func (o GatewayOutput) ReleaseAfterExpiration() pulumi.BoolPtrOutput
- func (o GatewayOutput) Status() pulumi.StringOutput
- func (o GatewayOutput) StorageBundleId() pulumi.StringOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- func (o GatewayOutput) Type() pulumi.StringOutput
- func (o GatewayOutput) VswitchId() pulumi.StringPtrOutput
- type GatewaySmbUser
- type GatewaySmbUserArgs
- type GatewaySmbUserArray
- type GatewaySmbUserArrayInput
- type GatewaySmbUserArrayOutput
- func (GatewaySmbUserArrayOutput) ElementType() reflect.Type
- func (o GatewaySmbUserArrayOutput) Index(i pulumi.IntInput) GatewaySmbUserOutput
- func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput
- func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutputWithContext(ctx context.Context) GatewaySmbUserArrayOutput
- type GatewaySmbUserInput
- type GatewaySmbUserMap
- type GatewaySmbUserMapInput
- type GatewaySmbUserMapOutput
- func (GatewaySmbUserMapOutput) ElementType() reflect.Type
- func (o GatewaySmbUserMapOutput) MapIndex(k pulumi.StringInput) GatewaySmbUserOutput
- func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput
- func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutputWithContext(ctx context.Context) GatewaySmbUserMapOutput
- type GatewaySmbUserOutput
- func (GatewaySmbUserOutput) ElementType() reflect.Type
- func (o GatewaySmbUserOutput) GatewayId() pulumi.StringOutput
- func (o GatewaySmbUserOutput) Password() pulumi.StringOutput
- func (o GatewaySmbUserOutput) ToGatewaySmbUserOutput() GatewaySmbUserOutput
- func (o GatewaySmbUserOutput) ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput
- func (o GatewaySmbUserOutput) Username() pulumi.StringOutput
- type GatewaySmbUserState
- type GatewayState
- type GetExpressSyncsArgs
- type GetExpressSyncsOutputArgs
- type GetExpressSyncsResult
- type GetExpressSyncsResultOutput
- func (GetExpressSyncsResultOutput) ElementType() reflect.Type
- func (o GetExpressSyncsResultOutput) Id() pulumi.StringOutput
- func (o GetExpressSyncsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetExpressSyncsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetExpressSyncsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetExpressSyncsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetExpressSyncsResultOutput) Syncs() GetExpressSyncsSyncArrayOutput
- func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutput() GetExpressSyncsResultOutput
- func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutputWithContext(ctx context.Context) GetExpressSyncsResultOutput
- type GetExpressSyncsSync
- type GetExpressSyncsSyncArgs
- type GetExpressSyncsSyncArray
- type GetExpressSyncsSyncArrayInput
- type GetExpressSyncsSyncArrayOutput
- func (GetExpressSyncsSyncArrayOutput) ElementType() reflect.Type
- func (o GetExpressSyncsSyncArrayOutput) Index(i pulumi.IntInput) GetExpressSyncsSyncOutput
- func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput
- func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutputWithContext(ctx context.Context) GetExpressSyncsSyncArrayOutput
- type GetExpressSyncsSyncInput
- type GetExpressSyncsSyncOutput
- func (o GetExpressSyncsSyncOutput) BucketName() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) BucketPrefix() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) BucketRegion() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) Description() pulumi.StringOutput
- func (GetExpressSyncsSyncOutput) ElementType() reflect.Type
- func (o GetExpressSyncsSyncOutput) ExpressSyncId() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) ExpressSyncName() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) Id() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) MnsTopic() pulumi.StringOutput
- func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput
- func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutputWithContext(ctx context.Context) GetExpressSyncsSyncOutput
- type GetGatewayBlockVolumesArgs
- type GetGatewayBlockVolumesOutputArgs
- type GetGatewayBlockVolumesResult
- type GetGatewayBlockVolumesResultOutput
- func (GetGatewayBlockVolumesResultOutput) ElementType() reflect.Type
- func (o GetGatewayBlockVolumesResultOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayBlockVolumesResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayBlockVolumesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewayBlockVolumesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewayBlockVolumesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewayBlockVolumesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewayBlockVolumesResultOutput) Status() pulumi.IntPtrOutput
- func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutput() GetGatewayBlockVolumesResultOutput
- func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutputWithContext(ctx context.Context) GetGatewayBlockVolumesResultOutput
- func (o GetGatewayBlockVolumesResultOutput) Volumes() GetGatewayBlockVolumesVolumeArrayOutput
- type GetGatewayBlockVolumesVolume
- type GetGatewayBlockVolumesVolumeArgs
- func (GetGatewayBlockVolumesVolumeArgs) ElementType() reflect.Type
- func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput
- func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput
- type GetGatewayBlockVolumesVolumeArray
- func (GetGatewayBlockVolumesVolumeArray) ElementType() reflect.Type
- func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput
- func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput
- type GetGatewayBlockVolumesVolumeArrayInput
- type GetGatewayBlockVolumesVolumeArrayOutput
- func (GetGatewayBlockVolumesVolumeArrayOutput) ElementType() reflect.Type
- func (o GetGatewayBlockVolumesVolumeArrayOutput) Index(i pulumi.IntInput) GetGatewayBlockVolumesVolumeOutput
- func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput
- func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput
- type GetGatewayBlockVolumesVolumeInput
- type GetGatewayBlockVolumesVolumeOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Address() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) CacheMode() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) ChapEnabled() pulumi.BoolOutput
- func (o GetGatewayBlockVolumesVolumeOutput) ChapInUser() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) ChunkSize() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) DiskId() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) DiskType() pulumi.StringOutput
- func (GetGatewayBlockVolumesVolumeOutput) ElementType() reflect.Type
- func (o GetGatewayBlockVolumesVolumeOutput) Enabled() pulumi.BoolOutput
- func (o GetGatewayBlockVolumesVolumeOutput) GatewayBlockVolumeName() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Id() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) IndexId() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) LocalPath() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) LunId() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) OssBucketName() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) OssBucketSsl() pulumi.BoolOutput
- func (o GetGatewayBlockVolumesVolumeOutput) OssEndpoint() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Port() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Protocol() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Size() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) State() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Status() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) Target() pulumi.StringOutput
- func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput
- func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput
- func (o GetGatewayBlockVolumesVolumeOutput) TotalDownload() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) TotalUpload() pulumi.IntOutput
- func (o GetGatewayBlockVolumesVolumeOutput) VolumeState() pulumi.IntOutput
- type GetGatewayCacheDisksArgs
- type GetGatewayCacheDisksDisk
- type GetGatewayCacheDisksDiskArgs
- func (GetGatewayCacheDisksDiskArgs) ElementType() reflect.Type
- func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput
- func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput
- type GetGatewayCacheDisksDiskArray
- func (GetGatewayCacheDisksDiskArray) ElementType() reflect.Type
- func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput
- func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput
- type GetGatewayCacheDisksDiskArrayInput
- type GetGatewayCacheDisksDiskArrayOutput
- func (GetGatewayCacheDisksDiskArrayOutput) ElementType() reflect.Type
- func (o GetGatewayCacheDisksDiskArrayOutput) Index(i pulumi.IntInput) GetGatewayCacheDisksDiskOutput
- func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput
- func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput
- type GetGatewayCacheDisksDiskInput
- type GetGatewayCacheDisksDiskOutput
- func (o GetGatewayCacheDisksDiskOutput) CacheDiskCategory() pulumi.StringOutput
- func (o GetGatewayCacheDisksDiskOutput) CacheDiskSizeInGb() pulumi.IntOutput
- func (o GetGatewayCacheDisksDiskOutput) CacheId() pulumi.StringOutput
- func (GetGatewayCacheDisksDiskOutput) ElementType() reflect.Type
- func (o GetGatewayCacheDisksDiskOutput) ExpiredTime() pulumi.IntOutput
- func (o GetGatewayCacheDisksDiskOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayCacheDisksDiskOutput) Id() pulumi.StringOutput
- func (o GetGatewayCacheDisksDiskOutput) Iops() pulumi.IntOutput
- func (o GetGatewayCacheDisksDiskOutput) IsUsed() pulumi.BoolOutput
- func (o GetGatewayCacheDisksDiskOutput) LocalFilePath() pulumi.StringOutput
- func (o GetGatewayCacheDisksDiskOutput) RenewUrl() pulumi.StringOutput
- func (o GetGatewayCacheDisksDiskOutput) Status() pulumi.IntOutput
- func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput
- func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput
- type GetGatewayCacheDisksOutputArgs
- type GetGatewayCacheDisksResult
- type GetGatewayCacheDisksResultOutput
- func (o GetGatewayCacheDisksResultOutput) Disks() GetGatewayCacheDisksDiskArrayOutput
- func (GetGatewayCacheDisksResultOutput) ElementType() reflect.Type
- func (o GetGatewayCacheDisksResultOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayCacheDisksResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayCacheDisksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewayCacheDisksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewayCacheDisksResultOutput) Status() pulumi.IntPtrOutput
- func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutput() GetGatewayCacheDisksResultOutput
- func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutputWithContext(ctx context.Context) GetGatewayCacheDisksResultOutput
- type GetGatewayFileSharesArgs
- type GetGatewayFileSharesOutputArgs
- type GetGatewayFileSharesResult
- type GetGatewayFileSharesResultOutput
- func (GetGatewayFileSharesResultOutput) ElementType() reflect.Type
- func (o GetGatewayFileSharesResultOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayFileSharesResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayFileSharesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewayFileSharesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewayFileSharesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewayFileSharesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewayFileSharesResultOutput) Shares() GetGatewayFileSharesShareArrayOutput
- func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutput() GetGatewayFileSharesResultOutput
- func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutputWithContext(ctx context.Context) GetGatewayFileSharesResultOutput
- type GetGatewayFileSharesShare
- type GetGatewayFileSharesShareArgs
- func (GetGatewayFileSharesShareArgs) ElementType() reflect.Type
- func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput
- func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput
- type GetGatewayFileSharesShareArray
- func (GetGatewayFileSharesShareArray) ElementType() reflect.Type
- func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput
- func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput
- type GetGatewayFileSharesShareArrayInput
- type GetGatewayFileSharesShareArrayOutput
- func (GetGatewayFileSharesShareArrayOutput) ElementType() reflect.Type
- func (o GetGatewayFileSharesShareArrayOutput) Index(i pulumi.IntInput) GetGatewayFileSharesShareOutput
- func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput
- func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput
- type GetGatewayFileSharesShareInput
- type GetGatewayFileSharesShareOutput
- func (o GetGatewayFileSharesShareOutput) AccessBasedEnumeration() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) Address() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) BackendLimit() pulumi.IntOutput
- func (o GetGatewayFileSharesShareOutput) Browsable() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) BucketInfos() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) BucketsStub() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) BypassCacheRead() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) CacheMode() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) ClientSideCmk() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) ClientSideEncryption() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) DirectIo() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) DiskId() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) DiskType() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) DownloadLimit() pulumi.IntOutput
- func (GetGatewayFileSharesShareOutput) ElementType() reflect.Type
- func (o GetGatewayFileSharesShareOutput) Enabled() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) ExpressSyncId() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) FastReclaim() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) FeLimit() pulumi.IntOutput
- func (o GetGatewayFileSharesShareOutput) FileNumLimit() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) FsSizeLimit() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) GatewayFileShareName() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) Id() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) IgnoreDelete() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) InPlace() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) InRate() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) IndexId() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) KmsRotatePeriod() pulumi.IntOutput
- func (o GetGatewayFileSharesShareOutput) LagPeriod() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) LocalPath() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) MnsHealth() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) NfsV4Optimization() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) ObsoleteBuckets() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) OssBucketName() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) OssBucketSsl() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) OssEndpoint() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) OssHealth() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) OssUsed() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) OutRate() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) PartialSyncPaths() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) PathPrefix() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) PollingInterval() pulumi.IntOutput
- func (o GetGatewayFileSharesShareOutput) Protocol() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) RemainingMetaSpace() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) RemoteSync() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) RemoteSyncDownload() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) RoClientList() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) RoUserList() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) RwClientList() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) RwUserList() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) ServerSideCmk() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) ServerSideEncryption() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) Size() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) Squash() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) State() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) SupportArchive() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) SyncProgress() pulumi.IntOutput
- func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput
- func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput
- func (o GetGatewayFileSharesShareOutput) TotalDownload() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) TotalUpload() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) TransferAcceleration() pulumi.BoolOutput
- func (o GetGatewayFileSharesShareOutput) Used() pulumi.StringOutput
- func (o GetGatewayFileSharesShareOutput) WindowsAcl() pulumi.BoolOutput
- type GetGatewaySmbUsersArgs
- type GetGatewaySmbUsersOutputArgs
- type GetGatewaySmbUsersResult
- type GetGatewaySmbUsersResultOutput
- func (GetGatewaySmbUsersResultOutput) ElementType() reflect.Type
- func (o GetGatewaySmbUsersResultOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewaySmbUsersResultOutput) Id() pulumi.StringOutput
- func (o GetGatewaySmbUsersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewaySmbUsersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewaySmbUsersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutput() GetGatewaySmbUsersResultOutput
- func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutputWithContext(ctx context.Context) GetGatewaySmbUsersResultOutput
- func (o GetGatewaySmbUsersResultOutput) Users() GetGatewaySmbUsersUserArrayOutput
- type GetGatewaySmbUsersUser
- type GetGatewaySmbUsersUserArgs
- type GetGatewaySmbUsersUserArray
- func (GetGatewaySmbUsersUserArray) ElementType() reflect.Type
- func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput
- func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput
- type GetGatewaySmbUsersUserArrayInput
- type GetGatewaySmbUsersUserArrayOutput
- func (GetGatewaySmbUsersUserArrayOutput) ElementType() reflect.Type
- func (o GetGatewaySmbUsersUserArrayOutput) Index(i pulumi.IntInput) GetGatewaySmbUsersUserOutput
- func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput
- func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput
- type GetGatewaySmbUsersUserInput
- type GetGatewaySmbUsersUserOutput
- func (GetGatewaySmbUsersUserOutput) ElementType() reflect.Type
- func (o GetGatewaySmbUsersUserOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewaySmbUsersUserOutput) Id() pulumi.StringOutput
- func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput
- func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserOutput
- func (o GetGatewaySmbUsersUserOutput) Username() pulumi.StringOutput
- type GetGatewaysArgs
- type GetGatewaysGateway
- type GetGatewaysGatewayArgs
- type GetGatewaysGatewayArray
- type GetGatewaysGatewayArrayInput
- type GetGatewaysGatewayArrayOutput
- func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
- type GetGatewaysGatewayInput
- type GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) ActivatedTime() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) BuyUrl() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Category() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Description() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) EcsInstanceId() pulumi.StringOutput
- func (GetGatewaysGatewayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayOutput) ExpireStatus() pulumi.IntOutput
- func (o GetGatewaysGatewayOutput) ExpiredTime() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) GatewayClass() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) GatewayId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) GatewayName() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) GatewayVersion() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) InnerIp() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Ip() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) IsReleaseAfterExpiration() pulumi.BoolOutput
- func (o GetGatewaysGatewayOutput) Location() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) PaymentType() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput
- func (o GetGatewaysGatewayOutput) RenewUrl() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) StorageBundleId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) TaskId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) Type() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) VswitchId() pulumi.StringOutput
- type GetGatewaysOutputArgs
- type GetGatewaysResult
- type GetGatewaysResultOutput
- func (GetGatewaysResultOutput) ElementType() reflect.Type
- func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
- func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetGatewaysResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) StorageBundleId() pulumi.StringOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) TotalCount() pulumi.IntOutput
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- type GetStocksArgs
- type GetStocksOutputArgs
- type GetStocksResult
- type GetStocksResultOutput
- func (GetStocksResultOutput) ElementType() reflect.Type
- func (o GetStocksResultOutput) GatewayClass() pulumi.StringPtrOutput
- func (o GetStocksResultOutput) Id() pulumi.StringOutput
- func (o GetStocksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetStocksResultOutput) Stocks() GetStocksStockArrayOutput
- func (o GetStocksResultOutput) ToGetStocksResultOutput() GetStocksResultOutput
- func (o GetStocksResultOutput) ToGetStocksResultOutputWithContext(ctx context.Context) GetStocksResultOutput
- type GetStocksStock
- type GetStocksStockArgs
- type GetStocksStockArray
- type GetStocksStockArrayInput
- type GetStocksStockArrayOutput
- func (GetStocksStockArrayOutput) ElementType() reflect.Type
- func (o GetStocksStockArrayOutput) Index(i pulumi.IntInput) GetStocksStockOutput
- func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutput() GetStocksStockArrayOutput
- func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutputWithContext(ctx context.Context) GetStocksStockArrayOutput
- type GetStocksStockInput
- type GetStocksStockOutput
- func (o GetStocksStockOutput) AvailableGatewayClasses() pulumi.StringArrayOutput
- func (GetStocksStockOutput) ElementType() reflect.Type
- func (o GetStocksStockOutput) ToGetStocksStockOutput() GetStocksStockOutput
- func (o GetStocksStockOutput) ToGetStocksStockOutputWithContext(ctx context.Context) GetStocksStockOutput
- func (o GetStocksStockOutput) ZoneId() pulumi.StringOutput
- type GetStorageBundlesArgs
- type GetStorageBundlesBundle
- type GetStorageBundlesBundleArgs
- type GetStorageBundlesBundleArray
- func (GetStorageBundlesBundleArray) ElementType() reflect.Type
- func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
- func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
- type GetStorageBundlesBundleArrayInput
- type GetStorageBundlesBundleArrayOutput
- func (GetStorageBundlesBundleArrayOutput) ElementType() reflect.Type
- func (o GetStorageBundlesBundleArrayOutput) Index(i pulumi.IntInput) GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
- func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
- type GetStorageBundlesBundleInput
- type GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleOutput) CreateTime() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) Description() pulumi.StringOutput
- func (GetStorageBundlesBundleOutput) ElementType() reflect.Type
- func (o GetStorageBundlesBundleOutput) Id() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) Location() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) StorageBundleId() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) StorageBundleName() pulumi.StringOutput
- func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
- func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
- type GetStorageBundlesOutputArgs
- type GetStorageBundlesResult
- type GetStorageBundlesResultOutput
- func (o GetStorageBundlesResultOutput) BackendBucketRegionId() pulumi.StringOutput
- func (o GetStorageBundlesResultOutput) Bundles() GetStorageBundlesBundleArrayOutput
- func (GetStorageBundlesResultOutput) ElementType() reflect.Type
- func (o GetStorageBundlesResultOutput) Id() pulumi.StringOutput
- func (o GetStorageBundlesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetStorageBundlesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetStorageBundlesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetStorageBundlesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetStorageBundlesResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetStorageBundlesResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutput() GetStorageBundlesResultOutput
- func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutputWithContext(ctx context.Context) GetStorageBundlesResultOutput
- func (o GetStorageBundlesResultOutput) TotalCount() pulumi.IntOutput
- type StorageBundle
- type StorageBundleArgs
- type StorageBundleArray
- type StorageBundleArrayInput
- type StorageBundleArrayOutput
- func (StorageBundleArrayOutput) ElementType() reflect.Type
- func (o StorageBundleArrayOutput) Index(i pulumi.IntInput) StorageBundleOutput
- func (o StorageBundleArrayOutput) ToStorageBundleArrayOutput() StorageBundleArrayOutput
- func (o StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext(ctx context.Context) StorageBundleArrayOutput
- type StorageBundleInput
- type StorageBundleMap
- type StorageBundleMapInput
- type StorageBundleMapOutput
- func (StorageBundleMapOutput) ElementType() reflect.Type
- func (o StorageBundleMapOutput) MapIndex(k pulumi.StringInput) StorageBundleOutput
- func (o StorageBundleMapOutput) ToStorageBundleMapOutput() StorageBundleMapOutput
- func (o StorageBundleMapOutput) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
- type StorageBundleOutput
- func (o StorageBundleOutput) Description() pulumi.StringPtrOutput
- func (StorageBundleOutput) ElementType() reflect.Type
- func (o StorageBundleOutput) StorageBundleName() pulumi.StringOutput
- func (o StorageBundleOutput) ToStorageBundleOutput() StorageBundleOutput
- func (o StorageBundleOutput) ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput
- type StorageBundleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type ExpressSync ¶
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/doc-detail/53972.htm).
> **NOTE:** Available in v1.144.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tftest" if param := cfg.Get("name"); param != "" { name = param } region := "cn-shanghai" if param := cfg.Get("region"); param != "" { region = param } defaultStocks, err := cloudstoragegateway.GetStocks(ctx, &cloudstoragegateway.GetStocksArgs{ GatewayClass: pulumi.StringRef("Standard"), }, nil) if err != nil { return err } vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: vpc.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: pulumi.String(defaultStocks.Stocks[0].ZoneId), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultStorageBundle, err := cloudstoragegateway.NewStorageBundle(ctx, "defaultStorageBundle", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String(name), }) if err != nil { return err } defaultGateway, err := cloudstoragegateway.NewGateway(ctx, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: defaultSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(true), PublicNetworkBandwidth: pulumi.Int(10), StorageBundleId: defaultStorageBundle.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String(name), }) if err != nil { return err } defaultGatewayCacheDisk, err := cloudstoragegateway.NewGatewayCacheDisk(ctx, "defaultGatewayCacheDisk", &cloudstoragegateway.GatewayCacheDiskArgs{ CacheDiskCategory: pulumi.String("cloud_efficiency"), GatewayId: defaultGateway.ID(), CacheDiskSizeInGb: pulumi.Int(50), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: pulumi.String(name), Acl: pulumi.String("public-read-write"), }) if err != nil { return err } defaultGatewayFileShare, err := cloudstoragegateway.NewGatewayFileShare(ctx, "defaultGatewayFileShare", &cloudstoragegateway.GatewayFileShareArgs{ GatewayFileShareName: pulumi.String(name), GatewayId: defaultGateway.ID(), LocalPath: defaultGatewayCacheDisk.LocalFilePath, OssBucketName: defaultBucket.Bucket, OssEndpoint: defaultBucket.ExtranetEndpoint, Protocol: pulumi.String("NFS"), RemoteSync: pulumi.Bool(true), PollingInterval: pulumi.Int(4500), FeLimit: pulumi.Int(0), BackendLimit: pulumi.Int(0), CacheMode: pulumi.String("Cache"), Squash: pulumi.String("none"), LagPeriod: pulumi.Int(5), }) if err != nil { return err } _, err = cloudstoragegateway.NewExpressSync(ctx, "defaultExpressSync", &cloudstoragegateway.ExpressSyncArgs{ BucketName: defaultGatewayFileShare.OssBucketName, BucketRegion: pulumi.String(region), Description: pulumi.String(name), ExpressSyncName: pulumi.String(name), }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*ExpressSync) ElementType() reflect.Type
func (*ExpressSync) ToExpressSyncOutput ¶
func (i *ExpressSync) ToExpressSyncOutput() ExpressSyncOutput
func (*ExpressSync) ToExpressSyncOutputWithContext ¶
func (i *ExpressSync) ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput
type ExpressSyncArgs ¶
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 ¶
func (ExpressSyncArgs) ElementType() reflect.Type
type ExpressSyncArray ¶
type ExpressSyncArray []ExpressSyncInput
func (ExpressSyncArray) ElementType ¶
func (ExpressSyncArray) ElementType() reflect.Type
func (ExpressSyncArray) ToExpressSyncArrayOutput ¶
func (i ExpressSyncArray) ToExpressSyncArrayOutput() ExpressSyncArrayOutput
func (ExpressSyncArray) ToExpressSyncArrayOutputWithContext ¶
func (i ExpressSyncArray) ToExpressSyncArrayOutputWithContext(ctx context.Context) ExpressSyncArrayOutput
type ExpressSyncArrayInput ¶
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 ¶
type ExpressSyncArrayOutput struct{ *pulumi.OutputState }
func (ExpressSyncArrayOutput) ElementType ¶
func (ExpressSyncArrayOutput) ElementType() reflect.Type
func (ExpressSyncArrayOutput) Index ¶
func (o ExpressSyncArrayOutput) Index(i pulumi.IntInput) ExpressSyncOutput
func (ExpressSyncArrayOutput) ToExpressSyncArrayOutput ¶
func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutput() ExpressSyncArrayOutput
func (ExpressSyncArrayOutput) ToExpressSyncArrayOutputWithContext ¶
func (o ExpressSyncArrayOutput) ToExpressSyncArrayOutputWithContext(ctx context.Context) ExpressSyncArrayOutput
type ExpressSyncInput ¶
type ExpressSyncInput interface { pulumi.Input ToExpressSyncOutput() ExpressSyncOutput ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput }
type ExpressSyncMap ¶
type ExpressSyncMap map[string]ExpressSyncInput
func (ExpressSyncMap) ElementType ¶
func (ExpressSyncMap) ElementType() reflect.Type
func (ExpressSyncMap) ToExpressSyncMapOutput ¶
func (i ExpressSyncMap) ToExpressSyncMapOutput() ExpressSyncMapOutput
func (ExpressSyncMap) ToExpressSyncMapOutputWithContext ¶
func (i ExpressSyncMap) ToExpressSyncMapOutputWithContext(ctx context.Context) ExpressSyncMapOutput
type ExpressSyncMapInput ¶
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 ¶
type ExpressSyncMapOutput struct{ *pulumi.OutputState }
func (ExpressSyncMapOutput) ElementType ¶
func (ExpressSyncMapOutput) ElementType() reflect.Type
func (ExpressSyncMapOutput) MapIndex ¶
func (o ExpressSyncMapOutput) MapIndex(k pulumi.StringInput) ExpressSyncOutput
func (ExpressSyncMapOutput) ToExpressSyncMapOutput ¶
func (o ExpressSyncMapOutput) ToExpressSyncMapOutput() ExpressSyncMapOutput
func (ExpressSyncMapOutput) ToExpressSyncMapOutputWithContext ¶
func (o ExpressSyncMapOutput) ToExpressSyncMapOutputWithContext(ctx context.Context) ExpressSyncMapOutput
type ExpressSyncOutput ¶
type ExpressSyncOutput struct{ *pulumi.OutputState }
func (ExpressSyncOutput) BucketName ¶
func (o ExpressSyncOutput) BucketName() pulumi.StringOutput
The name of the OSS Bucket.
func (ExpressSyncOutput) BucketPrefix ¶
func (o ExpressSyncOutput) BucketPrefix() pulumi.StringPtrOutput
The prefix of the OSS Bucket.
func (ExpressSyncOutput) BucketRegion ¶
func (o ExpressSyncOutput) BucketRegion() pulumi.StringOutput
The region of the OSS Bucket.
func (ExpressSyncOutput) Description ¶
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 ¶
func (ExpressSyncOutput) ElementType() reflect.Type
func (ExpressSyncOutput) ExpressSyncName ¶
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 ¶
func (o ExpressSyncOutput) ToExpressSyncOutput() ExpressSyncOutput
func (ExpressSyncOutput) ToExpressSyncOutputWithContext ¶
func (o ExpressSyncOutput) ToExpressSyncOutputWithContext(ctx context.Context) ExpressSyncOutput
type ExpressSyncShareAttachment ¶
type ExpressSyncShareAttachment struct { pulumi.StringOutput `pulumi:"expressSyncId"` GatewayId pulumi.StringOutput `pulumi:"gatewayId"` ShareName pulumi.StringOutput `pulumi:"shareName"` }ExpressSyncId
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/doc-detail/53972.htm).
> **NOTE:** Available in v1.144.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tftest" if param := cfg.Get("name"); param != "" { name = param } region := "cn-shanghai" if param := cfg.Get("region"); param != "" { region = param } defaultStocks, err := cloudstoragegateway.GetStocks(ctx, &cloudstoragegateway.GetStocksArgs{ GatewayClass: pulumi.StringRef("Standard"), }, nil) if err != nil { return err } vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("192.16.0.0/12"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: vpc.ID(), CidrBlock: pulumi.String("192.16.0.0/21"), ZoneId: pulumi.String(defaultStocks.Stocks[0].ZoneId), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultStorageBundle, err := cloudstoragegateway.NewStorageBundle(ctx, "defaultStorageBundle", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String(name), }) if err != nil { return err } defaultGateway, err := cloudstoragegateway.NewGateway(ctx, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: defaultSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(true), PublicNetworkBandwidth: pulumi.Int(10), StorageBundleId: defaultStorageBundle.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String(name), }) if err != nil { return err } defaultGatewayCacheDisk, err := cloudstoragegateway.NewGatewayCacheDisk(ctx, "defaultGatewayCacheDisk", &cloudstoragegateway.GatewayCacheDiskArgs{ CacheDiskCategory: pulumi.String("cloud_efficiency"), GatewayId: defaultGateway.ID(), CacheDiskSizeInGb: pulumi.Int(50), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: pulumi.String(name), }) if err != nil { return err } defaultGatewayFileShare, err := cloudstoragegateway.NewGatewayFileShare(ctx, "defaultGatewayFileShare", &cloudstoragegateway.GatewayFileShareArgs{ GatewayFileShareName: pulumi.String(name), GatewayId: defaultGateway.ID(), LocalPath: defaultGatewayCacheDisk.LocalFilePath, OssBucketName: defaultBucket.Bucket, OssEndpoint: defaultBucket.ExtranetEndpoint, Protocol: pulumi.String("NFS"), RemoteSync: pulumi.Bool(false), FeLimit: pulumi.Int(0), BackendLimit: pulumi.Int(0), CacheMode: pulumi.String("Cache"), Squash: pulumi.String("none"), LagPeriod: pulumi.Int(5), }) if err != nil { return err } defaultExpressSync, err := cloudstoragegateway.NewExpressSync(ctx, "defaultExpressSync", &cloudstoragegateway.ExpressSyncArgs{ BucketName: defaultGatewayFileShare.OssBucketName, BucketRegion: pulumi.String(region), Description: pulumi.String(name), ExpressSyncName: pulumi.String(name), }) if err != nil { return err } _, err = cloudstoragegateway.NewExpressSyncShareAttachment(ctx, "defaultExpressSyncShareAttachment", &cloudstoragegateway.ExpressSyncShareAttachmentArgs{ ExpressSyncId: defaultExpressSync.ID(), GatewayId: defaultGateway.ID(), ShareName: defaultGatewayFileShare.GatewayFileShareName, }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*ExpressSyncShareAttachment) ElementType() reflect.Type
func (*ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutput ¶
func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput
func (*ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutputWithContext ¶
func (i *ExpressSyncShareAttachment) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput
type ExpressSyncShareAttachmentArgs ¶
type ExpressSyncShareAttachmentArgs struct { pulumi.StringInput GatewayId pulumi.StringInput ShareName pulumi.StringInput }ExpressSyncId
The set of arguments for constructing a ExpressSyncShareAttachment resource.
func (ExpressSyncShareAttachmentArgs) ElementType ¶
func (ExpressSyncShareAttachmentArgs) ElementType() reflect.Type
type ExpressSyncShareAttachmentArray ¶
type ExpressSyncShareAttachmentArray []ExpressSyncShareAttachmentInput
func (ExpressSyncShareAttachmentArray) ElementType ¶
func (ExpressSyncShareAttachmentArray) ElementType() reflect.Type
func (ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutput ¶
func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput
func (ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutputWithContext ¶
func (i ExpressSyncShareAttachmentArray) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput
type ExpressSyncShareAttachmentArrayInput ¶
ExpressSyncShareAttachmentArrayInput is an input type that accepts ExpressSyncShareAttachmentArray and ExpressSyncShareAttachmentArrayOutput values. You can construct a concrete instance of `ExpressSyncShareAttachmentArrayInput` via:
ExpressSyncShareAttachmentArray{ ExpressSyncShareAttachmentArgs{...} }
type ExpressSyncShareAttachmentArrayOutput ¶
func (ExpressSyncShareAttachmentArrayOutput) ElementType ¶
func (ExpressSyncShareAttachmentArrayOutput) ElementType() reflect.Type
func (ExpressSyncShareAttachmentArrayOutput) Index ¶
func (o ExpressSyncShareAttachmentArrayOutput) Index(i pulumi.IntInput) ExpressSyncShareAttachmentOutput
func (ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutput ¶
func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutput() ExpressSyncShareAttachmentArrayOutput
func (ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutputWithContext ¶
func (o ExpressSyncShareAttachmentArrayOutput) ToExpressSyncShareAttachmentArrayOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentArrayOutput
type ExpressSyncShareAttachmentMap ¶
type ExpressSyncShareAttachmentMap map[string]ExpressSyncShareAttachmentInput
func (ExpressSyncShareAttachmentMap) ElementType ¶
func (ExpressSyncShareAttachmentMap) ElementType() reflect.Type
func (ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutput ¶
func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput
func (ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutputWithContext ¶
func (i ExpressSyncShareAttachmentMap) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput
type ExpressSyncShareAttachmentMapInput ¶
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 ¶
func (ExpressSyncShareAttachmentMapOutput) ElementType ¶
func (ExpressSyncShareAttachmentMapOutput) ElementType() reflect.Type
func (ExpressSyncShareAttachmentMapOutput) MapIndex ¶
func (o ExpressSyncShareAttachmentMapOutput) MapIndex(k pulumi.StringInput) ExpressSyncShareAttachmentOutput
func (ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutput ¶
func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutput() ExpressSyncShareAttachmentMapOutput
func (ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutputWithContext ¶
func (o ExpressSyncShareAttachmentMapOutput) ToExpressSyncShareAttachmentMapOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentMapOutput
type ExpressSyncShareAttachmentOutput ¶
func (ExpressSyncShareAttachmentOutput) ElementType ¶
func (ExpressSyncShareAttachmentOutput) ElementType() reflect.Type
func (ExpressSyncShareAttachmentOutput) ExpressSyncId ¶
func (o ExpressSyncShareAttachmentOutput) ExpressSyncId() pulumi.StringOutput
The ID of the ExpressSync.
func (ExpressSyncShareAttachmentOutput) GatewayId ¶
func (o ExpressSyncShareAttachmentOutput) GatewayId() pulumi.StringOutput
The ID of the Gateway.
func (ExpressSyncShareAttachmentOutput) ShareName ¶
func (o ExpressSyncShareAttachmentOutput) ShareName() pulumi.StringOutput
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 ¶
func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutput() ExpressSyncShareAttachmentOutput
func (ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutputWithContext ¶
func (o ExpressSyncShareAttachmentOutput) ToExpressSyncShareAttachmentOutputWithContext(ctx context.Context) ExpressSyncShareAttachmentOutput
type ExpressSyncShareAttachmentState ¶
type ExpressSyncShareAttachmentState struct { pulumi.StringPtrInput GatewayId pulumi.StringPtrInput ShareName pulumi.StringPtrInput }ExpressSyncId
func (ExpressSyncShareAttachmentState) ElementType ¶
func (ExpressSyncShareAttachmentState) ElementType() reflect.Type
type ExpressSyncState ¶
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 ¶
func (ExpressSyncState) ElementType() reflect.Type
type Gateway ¶
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/doc-detail/53972.htm).
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String("tf_test_foo"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: vpc.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String("tf-testAccCsgName"), }) if err != nil { return err } example, err := cloudstoragegateway.NewStorageBundle(ctx, "example", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String("example_value"), }) if err != nil { return err } _, err = cloudstoragegateway.NewGateway(ctx, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: defaultSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(false), PublicNetworkBandwidth: pulumi.Int(40), StorageBundleId: example.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String("tf-acctestGatewayName"), }) if err != nil { return err } return nil }) }
```
## Import
Cloud Storage Gateway Gateway can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cloudstoragegateway/gateway:Gateway example <id>
```
func GetGateway ¶
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 ¶
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 ¶
func (*Gateway) ToGatewayOutput ¶
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
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 ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶
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 ¶
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayBlockVolume ¶
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: // - `0`: Normal condition. // - `1`: Failed to create volume. // - `2`: Failed to delete volume. // - `3`: Failed to enable target. // - `4`: Failed to disable target. // - `5`: Database error. // - `6`: Failed to enable cache. // - `7`: Failed to disable cache. // - `8`: System error. 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/doc-detail/53972.htm).
> **NOTE:** Available in 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 ¶
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 ¶
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 ¶
func (*GatewayBlockVolume) ElementType() reflect.Type
func (*GatewayBlockVolume) ToGatewayBlockVolumeOutput ¶
func (i *GatewayBlockVolume) ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput
func (*GatewayBlockVolume) ToGatewayBlockVolumeOutputWithContext ¶
func (i *GatewayBlockVolume) ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput
type GatewayBlockVolumeArgs ¶
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 ¶
func (GatewayBlockVolumeArgs) ElementType() reflect.Type
type GatewayBlockVolumeArray ¶
type GatewayBlockVolumeArray []GatewayBlockVolumeInput
func (GatewayBlockVolumeArray) ElementType ¶
func (GatewayBlockVolumeArray) ElementType() reflect.Type
func (GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutput ¶
func (i GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput
func (GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutputWithContext ¶
func (i GatewayBlockVolumeArray) ToGatewayBlockVolumeArrayOutputWithContext(ctx context.Context) GatewayBlockVolumeArrayOutput
type GatewayBlockVolumeArrayInput ¶
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 ¶
type GatewayBlockVolumeArrayOutput struct{ *pulumi.OutputState }
func (GatewayBlockVolumeArrayOutput) ElementType ¶
func (GatewayBlockVolumeArrayOutput) ElementType() reflect.Type
func (GatewayBlockVolumeArrayOutput) Index ¶
func (o GatewayBlockVolumeArrayOutput) Index(i pulumi.IntInput) GatewayBlockVolumeOutput
func (GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutput ¶
func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutput() GatewayBlockVolumeArrayOutput
func (GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutputWithContext ¶
func (o GatewayBlockVolumeArrayOutput) ToGatewayBlockVolumeArrayOutputWithContext(ctx context.Context) GatewayBlockVolumeArrayOutput
type GatewayBlockVolumeInput ¶
type GatewayBlockVolumeInput interface { pulumi.Input ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput }
type GatewayBlockVolumeMap ¶
type GatewayBlockVolumeMap map[string]GatewayBlockVolumeInput
func (GatewayBlockVolumeMap) ElementType ¶
func (GatewayBlockVolumeMap) ElementType() reflect.Type
func (GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutput ¶
func (i GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput
func (GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutputWithContext ¶
func (i GatewayBlockVolumeMap) ToGatewayBlockVolumeMapOutputWithContext(ctx context.Context) GatewayBlockVolumeMapOutput
type GatewayBlockVolumeMapInput ¶
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 ¶
type GatewayBlockVolumeMapOutput struct{ *pulumi.OutputState }
func (GatewayBlockVolumeMapOutput) ElementType ¶
func (GatewayBlockVolumeMapOutput) ElementType() reflect.Type
func (GatewayBlockVolumeMapOutput) MapIndex ¶
func (o GatewayBlockVolumeMapOutput) MapIndex(k pulumi.StringInput) GatewayBlockVolumeOutput
func (GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutput ¶
func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutput() GatewayBlockVolumeMapOutput
func (GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutputWithContext ¶
func (o GatewayBlockVolumeMapOutput) ToGatewayBlockVolumeMapOutputWithContext(ctx context.Context) GatewayBlockVolumeMapOutput
type GatewayBlockVolumeOutput ¶
type GatewayBlockVolumeOutput struct{ *pulumi.OutputState }
func (GatewayBlockVolumeOutput) CacheMode ¶
func (o GatewayBlockVolumeOutput) CacheMode() pulumi.StringOutput
The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
func (GatewayBlockVolumeOutput) ChapEnabled ¶
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 ¶
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 ¶
func (o GatewayBlockVolumeOutput) ChapInUser() pulumi.StringPtrOutput
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 ¶
func (o GatewayBlockVolumeOutput) ChunkSize() pulumi.IntOutput
The Block volume storage allocation unit. Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
func (GatewayBlockVolumeOutput) ElementType ¶
func (GatewayBlockVolumeOutput) ElementType() reflect.Type
func (GatewayBlockVolumeOutput) GatewayBlockVolumeName ¶
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 ¶
func (o GatewayBlockVolumeOutput) GatewayId() pulumi.StringOutput
The Gateway ID.
func (GatewayBlockVolumeOutput) IndexId ¶
func (o GatewayBlockVolumeOutput) IndexId() pulumi.StringOutput
The ID of the index.
func (GatewayBlockVolumeOutput) IsSourceDeletion ¶
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 ¶
func (o GatewayBlockVolumeOutput) LocalPath() pulumi.StringPtrOutput
The Cache disk to local path. **NOTE:** When the `cacheMode` is `Cache` is,The `chapInPassword` is valid.
func (GatewayBlockVolumeOutput) OssBucketName ¶
func (o GatewayBlockVolumeOutput) OssBucketName() pulumi.StringOutput
The name of the OSS Bucket.
func (GatewayBlockVolumeOutput) OssBucketSsl ¶
func (o GatewayBlockVolumeOutput) OssBucketSsl() pulumi.BoolOutput
Whether to enable SSL access your OSS Buckets. Default value: `true`.
func (GatewayBlockVolumeOutput) OssEndpoint ¶
func (o GatewayBlockVolumeOutput) OssEndpoint() pulumi.StringOutput
The endpoint of the OSS Bucket.
func (GatewayBlockVolumeOutput) Protocol ¶
func (o GatewayBlockVolumeOutput) Protocol() pulumi.StringOutput
The Protocol. Valid values: `iSCSI`.
func (GatewayBlockVolumeOutput) Recovery ¶
func (o GatewayBlockVolumeOutput) Recovery() pulumi.BoolPtrOutput
The recovery.
func (GatewayBlockVolumeOutput) Size ¶
func (o GatewayBlockVolumeOutput) Size() pulumi.IntOutput
The Volume size. Valid values: `1` to `262144`. Unit: `Byte`.
func (GatewayBlockVolumeOutput) Status ¶
func (o GatewayBlockVolumeOutput) Status() pulumi.StringOutput
The status of volume. Valid values: - `0`: Normal condition. - `1`: Failed to create volume. - `2`: Failed to delete volume. - `3`: Failed to enable target. - `4`: Failed to disable target. - `5`: Database error. - `6`: Failed to enable cache. - `7`: Failed to disable cache. - `8`: System error.
func (GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutput ¶
func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutput() GatewayBlockVolumeOutput
func (GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutputWithContext ¶
func (o GatewayBlockVolumeOutput) ToGatewayBlockVolumeOutputWithContext(ctx context.Context) GatewayBlockVolumeOutput
type GatewayBlockVolumeState ¶
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: // - `0`: Normal condition. // - `1`: Failed to create volume. // - `2`: Failed to delete volume. // - `3`: Failed to enable target. // - `4`: Failed to disable target. // - `5`: Database error. // - `6`: Failed to enable cache. // - `7`: Failed to disable cache. // - `8`: System error. Status pulumi.StringPtrInput }
func (GatewayBlockVolumeState) ElementType ¶
func (GatewayBlockVolumeState) ElementType() reflect.Type
type GatewayCacheDisk ¶
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/zh/doc-detail/170294.htm).
> **NOTE:** Available in v1.144.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleStocks, err := cloudstoragegateway.GetStocks(ctx, &cloudstoragegateway.GetStocksArgs{ GatewayClass: pulumi.StringRef("Standard"), }, nil) if err != nil { return err } vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String("example_value"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } exampleSwitch, err := vpc.NewSwitch(ctx, "exampleSwitch", &vpc.SwitchArgs{ VpcId: vpc.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: pulumi.String(exampleStocks.Stocks[0].ZoneId), VswitchName: pulumi.String("example_value"), }) if err != nil { return err } exampleStorageBundle, err := cloudstoragegateway.NewStorageBundle(ctx, "exampleStorageBundle", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String("example_value"), }) if err != nil { return err } _, err = cloudstoragegateway.NewGateway(ctx, "exampleGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: exampleSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(true), PublicNetworkBandwidth: pulumi.Int(10), StorageBundleId: exampleStorageBundle.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String("example_value"), }) if err != nil { return err } _, err = cloudstoragegateway.NewGatewayCacheDisk(ctx, "exampleGatewayCacheDisk", &cloudstoragegateway.GatewayCacheDiskArgs{ CacheDiskCategory: pulumi.String("cloud_efficiency"), GatewayId: pulumi.Any(alicloud_cloud_storage_gateway_gateways.Example.Id), CacheDiskSizeInGb: pulumi.Int(50), }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*GatewayCacheDisk) ElementType() reflect.Type
func (*GatewayCacheDisk) ToGatewayCacheDiskOutput ¶
func (i *GatewayCacheDisk) ToGatewayCacheDiskOutput() GatewayCacheDiskOutput
func (*GatewayCacheDisk) ToGatewayCacheDiskOutputWithContext ¶
func (i *GatewayCacheDisk) ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput
type GatewayCacheDiskArgs ¶
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 ¶
func (GatewayCacheDiskArgs) ElementType() reflect.Type
type GatewayCacheDiskArray ¶
type GatewayCacheDiskArray []GatewayCacheDiskInput
func (GatewayCacheDiskArray) ElementType ¶
func (GatewayCacheDiskArray) ElementType() reflect.Type
func (GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutput ¶
func (i GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput
func (GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutputWithContext ¶
func (i GatewayCacheDiskArray) ToGatewayCacheDiskArrayOutputWithContext(ctx context.Context) GatewayCacheDiskArrayOutput
type GatewayCacheDiskArrayInput ¶
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 ¶
type GatewayCacheDiskArrayOutput struct{ *pulumi.OutputState }
func (GatewayCacheDiskArrayOutput) ElementType ¶
func (GatewayCacheDiskArrayOutput) ElementType() reflect.Type
func (GatewayCacheDiskArrayOutput) Index ¶
func (o GatewayCacheDiskArrayOutput) Index(i pulumi.IntInput) GatewayCacheDiskOutput
func (GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutput ¶
func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutput() GatewayCacheDiskArrayOutput
func (GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutputWithContext ¶
func (o GatewayCacheDiskArrayOutput) ToGatewayCacheDiskArrayOutputWithContext(ctx context.Context) GatewayCacheDiskArrayOutput
type GatewayCacheDiskInput ¶
type GatewayCacheDiskInput interface { pulumi.Input ToGatewayCacheDiskOutput() GatewayCacheDiskOutput ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput }
type GatewayCacheDiskMap ¶
type GatewayCacheDiskMap map[string]GatewayCacheDiskInput
func (GatewayCacheDiskMap) ElementType ¶
func (GatewayCacheDiskMap) ElementType() reflect.Type
func (GatewayCacheDiskMap) ToGatewayCacheDiskMapOutput ¶
func (i GatewayCacheDiskMap) ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput
func (GatewayCacheDiskMap) ToGatewayCacheDiskMapOutputWithContext ¶
func (i GatewayCacheDiskMap) ToGatewayCacheDiskMapOutputWithContext(ctx context.Context) GatewayCacheDiskMapOutput
type GatewayCacheDiskMapInput ¶
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 ¶
type GatewayCacheDiskMapOutput struct{ *pulumi.OutputState }
func (GatewayCacheDiskMapOutput) ElementType ¶
func (GatewayCacheDiskMapOutput) ElementType() reflect.Type
func (GatewayCacheDiskMapOutput) MapIndex ¶
func (o GatewayCacheDiskMapOutput) MapIndex(k pulumi.StringInput) GatewayCacheDiskOutput
func (GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutput ¶
func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutput() GatewayCacheDiskMapOutput
func (GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutputWithContext ¶
func (o GatewayCacheDiskMapOutput) ToGatewayCacheDiskMapOutputWithContext(ctx context.Context) GatewayCacheDiskMapOutput
type GatewayCacheDiskOutput ¶
type GatewayCacheDiskOutput struct{ *pulumi.OutputState }
func (GatewayCacheDiskOutput) CacheDiskCategory ¶
func (o GatewayCacheDiskOutput) CacheDiskCategory() pulumi.StringOutput
The cache disk type. Valid values: `cloudEfficiency`, `cloudSsd`.
func (GatewayCacheDiskOutput) CacheDiskSizeInGb ¶
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 ¶
func (o GatewayCacheDiskOutput) CacheId() pulumi.StringOutput
The ID of the cache.
func (GatewayCacheDiskOutput) ElementType ¶
func (GatewayCacheDiskOutput) ElementType() reflect.Type
func (GatewayCacheDiskOutput) GatewayId ¶
func (o GatewayCacheDiskOutput) GatewayId() pulumi.StringOutput
The ID of the gateway.
func (GatewayCacheDiskOutput) LocalFilePath ¶
func (o GatewayCacheDiskOutput) LocalFilePath() pulumi.StringOutput
The cache disk inside the device name.
func (GatewayCacheDiskOutput) Status ¶
func (o GatewayCacheDiskOutput) Status() pulumi.IntOutput
The status of the resource. Valid values: `0`, `1`, `2`. `0`: Normal. `1`: Is about to expire. `2`: Has expired.
func (GatewayCacheDiskOutput) ToGatewayCacheDiskOutput ¶
func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutput() GatewayCacheDiskOutput
func (GatewayCacheDiskOutput) ToGatewayCacheDiskOutputWithContext ¶
func (o GatewayCacheDiskOutput) ToGatewayCacheDiskOutputWithContext(ctx context.Context) GatewayCacheDiskOutput
type GatewayCacheDiskState ¶
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 ¶
func (GatewayCacheDiskState) ElementType() reflect.Type
type GatewayFileShare ¶
type GatewayFileShare struct { pulumi.BoolOutput `pulumi:"accessBasedEnumeration"` BackendLimit pulumi.IntOutput `pulumi:"backendLimit"` Browsable pulumi.BoolOutput `pulumi:"browsable"` BypassCacheRead pulumi.BoolOutput `pulumi:"bypassCacheRead"` CacheMode pulumi.StringOutput `pulumi:"cacheMode"` DirectIo pulumi.BoolOutput `pulumi:"directIo"` DownloadLimit pulumi.IntOutput `pulumi:"downloadLimit"` FastReclaim pulumi.BoolOutput `pulumi:"fastReclaim"` FeLimit pulumi.IntOutput `pulumi:"feLimit"` GatewayFileShareName pulumi.StringOutput `pulumi:"gatewayFileShareName"` GatewayId pulumi.StringOutput `pulumi:"gatewayId"` IgnoreDelete pulumi.BoolOutput `pulumi:"ignoreDelete"` InPlace pulumi.BoolOutput `pulumi:"inPlace"` IndexId pulumi.StringOutput `pulumi:"indexId"` LagPeriod pulumi.IntOutput `pulumi:"lagPeriod"` LocalPath pulumi.StringOutput `pulumi:"localPath"` NfsV4Optimization pulumi.BoolOutput `pulumi:"nfsV4Optimization"` OssBucketName pulumi.StringOutput `pulumi:"ossBucketName"` OssBucketSsl pulumi.BoolOutput `pulumi:"ossBucketSsl"` OssEndpoint pulumi.StringOutput `pulumi:"ossEndpoint"` PartialSyncPaths pulumi.StringPtrOutput `pulumi:"partialSyncPaths"` PathPrefix pulumi.StringPtrOutput `pulumi:"pathPrefix"` PollingInterval pulumi.IntPtrOutput `pulumi:"pollingInterval"` Protocol pulumi.StringOutput `pulumi:"protocol"` RemoteSync pulumi.BoolOutput `pulumi:"remoteSync"` RemoteSyncDownload pulumi.BoolOutput `pulumi:"remoteSyncDownload"` RoClientList pulumi.StringPtrOutput `pulumi:"roClientList"` RoUserList pulumi.StringPtrOutput `pulumi:"roUserList"` RwClientList pulumi.StringPtrOutput `pulumi:"rwClientList"` RwUserList pulumi.StringPtrOutput `pulumi:"rwUserList"` Squash pulumi.StringOutput `pulumi:"squash"` SupportArchive pulumi.BoolOutput `pulumi:"supportArchive"` TransferAcceleration pulumi.BoolOutput `pulumi:"transferAcceleration"` WindowsAcl pulumi.BoolOutput `pulumi:"windowsAcl"` }AccessBasedEnumeration
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/zh/doc-detail/170298.htm).
> **NOTE:** Available in v1.144.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultStocks, err := cloudstoragegateway.GetStocks(ctx, &cloudstoragegateway.GetStocksArgs{ GatewayClass: pulumi.StringRef("Standard"), }, nil) if err != nil { return err } vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String("example_value"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: vpc.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: pulumi.String(defaultStocks.Stocks[0].ZoneId), VswitchName: pulumi.String("example_value"), }) if err != nil { return err } defaultStorageBundle, err := cloudstoragegateway.NewStorageBundle(ctx, "defaultStorageBundle", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String("example_value"), }) if err != nil { return err } defaultGateway, err := cloudstoragegateway.NewGateway(ctx, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: defaultSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(true), PublicNetworkBandwidth: pulumi.Int(10), StorageBundleId: defaultStorageBundle.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String("example_value"), }) if err != nil { return err } defaultGatewayCacheDisk, err := cloudstoragegateway.NewGatewayCacheDisk(ctx, "defaultGatewayCacheDisk", &cloudstoragegateway.GatewayCacheDiskArgs{ CacheDiskCategory: pulumi.String("cloud_efficiency"), GatewayId: defaultGateway.ID(), CacheDiskSizeInGb: pulumi.Int(50), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: pulumi.String("example_value"), }) if err != nil { return err } _, err = cloudstoragegateway.NewGatewayFileShare(ctx, "defaultGatewayFileShare", &cloudstoragegateway.GatewayFileShareArgs{ GatewayFileShareName: pulumi.String("example_value"), GatewayId: defaultGateway.ID(), LocalPath: defaultGatewayCacheDisk.LocalFilePath, OssBucketName: defaultBucket.Bucket, OssEndpoint: defaultBucket.ExtranetEndpoint, Protocol: pulumi.String("NFS"), RemoteSync: pulumi.Bool(true), PollingInterval: pulumi.Int(4500), FeLimit: pulumi.Int(0), BackendLimit: pulumi.Int(0), CacheMode: pulumi.String("Cache"), Squash: pulumi.String("none"), LagPeriod: pulumi.Int(5), }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*GatewayFileShare) ElementType() reflect.Type
func (*GatewayFileShare) ToGatewayFileShareOutput ¶
func (i *GatewayFileShare) ToGatewayFileShareOutput() GatewayFileShareOutput
func (*GatewayFileShare) ToGatewayFileShareOutputWithContext ¶
func (i *GatewayFileShare) ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput
type GatewayFileShareArgs ¶
type GatewayFileShareArgs struct { pulumi.BoolPtrInput BackendLimit pulumi.IntPtrInput Browsable pulumi.BoolPtrInput BypassCacheRead pulumi.BoolPtrInput CacheMode pulumi.StringPtrInput DirectIo pulumi.BoolPtrInput DownloadLimit pulumi.IntPtrInput FastReclaim pulumi.BoolPtrInput FeLimit pulumi.IntPtrInput GatewayFileShareName pulumi.StringInput GatewayId pulumi.StringInput IgnoreDelete pulumi.BoolPtrInput InPlace pulumi.BoolPtrInput LagPeriod pulumi.IntPtrInput LocalPath pulumi.StringInput NfsV4Optimization pulumi.BoolPtrInput OssBucketName pulumi.StringInput OssBucketSsl pulumi.BoolPtrInput OssEndpoint pulumi.StringInput PartialSyncPaths pulumi.StringPtrInput PathPrefix pulumi.StringPtrInput PollingInterval pulumi.IntPtrInput Protocol pulumi.StringInput RemoteSync pulumi.BoolPtrInput RemoteSyncDownload pulumi.BoolPtrInput RoClientList pulumi.StringPtrInput RoUserList pulumi.StringPtrInput RwClientList pulumi.StringPtrInput RwUserList pulumi.StringPtrInput Squash pulumi.StringPtrInput SupportArchive pulumi.BoolPtrInput TransferAcceleration pulumi.BoolPtrInput WindowsAcl pulumi.BoolPtrInput }AccessBasedEnumeration
The set of arguments for constructing a GatewayFileShare resource.
func (GatewayFileShareArgs) ElementType ¶
func (GatewayFileShareArgs) ElementType() reflect.Type
type GatewayFileShareArray ¶
type GatewayFileShareArray []GatewayFileShareInput
func (GatewayFileShareArray) ElementType ¶
func (GatewayFileShareArray) ElementType() reflect.Type
func (GatewayFileShareArray) ToGatewayFileShareArrayOutput ¶
func (i GatewayFileShareArray) ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput
func (GatewayFileShareArray) ToGatewayFileShareArrayOutputWithContext ¶
func (i GatewayFileShareArray) ToGatewayFileShareArrayOutputWithContext(ctx context.Context) GatewayFileShareArrayOutput
type GatewayFileShareArrayInput ¶
GatewayFileShareArrayInput is an input type that accepts GatewayFileShareArray and GatewayFileShareArrayOutput values. You can construct a concrete instance of `GatewayFileShareArrayInput` via:
GatewayFileShareArray{ GatewayFileShareArgs{...} }
type GatewayFileShareArrayOutput ¶
func (GatewayFileShareArrayOutput) ElementType ¶
func (GatewayFileShareArrayOutput) ElementType() reflect.Type
func (GatewayFileShareArrayOutput) Index ¶
func (o GatewayFileShareArrayOutput) Index(i pulumi.IntInput) GatewayFileShareOutput
func (GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutput ¶
func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutput() GatewayFileShareArrayOutput
func (GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutputWithContext ¶
func (o GatewayFileShareArrayOutput) ToGatewayFileShareArrayOutputWithContext(ctx context.Context) GatewayFileShareArrayOutput
type GatewayFileShareInput ¶
type GatewayFileShareMap ¶
type GatewayFileShareMap map[string]GatewayFileShareInput
func (GatewayFileShareMap) ElementType ¶
func (GatewayFileShareMap) ElementType() reflect.Type
func (GatewayFileShareMap) ToGatewayFileShareMapOutput ¶
func (i GatewayFileShareMap) ToGatewayFileShareMapOutput() GatewayFileShareMapOutput
func (GatewayFileShareMap) ToGatewayFileShareMapOutputWithContext ¶
func (i GatewayFileShareMap) ToGatewayFileShareMapOutputWithContext(ctx context.Context) GatewayFileShareMapOutput
type GatewayFileShareMapInput ¶
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 ¶
func (GatewayFileShareMapOutput) ElementType ¶
func (GatewayFileShareMapOutput) ElementType() reflect.Type
func (GatewayFileShareMapOutput) MapIndex ¶
func (o GatewayFileShareMapOutput) MapIndex(k pulumi.StringInput) GatewayFileShareOutput
func (GatewayFileShareMapOutput) ToGatewayFileShareMapOutput ¶
func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutput() GatewayFileShareMapOutput
func (GatewayFileShareMapOutput) ToGatewayFileShareMapOutputWithContext ¶
func (o GatewayFileShareMapOutput) ToGatewayFileShareMapOutputWithContext(ctx context.Context) GatewayFileShareMapOutput
type GatewayFileShareOutput ¶
func (GatewayFileShareOutput) AccessBasedEnumeration ¶
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 ¶
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 ¶
func (o GatewayFileShareOutput) Browsable() pulumi.BoolOutput
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 ¶
func (o GatewayFileShareOutput) BypassCacheRead() pulumi.BoolOutput
Direct reading OSS of the gateway file share.
func (GatewayFileShareOutput) CacheMode ¶
func (o GatewayFileShareOutput) CacheMode() pulumi.StringOutput
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 ¶
func (o GatewayFileShareOutput) DirectIo() pulumi.BoolOutput
File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value: `false`.
func (GatewayFileShareOutput) DownloadLimit ¶
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 ¶
func (GatewayFileShareOutput) ElementType() reflect.Type
func (GatewayFileShareOutput) FastReclaim ¶
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 ¶
func (o GatewayFileShareOutput) FeLimit() pulumi.IntOutput
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 ¶
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 ¶
func (o GatewayFileShareOutput) GatewayId() pulumi.StringOutput
The ID of the gateway.
func (GatewayFileShareOutput) IgnoreDelete ¶
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 ¶
func (o GatewayFileShareOutput) InPlace() pulumi.BoolOutput
The whether debris optimization of the gateway file share. Default value: `false`.
func (GatewayFileShareOutput) IndexId ¶
func (o GatewayFileShareOutput) IndexId() pulumi.StringOutput
The ID of the file share.
func (GatewayFileShareOutput) LagPeriod ¶
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 ¶
func (o GatewayFileShareOutput) LocalPath() pulumi.StringOutput
The cache disk inside the device name.
func (GatewayFileShareOutput) NfsV4Optimization ¶
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 ¶
func (o GatewayFileShareOutput) OssBucketName() pulumi.StringOutput
The name of the OSS Bucket.
func (GatewayFileShareOutput) OssBucketSsl ¶
func (o GatewayFileShareOutput) OssBucketSsl() pulumi.BoolOutput
Whether they are using SSL connect to OSS Bucket.
func (GatewayFileShareOutput) OssEndpoint ¶
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 ¶
func (o GatewayFileShareOutput) PartialSyncPaths() pulumi.StringPtrOutput
In part mode, the directory path group JSON format.
func (GatewayFileShareOutput) PathPrefix ¶
func (o GatewayFileShareOutput) PathPrefix() pulumi.StringPtrOutput
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 ¶
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 ¶
func (o GatewayFileShareOutput) Protocol() pulumi.StringOutput
Share types. Valid values: `SMB`, `NFS`.
func (GatewayFileShareOutput) RemoteSync ¶
func (o GatewayFileShareOutput) RemoteSync() pulumi.BoolOutput
Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
func (GatewayFileShareOutput) RemoteSyncDownload ¶
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 ¶
func (o GatewayFileShareOutput) RoClientList() pulumi.StringPtrOutput
File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
func (GatewayFileShareOutput) RoUserList ¶
func (o GatewayFileShareOutput) RoUserList() pulumi.StringPtrOutput
The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
func (GatewayFileShareOutput) RwClientList ¶
func (o GatewayFileShareOutput) RwClientList() pulumi.StringPtrOutput
Read and write the client list. When Protocol NFS is returned when the status is.
func (GatewayFileShareOutput) RwUserList ¶
func (o GatewayFileShareOutput) RwUserList() pulumi.StringPtrOutput
Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
func (GatewayFileShareOutput) Squash ¶
func (o GatewayFileShareOutput) Squash() pulumi.StringOutput
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 ¶
func (o GatewayFileShareOutput) SupportArchive() pulumi.BoolOutput
Whether to support the archive transparent read.
func (GatewayFileShareOutput) ToGatewayFileShareOutput ¶
func (o GatewayFileShareOutput) ToGatewayFileShareOutput() GatewayFileShareOutput
func (GatewayFileShareOutput) ToGatewayFileShareOutputWithContext ¶
func (o GatewayFileShareOutput) ToGatewayFileShareOutputWithContext(ctx context.Context) GatewayFileShareOutput
func (GatewayFileShareOutput) TransferAcceleration ¶
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 ¶
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 ¶
type GatewayFileShareState struct { pulumi.BoolPtrInput BackendLimit pulumi.IntPtrInput Browsable pulumi.BoolPtrInput BypassCacheRead pulumi.BoolPtrInput CacheMode pulumi.StringPtrInput DirectIo pulumi.BoolPtrInput DownloadLimit pulumi.IntPtrInput FastReclaim pulumi.BoolPtrInput FeLimit pulumi.IntPtrInput GatewayFileShareName pulumi.StringPtrInput GatewayId pulumi.StringPtrInput IgnoreDelete pulumi.BoolPtrInput InPlace pulumi.BoolPtrInput IndexId pulumi.StringPtrInput LagPeriod pulumi.IntPtrInput LocalPath pulumi.StringPtrInput NfsV4Optimization pulumi.BoolPtrInput OssBucketName pulumi.StringPtrInput OssBucketSsl pulumi.BoolPtrInput OssEndpoint pulumi.StringPtrInput PartialSyncPaths pulumi.StringPtrInput PathPrefix pulumi.StringPtrInput PollingInterval pulumi.IntPtrInput Protocol pulumi.StringPtrInput RemoteSync pulumi.BoolPtrInput RemoteSyncDownload pulumi.BoolPtrInput RoClientList pulumi.StringPtrInput RoUserList pulumi.StringPtrInput RwClientList pulumi.StringPtrInput RwUserList pulumi.StringPtrInput Squash pulumi.StringPtrInput SupportArchive pulumi.BoolPtrInput TransferAcceleration pulumi.BoolPtrInput WindowsAcl pulumi.BoolPtrInput }AccessBasedEnumeration
func (GatewayFileShareState) ElementType ¶
func (GatewayFileShareState) ElementType() reflect.Type
type GatewayInput ¶
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayLogging ¶
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/doc-detail/108299.htm).
> **NOTE:** Available in v1.144.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "example" if param := cfg.Get("name"); param != "" { name = param } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultStorageBundle, err := cloudstoragegateway.NewStorageBundle(ctx, "defaultStorageBundle", &cloudstoragegateway.StorageBundleArgs{ StorageBundleName: pulumi.String(name), }) if err != nil { return err } defaultGateway, err := cloudstoragegateway.NewGateway(ctx, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Basic"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: defaultSwitch.ID(), ReleaseAfterExpiration: pulumi.Bool(true), PublicNetworkBandwidth: pulumi.Int(10), StorageBundleId: defaultStorageBundle.ID(), Location: pulumi.String("Cloud"), GatewayName: pulumi.String(name), }) if err != nil { return err } defaultProject, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{ Description: pulumi.String("created by terraform"), }) if err != nil { return err } defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{ Project: defaultProject.Name, ShardCount: pulumi.Int(3), AutoSplit: pulumi.Bool(true), MaxSplitShardCount: pulumi.Int(60), AppendMeta: pulumi.Bool(true), }) if err != nil { return err } _, err = cloudstoragegateway.NewGatewayLogging(ctx, "defaultGatewayLogging", &cloudstoragegateway.GatewayLoggingArgs{ GatewayId: defaultGateway.ID(), SlsLogstore: defaultStore.Name, SlsProject: defaultProject.Name, }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*GatewayLogging) ElementType() reflect.Type
func (*GatewayLogging) ToGatewayLoggingOutput ¶
func (i *GatewayLogging) ToGatewayLoggingOutput() GatewayLoggingOutput
func (*GatewayLogging) ToGatewayLoggingOutputWithContext ¶
func (i *GatewayLogging) ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput
type GatewayLoggingArgs ¶
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 ¶
func (GatewayLoggingArgs) ElementType() reflect.Type
type GatewayLoggingArray ¶
type GatewayLoggingArray []GatewayLoggingInput
func (GatewayLoggingArray) ElementType ¶
func (GatewayLoggingArray) ElementType() reflect.Type
func (GatewayLoggingArray) ToGatewayLoggingArrayOutput ¶
func (i GatewayLoggingArray) ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput
func (GatewayLoggingArray) ToGatewayLoggingArrayOutputWithContext ¶
func (i GatewayLoggingArray) ToGatewayLoggingArrayOutputWithContext(ctx context.Context) GatewayLoggingArrayOutput
type GatewayLoggingArrayInput ¶
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 ¶
type GatewayLoggingArrayOutput struct{ *pulumi.OutputState }
func (GatewayLoggingArrayOutput) ElementType ¶
func (GatewayLoggingArrayOutput) ElementType() reflect.Type
func (GatewayLoggingArrayOutput) Index ¶
func (o GatewayLoggingArrayOutput) Index(i pulumi.IntInput) GatewayLoggingOutput
func (GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutput ¶
func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutput() GatewayLoggingArrayOutput
func (GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutputWithContext ¶
func (o GatewayLoggingArrayOutput) ToGatewayLoggingArrayOutputWithContext(ctx context.Context) GatewayLoggingArrayOutput
type GatewayLoggingInput ¶
type GatewayLoggingInput interface { pulumi.Input ToGatewayLoggingOutput() GatewayLoggingOutput ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput }
type GatewayLoggingMap ¶
type GatewayLoggingMap map[string]GatewayLoggingInput
func (GatewayLoggingMap) ElementType ¶
func (GatewayLoggingMap) ElementType() reflect.Type
func (GatewayLoggingMap) ToGatewayLoggingMapOutput ¶
func (i GatewayLoggingMap) ToGatewayLoggingMapOutput() GatewayLoggingMapOutput
func (GatewayLoggingMap) ToGatewayLoggingMapOutputWithContext ¶
func (i GatewayLoggingMap) ToGatewayLoggingMapOutputWithContext(ctx context.Context) GatewayLoggingMapOutput
type GatewayLoggingMapInput ¶
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 ¶
type GatewayLoggingMapOutput struct{ *pulumi.OutputState }
func (GatewayLoggingMapOutput) ElementType ¶
func (GatewayLoggingMapOutput) ElementType() reflect.Type
func (GatewayLoggingMapOutput) MapIndex ¶
func (o GatewayLoggingMapOutput) MapIndex(k pulumi.StringInput) GatewayLoggingOutput
func (GatewayLoggingMapOutput) ToGatewayLoggingMapOutput ¶
func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutput() GatewayLoggingMapOutput
func (GatewayLoggingMapOutput) ToGatewayLoggingMapOutputWithContext ¶
func (o GatewayLoggingMapOutput) ToGatewayLoggingMapOutputWithContext(ctx context.Context) GatewayLoggingMapOutput
type GatewayLoggingOutput ¶
type GatewayLoggingOutput struct{ *pulumi.OutputState }
func (GatewayLoggingOutput) ElementType ¶
func (GatewayLoggingOutput) ElementType() reflect.Type
func (GatewayLoggingOutput) GatewayId ¶
func (o GatewayLoggingOutput) GatewayId() pulumi.StringOutput
The ID of the Gateway.
func (GatewayLoggingOutput) SlsLogstore ¶
func (o GatewayLoggingOutput) SlsLogstore() pulumi.StringOutput
The name of the Log Store.
func (GatewayLoggingOutput) SlsProject ¶
func (o GatewayLoggingOutput) SlsProject() pulumi.StringOutput
The name of the Project.
func (GatewayLoggingOutput) Status ¶
func (o GatewayLoggingOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `Enabled`, `Disable`.
func (GatewayLoggingOutput) ToGatewayLoggingOutput ¶
func (o GatewayLoggingOutput) ToGatewayLoggingOutput() GatewayLoggingOutput
func (GatewayLoggingOutput) ToGatewayLoggingOutputWithContext ¶
func (o GatewayLoggingOutput) ToGatewayLoggingOutputWithContext(ctx context.Context) GatewayLoggingOutput
type GatewayLoggingState ¶
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 ¶
func (GatewayLoggingState) ElementType() reflect.Type
type GatewayMap ¶
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶
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 ¶
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) Description ¶
func (o GatewayOutput) Description() pulumi.StringPtrOutput
the description of gateway.
func (GatewayOutput) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) GatewayClass ¶
func (o GatewayOutput) GatewayClass() pulumi.StringPtrOutput
the gateway class. the valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`
func (GatewayOutput) GatewayName ¶
func (o GatewayOutput) GatewayName() pulumi.StringOutput
the name of gateway.
func (GatewayOutput) Location ¶
func (o GatewayOutput) Location() pulumi.StringOutput
gateway location. the valid values: `Cloud`, `On_Premise`.
func (GatewayOutput) PaymentType ¶
func (o GatewayOutput) PaymentType() pulumi.StringPtrOutput
The Payment type of gateway. The valid value: `PayAsYouGo`.
func (GatewayOutput) PublicNetworkBandwidth ¶
func (o GatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput
The public network bandwidth of gateway. Valid values between `5` and `200`. Defaults to `5`.
func (GatewayOutput) ReasonDetail ¶
func (o GatewayOutput) ReasonDetail() pulumi.StringPtrOutput
The reason detail of gateway.
func (GatewayOutput) ReasonType ¶
func (o GatewayOutput) ReasonType() pulumi.StringPtrOutput
The reason type when user deletes the gateway.
func (GatewayOutput) ReleaseAfterExpiration ¶
func (o GatewayOutput) ReleaseAfterExpiration() pulumi.BoolPtrOutput
Whether to release the gateway due to expiration.
func (GatewayOutput) StorageBundleId ¶
func (o GatewayOutput) StorageBundleId() pulumi.StringOutput
storage bundle id.
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
func (GatewayOutput) Type ¶
func (o GatewayOutput) Type() pulumi.StringOutput
gateway type. the valid values: `Type`, `Iscsi`.
func (GatewayOutput) VswitchId ¶
func (o GatewayOutput) VswitchId() pulumi.StringPtrOutput
The vswitch id of gateway.
type GatewaySmbUser ¶
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/doc-detail/53972.htm).
> **NOTE:** Available in v1.142.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{ NameRegex: pulumi.StringRef("default-NODELETING"), }, nil) if err != nil { return err } defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{ VpcId: pulumi.StringRef(defaultNetworks.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, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: pulumi.String(defaultSwitches.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 } _, err = cloudstoragegateway.NewGatewaySmbUser(ctx, "defaultGatewaySmbUser", &cloudstoragegateway.GatewaySmbUserArgs{ Username: pulumi.String("your_username"), Password: pulumi.String("password"), GatewayId: defaultGateway.ID(), }) if err != nil { return err } return nil }) }
```
## 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 ¶
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 ¶
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 ¶
func (*GatewaySmbUser) ElementType() reflect.Type
func (*GatewaySmbUser) ToGatewaySmbUserOutput ¶
func (i *GatewaySmbUser) ToGatewaySmbUserOutput() GatewaySmbUserOutput
func (*GatewaySmbUser) ToGatewaySmbUserOutputWithContext ¶
func (i *GatewaySmbUser) ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput
type GatewaySmbUserArgs ¶
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 ¶
func (GatewaySmbUserArgs) ElementType() reflect.Type
type GatewaySmbUserArray ¶
type GatewaySmbUserArray []GatewaySmbUserInput
func (GatewaySmbUserArray) ElementType ¶
func (GatewaySmbUserArray) ElementType() reflect.Type
func (GatewaySmbUserArray) ToGatewaySmbUserArrayOutput ¶
func (i GatewaySmbUserArray) ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput
func (GatewaySmbUserArray) ToGatewaySmbUserArrayOutputWithContext ¶
func (i GatewaySmbUserArray) ToGatewaySmbUserArrayOutputWithContext(ctx context.Context) GatewaySmbUserArrayOutput
type GatewaySmbUserArrayInput ¶
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 ¶
type GatewaySmbUserArrayOutput struct{ *pulumi.OutputState }
func (GatewaySmbUserArrayOutput) ElementType ¶
func (GatewaySmbUserArrayOutput) ElementType() reflect.Type
func (GatewaySmbUserArrayOutput) Index ¶
func (o GatewaySmbUserArrayOutput) Index(i pulumi.IntInput) GatewaySmbUserOutput
func (GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutput ¶
func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutput() GatewaySmbUserArrayOutput
func (GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutputWithContext ¶
func (o GatewaySmbUserArrayOutput) ToGatewaySmbUserArrayOutputWithContext(ctx context.Context) GatewaySmbUserArrayOutput
type GatewaySmbUserInput ¶
type GatewaySmbUserInput interface { pulumi.Input ToGatewaySmbUserOutput() GatewaySmbUserOutput ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput }
type GatewaySmbUserMap ¶
type GatewaySmbUserMap map[string]GatewaySmbUserInput
func (GatewaySmbUserMap) ElementType ¶
func (GatewaySmbUserMap) ElementType() reflect.Type
func (GatewaySmbUserMap) ToGatewaySmbUserMapOutput ¶
func (i GatewaySmbUserMap) ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput
func (GatewaySmbUserMap) ToGatewaySmbUserMapOutputWithContext ¶
func (i GatewaySmbUserMap) ToGatewaySmbUserMapOutputWithContext(ctx context.Context) GatewaySmbUserMapOutput
type GatewaySmbUserMapInput ¶
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 ¶
type GatewaySmbUserMapOutput struct{ *pulumi.OutputState }
func (GatewaySmbUserMapOutput) ElementType ¶
func (GatewaySmbUserMapOutput) ElementType() reflect.Type
func (GatewaySmbUserMapOutput) MapIndex ¶
func (o GatewaySmbUserMapOutput) MapIndex(k pulumi.StringInput) GatewaySmbUserOutput
func (GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutput ¶
func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutput() GatewaySmbUserMapOutput
func (GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutputWithContext ¶
func (o GatewaySmbUserMapOutput) ToGatewaySmbUserMapOutputWithContext(ctx context.Context) GatewaySmbUserMapOutput
type GatewaySmbUserOutput ¶
type GatewaySmbUserOutput struct{ *pulumi.OutputState }
func (GatewaySmbUserOutput) ElementType ¶
func (GatewaySmbUserOutput) ElementType() reflect.Type
func (GatewaySmbUserOutput) GatewayId ¶
func (o GatewaySmbUserOutput) GatewayId() pulumi.StringOutput
The Gateway ID of the Gateway SMB User.
func (GatewaySmbUserOutput) Password ¶
func (o GatewaySmbUserOutput) Password() pulumi.StringOutput
The password of the Gateway SMB User.
func (GatewaySmbUserOutput) ToGatewaySmbUserOutput ¶
func (o GatewaySmbUserOutput) ToGatewaySmbUserOutput() GatewaySmbUserOutput
func (GatewaySmbUserOutput) ToGatewaySmbUserOutputWithContext ¶
func (o GatewaySmbUserOutput) ToGatewaySmbUserOutputWithContext(ctx context.Context) GatewaySmbUserOutput
func (GatewaySmbUserOutput) Username ¶
func (o GatewaySmbUserOutput) Username() pulumi.StringOutput
The username of the Gateway SMB User.
type GatewaySmbUserState ¶
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 ¶
func (GatewaySmbUserState) ElementType() reflect.Type
type GatewayState ¶
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 ¶
func (GatewayState) ElementType() reflect.Type
type GetExpressSyncsArgs ¶
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"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getExpressSyncs.
type GetExpressSyncsOutputArgs ¶
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"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getExpressSyncs.
func (GetExpressSyncsOutputArgs) ElementType ¶
func (GetExpressSyncsOutputArgs) ElementType() reflect.Type
type GetExpressSyncsResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
type GetExpressSyncsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getExpressSyncs.
func GetExpressSyncsOutput ¶
func GetExpressSyncsOutput(ctx *pulumi.Context, args GetExpressSyncsOutputArgs, opts ...pulumi.InvokeOption) GetExpressSyncsResultOutput
func (GetExpressSyncsResultOutput) ElementType ¶
func (GetExpressSyncsResultOutput) ElementType() reflect.Type
func (GetExpressSyncsResultOutput) Id ¶
func (o GetExpressSyncsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetExpressSyncsResultOutput) Ids ¶
func (o GetExpressSyncsResultOutput) Ids() pulumi.StringArrayOutput
func (GetExpressSyncsResultOutput) NameRegex ¶
func (o GetExpressSyncsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetExpressSyncsResultOutput) Names ¶
func (o GetExpressSyncsResultOutput) Names() pulumi.StringArrayOutput
func (GetExpressSyncsResultOutput) OutputFile ¶
func (o GetExpressSyncsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetExpressSyncsResultOutput) Syncs ¶
func (o GetExpressSyncsResultOutput) Syncs() GetExpressSyncsSyncArrayOutput
func (GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutput ¶
func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutput() GetExpressSyncsResultOutput
func (GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutputWithContext ¶
func (o GetExpressSyncsResultOutput) ToGetExpressSyncsResultOutputWithContext(ctx context.Context) GetExpressSyncsResultOutput
type GetExpressSyncsSync ¶
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 ¶
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 ¶
func (GetExpressSyncsSyncArgs) ElementType() reflect.Type
func (GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutput ¶
func (i GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput
func (GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutputWithContext ¶
func (i GetExpressSyncsSyncArgs) ToGetExpressSyncsSyncOutputWithContext(ctx context.Context) GetExpressSyncsSyncOutput
type GetExpressSyncsSyncArray ¶
type GetExpressSyncsSyncArray []GetExpressSyncsSyncInput
func (GetExpressSyncsSyncArray) ElementType ¶
func (GetExpressSyncsSyncArray) ElementType() reflect.Type
func (GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutput ¶
func (i GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput
func (GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutputWithContext ¶
func (i GetExpressSyncsSyncArray) ToGetExpressSyncsSyncArrayOutputWithContext(ctx context.Context) GetExpressSyncsSyncArrayOutput
type GetExpressSyncsSyncArrayInput ¶
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 ¶
type GetExpressSyncsSyncArrayOutput struct{ *pulumi.OutputState }
func (GetExpressSyncsSyncArrayOutput) ElementType ¶
func (GetExpressSyncsSyncArrayOutput) ElementType() reflect.Type
func (GetExpressSyncsSyncArrayOutput) Index ¶
func (o GetExpressSyncsSyncArrayOutput) Index(i pulumi.IntInput) GetExpressSyncsSyncOutput
func (GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutput ¶
func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutput() GetExpressSyncsSyncArrayOutput
func (GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutputWithContext ¶
func (o GetExpressSyncsSyncArrayOutput) ToGetExpressSyncsSyncArrayOutputWithContext(ctx context.Context) GetExpressSyncsSyncArrayOutput
type GetExpressSyncsSyncInput ¶
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 ¶
type GetExpressSyncsSyncOutput struct{ *pulumi.OutputState }
func (GetExpressSyncsSyncOutput) BucketName ¶
func (o GetExpressSyncsSyncOutput) BucketName() pulumi.StringOutput
The name of the OSS Bucket.
func (GetExpressSyncsSyncOutput) BucketPrefix ¶
func (o GetExpressSyncsSyncOutput) BucketPrefix() pulumi.StringOutput
The prefix of the OSS Bucket.
func (GetExpressSyncsSyncOutput) BucketRegion ¶
func (o GetExpressSyncsSyncOutput) BucketRegion() pulumi.StringOutput
The region of the OSS Bucket.
func (GetExpressSyncsSyncOutput) Description ¶
func (o GetExpressSyncsSyncOutput) Description() pulumi.StringOutput
The description of the Express Sync.
func (GetExpressSyncsSyncOutput) ElementType ¶
func (GetExpressSyncsSyncOutput) ElementType() reflect.Type
func (GetExpressSyncsSyncOutput) ExpressSyncId ¶
func (o GetExpressSyncsSyncOutput) ExpressSyncId() pulumi.StringOutput
The ID of the Express Sync.
func (GetExpressSyncsSyncOutput) ExpressSyncName ¶
func (o GetExpressSyncsSyncOutput) ExpressSyncName() pulumi.StringOutput
The name of the Express Sync.
func (GetExpressSyncsSyncOutput) Id ¶
func (o GetExpressSyncsSyncOutput) Id() pulumi.StringOutput
func (GetExpressSyncsSyncOutput) MnsTopic ¶
func (o GetExpressSyncsSyncOutput) MnsTopic() pulumi.StringOutput
The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.
func (GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutput ¶
func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutput() GetExpressSyncsSyncOutput
func (GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutputWithContext ¶
func (o GetExpressSyncsSyncOutput) ToGetExpressSyncsSyncOutputWithContext(ctx context.Context) GetExpressSyncsSyncOutput
type GetGatewayBlockVolumesArgs ¶
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"` OutputFile *string `pulumi:"outputFile"` // The status of volume. Status *int `pulumi:"status"` }
A collection of arguments for invoking getGatewayBlockVolumes.
type GetGatewayBlockVolumesOutputArgs ¶
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"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of volume. Status pulumi.IntPtrInput `pulumi:"status"` }
A collection of arguments for invoking getGatewayBlockVolumes.
func (GetGatewayBlockVolumesOutputArgs) ElementType ¶
func (GetGatewayBlockVolumesOutputArgs) ElementType() reflect.Type
type GetGatewayBlockVolumesResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
type GetGatewayBlockVolumesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewayBlockVolumes.
func GetGatewayBlockVolumesOutput ¶
func GetGatewayBlockVolumesOutput(ctx *pulumi.Context, args GetGatewayBlockVolumesOutputArgs, opts ...pulumi.InvokeOption) GetGatewayBlockVolumesResultOutput
func (GetGatewayBlockVolumesResultOutput) ElementType ¶
func (GetGatewayBlockVolumesResultOutput) ElementType() reflect.Type
func (GetGatewayBlockVolumesResultOutput) GatewayId ¶
func (o GetGatewayBlockVolumesResultOutput) GatewayId() pulumi.StringOutput
func (GetGatewayBlockVolumesResultOutput) Id ¶
func (o GetGatewayBlockVolumesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayBlockVolumesResultOutput) Ids ¶
func (o GetGatewayBlockVolumesResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewayBlockVolumesResultOutput) NameRegex ¶
func (o GetGatewayBlockVolumesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewayBlockVolumesResultOutput) Names ¶
func (o GetGatewayBlockVolumesResultOutput) Names() pulumi.StringArrayOutput
func (GetGatewayBlockVolumesResultOutput) OutputFile ¶
func (o GetGatewayBlockVolumesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewayBlockVolumesResultOutput) Status ¶
func (o GetGatewayBlockVolumesResultOutput) Status() pulumi.IntPtrOutput
func (GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutput ¶
func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutput() GetGatewayBlockVolumesResultOutput
func (GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutputWithContext ¶
func (o GetGatewayBlockVolumesResultOutput) ToGetGatewayBlockVolumesResultOutputWithContext(ctx context.Context) GetGatewayBlockVolumesResultOutput
func (GetGatewayBlockVolumesResultOutput) Volumes ¶
func (o GetGatewayBlockVolumesResultOutput) Volumes() GetGatewayBlockVolumesVolumeArrayOutput
type GetGatewayBlockVolumesVolume ¶
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 ¶
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 ¶
func (GetGatewayBlockVolumesVolumeArgs) ElementType() reflect.Type
func (GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutput ¶
func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput
func (GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutputWithContext ¶
func (i GetGatewayBlockVolumesVolumeArgs) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput
type GetGatewayBlockVolumesVolumeArray ¶
type GetGatewayBlockVolumesVolumeArray []GetGatewayBlockVolumesVolumeInput
func (GetGatewayBlockVolumesVolumeArray) ElementType ¶
func (GetGatewayBlockVolumesVolumeArray) ElementType() reflect.Type
func (GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutput ¶
func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput
func (GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext ¶
func (i GetGatewayBlockVolumesVolumeArray) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput
type GetGatewayBlockVolumesVolumeArrayInput ¶
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 ¶
type GetGatewayBlockVolumesVolumeArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayBlockVolumesVolumeArrayOutput) ElementType ¶
func (GetGatewayBlockVolumesVolumeArrayOutput) ElementType() reflect.Type
func (GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutput ¶
func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutput() GetGatewayBlockVolumesVolumeArrayOutput
func (GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext ¶
func (o GetGatewayBlockVolumesVolumeArrayOutput) ToGetGatewayBlockVolumesVolumeArrayOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeArrayOutput
type GetGatewayBlockVolumesVolumeInput ¶
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 ¶
type GetGatewayBlockVolumesVolumeOutput struct{ *pulumi.OutputState }
func (GetGatewayBlockVolumesVolumeOutput) Address ¶
func (o GetGatewayBlockVolumesVolumeOutput) Address() pulumi.StringOutput
The IP ADDRESS.
func (GetGatewayBlockVolumesVolumeOutput) CacheMode ¶
func (o GetGatewayBlockVolumesVolumeOutput) CacheMode() pulumi.StringOutput
The Block volume set mode to cache mode. Valid values: `Cache`, `WriteThrough`.
func (GetGatewayBlockVolumesVolumeOutput) ChapEnabled ¶
func (o GetGatewayBlockVolumesVolumeOutput) ChapEnabled() pulumi.BoolOutput
Whether to enable iSCSI access of CHAP authentication, which currently supports both CHAP inbound authentication. Default value: `false`.
func (GetGatewayBlockVolumesVolumeOutput) ChapInUser ¶
func (o GetGatewayBlockVolumesVolumeOutput) ChapInUser() pulumi.StringOutput
The Inbound CHAP user.**NOTE:** When the `chapEnabled` is `true` is,The `chapInPassword` is valid.
func (GetGatewayBlockVolumesVolumeOutput) ChunkSize ¶
func (o GetGatewayBlockVolumesVolumeOutput) ChunkSize() pulumi.IntOutput
The Block volume storage allocation unit. Valid values: `8192`, `16384`, `32768`, `65536`, `131072`. Default value: `32768`. Unit: `Byte`.
func (GetGatewayBlockVolumesVolumeOutput) DiskId ¶
func (o GetGatewayBlockVolumesVolumeOutput) DiskId() pulumi.StringOutput
The cache disk ID.
func (GetGatewayBlockVolumesVolumeOutput) DiskType ¶
func (o GetGatewayBlockVolumesVolumeOutput) DiskType() pulumi.StringOutput
The cache disk type.
func (GetGatewayBlockVolumesVolumeOutput) ElementType ¶
func (GetGatewayBlockVolumesVolumeOutput) ElementType() reflect.Type
func (GetGatewayBlockVolumesVolumeOutput) Enabled ¶
func (o GetGatewayBlockVolumesVolumeOutput) Enabled() pulumi.BoolOutput
Whether to enable Volume.
func (GetGatewayBlockVolumesVolumeOutput) GatewayBlockVolumeName ¶
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 ¶
func (o GetGatewayBlockVolumesVolumeOutput) GatewayId() pulumi.StringOutput
The Gateway ID.
func (GetGatewayBlockVolumesVolumeOutput) Id ¶
func (o GetGatewayBlockVolumesVolumeOutput) Id() pulumi.StringOutput
The ID of the Gateway Block Volume. The value formats as `<gateway_id>:<index_id>`.
func (GetGatewayBlockVolumesVolumeOutput) IndexId ¶
func (o GetGatewayBlockVolumesVolumeOutput) IndexId() pulumi.StringOutput
The ID of the index.
func (GetGatewayBlockVolumesVolumeOutput) LocalPath ¶
func (o GetGatewayBlockVolumesVolumeOutput) LocalPath() pulumi.StringOutput
CThe Cache disk to local path. **NOTE:** When the `cacheMode` is `Cache` is,The `chapInPassword` is valid.
func (GetGatewayBlockVolumesVolumeOutput) LunId ¶
func (o GetGatewayBlockVolumesVolumeOutput) LunId() pulumi.IntOutput
The Lun identifier.
func (GetGatewayBlockVolumesVolumeOutput) OssBucketName ¶
func (o GetGatewayBlockVolumesVolumeOutput) OssBucketName() pulumi.StringOutput
The name of the OSS Bucket.
func (GetGatewayBlockVolumesVolumeOutput) OssBucketSsl ¶
func (o GetGatewayBlockVolumesVolumeOutput) OssBucketSsl() pulumi.BoolOutput
Whether to enable SSL access your OSS Buckets. Default value: `true`.
func (GetGatewayBlockVolumesVolumeOutput) OssEndpoint ¶
func (o GetGatewayBlockVolumesVolumeOutput) OssEndpoint() pulumi.StringOutput
The endpoint of the OSS Bucket.
func (GetGatewayBlockVolumesVolumeOutput) Port ¶
func (o GetGatewayBlockVolumesVolumeOutput) Port() pulumi.IntOutput
The Port.
func (GetGatewayBlockVolumesVolumeOutput) Protocol ¶
func (o GetGatewayBlockVolumesVolumeOutput) Protocol() pulumi.StringOutput
The Protocol.
func (GetGatewayBlockVolumesVolumeOutput) Size ¶
func (o GetGatewayBlockVolumesVolumeOutput) Size() pulumi.IntOutput
The Volume size.
func (GetGatewayBlockVolumesVolumeOutput) State ¶
func (o GetGatewayBlockVolumesVolumeOutput) State() pulumi.StringOutput
The Buffer status.
func (GetGatewayBlockVolumesVolumeOutput) Status ¶
func (o GetGatewayBlockVolumesVolumeOutput) Status() pulumi.IntOutput
The status of volume.
func (GetGatewayBlockVolumesVolumeOutput) Target ¶
func (o GetGatewayBlockVolumesVolumeOutput) Target() pulumi.StringOutput
The target.
func (GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutput ¶
func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutput() GetGatewayBlockVolumesVolumeOutput
func (GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutputWithContext ¶
func (o GetGatewayBlockVolumesVolumeOutput) ToGetGatewayBlockVolumesVolumeOutputWithContext(ctx context.Context) GetGatewayBlockVolumesVolumeOutput
func (GetGatewayBlockVolumesVolumeOutput) TotalDownload ¶
func (o GetGatewayBlockVolumesVolumeOutput) TotalDownload() pulumi.IntOutput
The total amount of downloaded data. Unit: `B`.
func (GetGatewayBlockVolumesVolumeOutput) TotalUpload ¶
func (o GetGatewayBlockVolumesVolumeOutput) TotalUpload() pulumi.IntOutput
The total amount of uploaded data. Unit: `B`.
func (GetGatewayBlockVolumesVolumeOutput) VolumeState ¶
func (o GetGatewayBlockVolumesVolumeOutput) VolumeState() pulumi.IntOutput
type GetGatewayCacheDisksArgs ¶
type GetGatewayCacheDisksArgs struct { // The ID of the gateway. GatewayId string `pulumi:"gatewayId"` // A list of Gateway Cache Disk IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Status *int `pulumi:"status"` }
A collection of arguments for invoking getGatewayCacheDisks.
type GetGatewayCacheDisksDisk ¶
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 ¶
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 ¶
func (GetGatewayCacheDisksDiskArgs) ElementType() reflect.Type
func (GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutput ¶
func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput
func (GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutputWithContext ¶
func (i GetGatewayCacheDisksDiskArgs) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput
type GetGatewayCacheDisksDiskArray ¶
type GetGatewayCacheDisksDiskArray []GetGatewayCacheDisksDiskInput
func (GetGatewayCacheDisksDiskArray) ElementType ¶
func (GetGatewayCacheDisksDiskArray) ElementType() reflect.Type
func (GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutput ¶
func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput
func (GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutputWithContext ¶
func (i GetGatewayCacheDisksDiskArray) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput
type GetGatewayCacheDisksDiskArrayInput ¶
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 ¶
type GetGatewayCacheDisksDiskArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayCacheDisksDiskArrayOutput) ElementType ¶
func (GetGatewayCacheDisksDiskArrayOutput) ElementType() reflect.Type
func (GetGatewayCacheDisksDiskArrayOutput) Index ¶
func (o GetGatewayCacheDisksDiskArrayOutput) Index(i pulumi.IntInput) GetGatewayCacheDisksDiskOutput
func (GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutput ¶
func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutput() GetGatewayCacheDisksDiskArrayOutput
func (GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutputWithContext ¶
func (o GetGatewayCacheDisksDiskArrayOutput) ToGetGatewayCacheDisksDiskArrayOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskArrayOutput
type GetGatewayCacheDisksDiskInput ¶
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 ¶
type GetGatewayCacheDisksDiskOutput struct{ *pulumi.OutputState }
func (GetGatewayCacheDisksDiskOutput) CacheDiskCategory ¶
func (o GetGatewayCacheDisksDiskOutput) CacheDiskCategory() pulumi.StringOutput
The category of eht cache disk.
func (GetGatewayCacheDisksDiskOutput) CacheDiskSizeInGb ¶
func (o GetGatewayCacheDisksDiskOutput) CacheDiskSizeInGb() pulumi.IntOutput
The size of the cache disk.
func (GetGatewayCacheDisksDiskOutput) CacheId ¶
func (o GetGatewayCacheDisksDiskOutput) CacheId() pulumi.StringOutput
The ID of the cache disk.
func (GetGatewayCacheDisksDiskOutput) ElementType ¶
func (GetGatewayCacheDisksDiskOutput) ElementType() reflect.Type
func (GetGatewayCacheDisksDiskOutput) ExpiredTime ¶
func (o GetGatewayCacheDisksDiskOutput) ExpiredTime() pulumi.IntOutput
The expiration time. Time stamp in seconds (s).
func (GetGatewayCacheDisksDiskOutput) GatewayId ¶
func (o GetGatewayCacheDisksDiskOutput) GatewayId() pulumi.StringOutput
The ID of the gateway.
func (GetGatewayCacheDisksDiskOutput) Id ¶
func (o GetGatewayCacheDisksDiskOutput) Id() pulumi.StringOutput
The ID of the Gateway Cache Disk.
func (GetGatewayCacheDisksDiskOutput) Iops ¶
func (o GetGatewayCacheDisksDiskOutput) Iops() pulumi.IntOutput
Per second of the input output.
func (GetGatewayCacheDisksDiskOutput) IsUsed ¶
func (o GetGatewayCacheDisksDiskOutput) IsUsed() pulumi.BoolOutput
Whether it is used.
func (GetGatewayCacheDisksDiskOutput) LocalFilePath ¶
func (o GetGatewayCacheDisksDiskOutput) LocalFilePath() pulumi.StringOutput
The cache disk inside the device name.
func (GetGatewayCacheDisksDiskOutput) RenewUrl ¶
func (o GetGatewayCacheDisksDiskOutput) RenewUrl() pulumi.StringOutput
A renewal link of the cache disk.
func (GetGatewayCacheDisksDiskOutput) Status ¶
func (o GetGatewayCacheDisksDiskOutput) Status() pulumi.IntOutput
The status of the resource.
func (GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutput ¶
func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutput() GetGatewayCacheDisksDiskOutput
func (GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutputWithContext ¶
func (o GetGatewayCacheDisksDiskOutput) ToGetGatewayCacheDisksDiskOutputWithContext(ctx context.Context) GetGatewayCacheDisksDiskOutput
type GetGatewayCacheDisksOutputArgs ¶
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"` 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 ¶
func (GetGatewayCacheDisksOutputArgs) ElementType() reflect.Type
type GetGatewayCacheDisksResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
type GetGatewayCacheDisksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewayCacheDisks.
func GetGatewayCacheDisksOutput ¶
func GetGatewayCacheDisksOutput(ctx *pulumi.Context, args GetGatewayCacheDisksOutputArgs, opts ...pulumi.InvokeOption) GetGatewayCacheDisksResultOutput
func (GetGatewayCacheDisksResultOutput) Disks ¶
func (o GetGatewayCacheDisksResultOutput) Disks() GetGatewayCacheDisksDiskArrayOutput
func (GetGatewayCacheDisksResultOutput) ElementType ¶
func (GetGatewayCacheDisksResultOutput) ElementType() reflect.Type
func (GetGatewayCacheDisksResultOutput) GatewayId ¶
func (o GetGatewayCacheDisksResultOutput) GatewayId() pulumi.StringOutput
func (GetGatewayCacheDisksResultOutput) Id ¶
func (o GetGatewayCacheDisksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayCacheDisksResultOutput) Ids ¶
func (o GetGatewayCacheDisksResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewayCacheDisksResultOutput) OutputFile ¶
func (o GetGatewayCacheDisksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewayCacheDisksResultOutput) Status ¶
func (o GetGatewayCacheDisksResultOutput) Status() pulumi.IntPtrOutput
func (GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutput ¶
func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutput() GetGatewayCacheDisksResultOutput
func (GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutputWithContext ¶
func (o GetGatewayCacheDisksResultOutput) ToGetGatewayCacheDisksResultOutputWithContext(ctx context.Context) GetGatewayCacheDisksResultOutput
type GetGatewayFileSharesArgs ¶
type GetGatewayFileSharesArgs struct { string `pulumi:"gatewayId"` Ids []string `pulumi:"ids"` // A regex string to filter results by Gateway File Share name. }GatewayId
A collection of arguments for invoking getGatewayFileShares.
type GetGatewayFileSharesOutputArgs ¶
type GetGatewayFileSharesOutputArgs struct { pulumi.StringInput `pulumi:"gatewayId"` Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Gateway File Share name. }GatewayId
A collection of arguments for invoking getGatewayFileShares.
func (GetGatewayFileSharesOutputArgs) ElementType ¶
func (GetGatewayFileSharesOutputArgs) ElementType() reflect.Type
type GetGatewayFileSharesResult ¶
type GetGatewayFileSharesResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getGatewayFileShares.
func GetGatewayFileShares ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
A collection of values returned by getGatewayFileShares.
func GetGatewayFileSharesOutput ¶
func GetGatewayFileSharesOutput(ctx *pulumi.Context, args GetGatewayFileSharesOutputArgs, opts ...pulumi.InvokeOption) GetGatewayFileSharesResultOutput
func (GetGatewayFileSharesResultOutput) ElementType ¶
func (GetGatewayFileSharesResultOutput) ElementType() reflect.Type
func (GetGatewayFileSharesResultOutput) GatewayId ¶
func (o GetGatewayFileSharesResultOutput) GatewayId() pulumi.StringOutput
func (GetGatewayFileSharesResultOutput) Id ¶
func (o GetGatewayFileSharesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayFileSharesResultOutput) Ids ¶
func (o GetGatewayFileSharesResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewayFileSharesResultOutput) NameRegex ¶
func (o GetGatewayFileSharesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewayFileSharesResultOutput) Names ¶
func (o GetGatewayFileSharesResultOutput) Names() pulumi.StringArrayOutput
func (GetGatewayFileSharesResultOutput) OutputFile ¶
func (o GetGatewayFileSharesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewayFileSharesResultOutput) Shares ¶
func (o GetGatewayFileSharesResultOutput) Shares() GetGatewayFileSharesShareArrayOutput
func (GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutput ¶
func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutput() GetGatewayFileSharesResultOutput
func (GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutputWithContext ¶
func (o GetGatewayFileSharesResultOutput) ToGetGatewayFileSharesResultOutputWithContext(ctx context.Context) GetGatewayFileSharesResultOutput
type GetGatewayFileSharesShare ¶
type GetGatewayFileSharesShare struct { bool `pulumi:"accessBasedEnumeration"` Address string `pulumi:"address"` BackendLimit int `pulumi:"backendLimit"` Browsable bool `pulumi:"browsable"` BucketInfos string `pulumi:"bucketInfos"` BucketsStub bool `pulumi:"bucketsStub"` BypassCacheRead bool `pulumi:"bypassCacheRead"` CacheMode string `pulumi:"cacheMode"` ClientSideCmk string `pulumi:"clientSideCmk"` ClientSideEncryption bool `pulumi:"clientSideEncryption"` DirectIo bool `pulumi:"directIo"` DiskId string `pulumi:"diskId"` DiskType string `pulumi:"diskType"` DownloadLimit int `pulumi:"downloadLimit"` Enabled bool `pulumi:"enabled"` ExpressSyncId string `pulumi:"expressSyncId"` FastReclaim bool `pulumi:"fastReclaim"` FeLimit int `pulumi:"feLimit"` FileNumLimit string `pulumi:"fileNumLimit"` FsSizeLimit string `pulumi:"fsSizeLimit"` GatewayFileShareName string `pulumi:"gatewayFileShareName"` GatewayId string `pulumi:"gatewayId"` Id string `pulumi:"id"` IgnoreDelete bool `pulumi:"ignoreDelete"` InPlace bool `pulumi:"inPlace"` InRate string `pulumi:"inRate"` IndexId string `pulumi:"indexId"` KmsRotatePeriod int `pulumi:"kmsRotatePeriod"` LagPeriod string `pulumi:"lagPeriod"` LocalPath string `pulumi:"localPath"` MnsHealth string `pulumi:"mnsHealth"` NfsV4Optimization bool `pulumi:"nfsV4Optimization"` ObsoleteBuckets string `pulumi:"obsoleteBuckets"` OssBucketName string `pulumi:"ossBucketName"` OssBucketSsl bool `pulumi:"ossBucketSsl"` OssEndpoint string `pulumi:"ossEndpoint"` OssHealth string `pulumi:"ossHealth"` OssUsed string `pulumi:"ossUsed"` OutRate string `pulumi:"outRate"` PartialSyncPaths string `pulumi:"partialSyncPaths"` PathPrefix string `pulumi:"pathPrefix"` PollingInterval int `pulumi:"pollingInterval"` Protocol string `pulumi:"protocol"` RemainingMetaSpace string `pulumi:"remainingMetaSpace"` RemoteSync bool `pulumi:"remoteSync"` RemoteSyncDownload bool `pulumi:"remoteSyncDownload"` RoClientList string `pulumi:"roClientList"` RoUserList string `pulumi:"roUserList"` RwClientList string `pulumi:"rwClientList"` RwUserList string `pulumi:"rwUserList"` ServerSideCmk string `pulumi:"serverSideCmk"` ServerSideEncryption bool `pulumi:"serverSideEncryption"` Size string `pulumi:"size"` Squash string `pulumi:"squash"` State string `pulumi:"state"` SupportArchive bool `pulumi:"supportArchive"` SyncProgress int `pulumi:"syncProgress"` TotalDownload string `pulumi:"totalDownload"` TotalUpload string `pulumi:"totalUpload"` TransferAcceleration bool `pulumi:"transferAcceleration"` Used string `pulumi:"used"` WindowsAcl bool `pulumi:"windowsAcl"` }AccessBasedEnumeration
type GetGatewayFileSharesShareArgs ¶
type GetGatewayFileSharesShareArgs struct { pulumi.BoolInput `pulumi:"accessBasedEnumeration"` Address pulumi.StringInput `pulumi:"address"` BackendLimit pulumi.IntInput `pulumi:"backendLimit"` Browsable pulumi.BoolInput `pulumi:"browsable"` BucketInfos pulumi.StringInput `pulumi:"bucketInfos"` BucketsStub pulumi.BoolInput `pulumi:"bucketsStub"` BypassCacheRead pulumi.BoolInput `pulumi:"bypassCacheRead"` CacheMode pulumi.StringInput `pulumi:"cacheMode"` ClientSideCmk pulumi.StringInput `pulumi:"clientSideCmk"` ClientSideEncryption pulumi.BoolInput `pulumi:"clientSideEncryption"` DirectIo pulumi.BoolInput `pulumi:"directIo"` DiskId pulumi.StringInput `pulumi:"diskId"` DiskType pulumi.StringInput `pulumi:"diskType"` DownloadLimit pulumi.IntInput `pulumi:"downloadLimit"` Enabled pulumi.BoolInput `pulumi:"enabled"` ExpressSyncId pulumi.StringInput `pulumi:"expressSyncId"` FastReclaim pulumi.BoolInput `pulumi:"fastReclaim"` FeLimit pulumi.IntInput `pulumi:"feLimit"` FileNumLimit pulumi.StringInput `pulumi:"fileNumLimit"` FsSizeLimit pulumi.StringInput `pulumi:"fsSizeLimit"` GatewayFileShareName pulumi.StringInput `pulumi:"gatewayFileShareName"` GatewayId pulumi.StringInput `pulumi:"gatewayId"` Id pulumi.StringInput `pulumi:"id"` IgnoreDelete pulumi.BoolInput `pulumi:"ignoreDelete"` InPlace pulumi.BoolInput `pulumi:"inPlace"` InRate pulumi.StringInput `pulumi:"inRate"` IndexId pulumi.StringInput `pulumi:"indexId"` KmsRotatePeriod pulumi.IntInput `pulumi:"kmsRotatePeriod"` LagPeriod pulumi.StringInput `pulumi:"lagPeriod"` LocalPath pulumi.StringInput `pulumi:"localPath"` MnsHealth pulumi.StringInput `pulumi:"mnsHealth"` NfsV4Optimization pulumi.BoolInput `pulumi:"nfsV4Optimization"` ObsoleteBuckets pulumi.StringInput `pulumi:"obsoleteBuckets"` OssBucketName pulumi.StringInput `pulumi:"ossBucketName"` OssBucketSsl pulumi.BoolInput `pulumi:"ossBucketSsl"` OssEndpoint pulumi.StringInput `pulumi:"ossEndpoint"` OssHealth pulumi.StringInput `pulumi:"ossHealth"` OssUsed pulumi.StringInput `pulumi:"ossUsed"` OutRate pulumi.StringInput `pulumi:"outRate"` PartialSyncPaths pulumi.StringInput `pulumi:"partialSyncPaths"` PathPrefix pulumi.StringInput `pulumi:"pathPrefix"` PollingInterval pulumi.IntInput `pulumi:"pollingInterval"` Protocol pulumi.StringInput `pulumi:"protocol"` RemainingMetaSpace pulumi.StringInput `pulumi:"remainingMetaSpace"` RemoteSync pulumi.BoolInput `pulumi:"remoteSync"` RemoteSyncDownload pulumi.BoolInput `pulumi:"remoteSyncDownload"` RoClientList pulumi.StringInput `pulumi:"roClientList"` RoUserList pulumi.StringInput `pulumi:"roUserList"` RwClientList pulumi.StringInput `pulumi:"rwClientList"` RwUserList pulumi.StringInput `pulumi:"rwUserList"` ServerSideCmk pulumi.StringInput `pulumi:"serverSideCmk"` ServerSideEncryption pulumi.BoolInput `pulumi:"serverSideEncryption"` Size pulumi.StringInput `pulumi:"size"` Squash pulumi.StringInput `pulumi:"squash"` State pulumi.StringInput `pulumi:"state"` SupportArchive pulumi.BoolInput `pulumi:"supportArchive"` SyncProgress pulumi.IntInput `pulumi:"syncProgress"` TotalDownload pulumi.StringInput `pulumi:"totalDownload"` TotalUpload pulumi.StringInput `pulumi:"totalUpload"` TransferAcceleration pulumi.BoolInput `pulumi:"transferAcceleration"` Used pulumi.StringInput `pulumi:"used"` WindowsAcl pulumi.BoolInput `pulumi:"windowsAcl"` }AccessBasedEnumeration
func (GetGatewayFileSharesShareArgs) ElementType ¶
func (GetGatewayFileSharesShareArgs) ElementType() reflect.Type
func (GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutput ¶
func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput
func (GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutputWithContext ¶
func (i GetGatewayFileSharesShareArgs) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput
type GetGatewayFileSharesShareArray ¶
type GetGatewayFileSharesShareArray []GetGatewayFileSharesShareInput
func (GetGatewayFileSharesShareArray) ElementType ¶
func (GetGatewayFileSharesShareArray) ElementType() reflect.Type
func (GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutput ¶
func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput
func (GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutputWithContext ¶
func (i GetGatewayFileSharesShareArray) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput
type GetGatewayFileSharesShareArrayInput ¶
GetGatewayFileSharesShareArrayInput is an input type that accepts GetGatewayFileSharesShareArray and GetGatewayFileSharesShareArrayOutput values. You can construct a concrete instance of `GetGatewayFileSharesShareArrayInput` via:
GetGatewayFileSharesShareArray{ GetGatewayFileSharesShareArgs{...} }
type GetGatewayFileSharesShareArrayOutput ¶
func (GetGatewayFileSharesShareArrayOutput) ElementType ¶
func (GetGatewayFileSharesShareArrayOutput) ElementType() reflect.Type
func (GetGatewayFileSharesShareArrayOutput) Index ¶
func (o GetGatewayFileSharesShareArrayOutput) Index(i pulumi.IntInput) GetGatewayFileSharesShareOutput
func (GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutput ¶
func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutput() GetGatewayFileSharesShareArrayOutput
func (GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutputWithContext ¶
func (o GetGatewayFileSharesShareArrayOutput) ToGetGatewayFileSharesShareArrayOutputWithContext(ctx context.Context) GetGatewayFileSharesShareArrayOutput
type GetGatewayFileSharesShareInput ¶
GetGatewayFileSharesShareInput is an input type that accepts GetGatewayFileSharesShareArgs and GetGatewayFileSharesShareOutput values. You can construct a concrete instance of `GetGatewayFileSharesShareInput` via:
GetGatewayFileSharesShareArgs{...}
type GetGatewayFileSharesShareOutput ¶
func (GetGatewayFileSharesShareOutput) AccessBasedEnumeration ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) Address() pulumi.StringOutput
Share the private IP address of the RDS instance.
func (GetGatewayFileSharesShareOutput) BackendLimit ¶
func (o GetGatewayFileSharesShareOutput) BackendLimit() pulumi.IntOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) Browsable() pulumi.BoolOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) BucketInfos() pulumi.StringOutput
Multi-Bucket information.
func (GetGatewayFileSharesShareOutput) BucketsStub ¶
func (o GetGatewayFileSharesShareOutput) BucketsStub() pulumi.BoolOutput
Whether there are multiple buckets.
func (GetGatewayFileSharesShareOutput) BypassCacheRead ¶
func (o GetGatewayFileSharesShareOutput) BypassCacheRead() pulumi.BoolOutput
Direct reading OSS of the gateway file share.
func (GetGatewayFileSharesShareOutput) CacheMode ¶
func (o GetGatewayFileSharesShareOutput) CacheMode() pulumi.StringOutput
The cache mode of the gateway file share. Value range: Cache: cached mode. Sync: replication mode are available.
func (GetGatewayFileSharesShareOutput) ClientSideCmk ¶
func (o GetGatewayFileSharesShareOutput) ClientSideCmk() pulumi.StringOutput
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 ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) DirectIo() pulumi.BoolOutput
Whether directio (direct I/O data transfer) is enabled for file share. Default: `false`.
func (GetGatewayFileSharesShareOutput) DiskId ¶
func (o GetGatewayFileSharesShareOutput) DiskId() pulumi.StringOutput
The ID of the disk.
func (GetGatewayFileSharesShareOutput) DiskType ¶
func (o GetGatewayFileSharesShareOutput) DiskType() pulumi.StringOutput
The cache disk type. Valid values: `cloudEfficiency`: Ultra cloud disk. `cloudSsd`:SSD cloud disk.
func (GetGatewayFileSharesShareOutput) DownloadLimit ¶
func (o GetGatewayFileSharesShareOutput) DownloadLimit() pulumi.IntOutput
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 ¶
func (GetGatewayFileSharesShareOutput) ElementType() reflect.Type
func (GetGatewayFileSharesShareOutput) Enabled ¶
func (o GetGatewayFileSharesShareOutput) Enabled() pulumi.BoolOutput
Shared whether the changes take effect.
func (GetGatewayFileSharesShareOutput) ExpressSyncId ¶
func (o GetGatewayFileSharesShareOutput) ExpressSyncId() pulumi.StringOutput
Speed synchronization group ID.
func (GetGatewayFileSharesShareOutput) FastReclaim ¶
func (o GetGatewayFileSharesShareOutput) FastReclaim() pulumi.BoolOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) FeLimit() pulumi.IntOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) FileNumLimit() pulumi.StringOutput
Supported by the file system file number.
func (GetGatewayFileSharesShareOutput) FsSizeLimit ¶
func (o GetGatewayFileSharesShareOutput) FsSizeLimit() pulumi.StringOutput
File system capacity. Unit: `B`.
func (GetGatewayFileSharesShareOutput) GatewayFileShareName ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) GatewayId() pulumi.StringOutput
The ID of the gateway.
func (GetGatewayFileSharesShareOutput) Id ¶
func (o GetGatewayFileSharesShareOutput) Id() pulumi.StringOutput
The ID of the Gateway File Share.
func (GetGatewayFileSharesShareOutput) IgnoreDelete ¶
func (o GetGatewayFileSharesShareOutput) IgnoreDelete() pulumi.BoolOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) InPlace() pulumi.BoolOutput
Whether debris optimization of the gateway file share. Default value: `false`.
func (GetGatewayFileSharesShareOutput) InRate ¶
func (o GetGatewayFileSharesShareOutput) InRate() pulumi.StringOutput
Cache growth. Unit: `B/s`.
func (GetGatewayFileSharesShareOutput) IndexId ¶
func (o GetGatewayFileSharesShareOutput) IndexId() pulumi.StringOutput
The ID of the file share.
func (GetGatewayFileSharesShareOutput) KmsRotatePeriod ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) LagPeriod() pulumi.StringOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) LocalPath() pulumi.StringOutput
The cache disk inside the device name.
func (GetGatewayFileSharesShareOutput) MnsHealth ¶
func (o GetGatewayFileSharesShareOutput) MnsHealth() pulumi.StringOutput
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 ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) ObsoleteBuckets() pulumi.StringOutput
Multi-Bucket, removing the Bucket.
func (GetGatewayFileSharesShareOutput) OssBucketName ¶
func (o GetGatewayFileSharesShareOutput) OssBucketName() pulumi.StringOutput
The name of the Bucket.
func (GetGatewayFileSharesShareOutput) OssBucketSsl ¶
func (o GetGatewayFileSharesShareOutput) OssBucketSsl() pulumi.BoolOutput
Whether they are using SSL connect to OSS Bucket.
func (GetGatewayFileSharesShareOutput) OssEndpoint ¶
func (o GetGatewayFileSharesShareOutput) OssEndpoint() pulumi.StringOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) OssHealth() pulumi.StringOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) OssUsed() pulumi.StringOutput
For a cloud-based data is. Unit: `B`.
func (GetGatewayFileSharesShareOutput) OutRate ¶
func (o GetGatewayFileSharesShareOutput) OutRate() pulumi.StringOutput
Upload speed. Unit: `B/s`.
func (GetGatewayFileSharesShareOutput) PartialSyncPaths ¶
func (o GetGatewayFileSharesShareOutput) PartialSyncPaths() pulumi.StringOutput
In part mode, the directory path group JSON format.
func (GetGatewayFileSharesShareOutput) PathPrefix ¶
func (o GetGatewayFileSharesShareOutput) PathPrefix() pulumi.StringOutput
The prefix of the OSS.
func (GetGatewayFileSharesShareOutput) PollingInterval ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) Protocol() pulumi.StringOutput
Share types. Valid values: `SMB`, `NFS`.
func (GetGatewayFileSharesShareOutput) RemainingMetaSpace ¶
func (o GetGatewayFileSharesShareOutput) RemainingMetaSpace() pulumi.StringOutput
You can use the metadata space. Unit: `B`.
func (GetGatewayFileSharesShareOutput) RemoteSync ¶
func (o GetGatewayFileSharesShareOutput) RemoteSync() pulumi.BoolOutput
Whether to enable reverse synchronization of the gateway file share. Default value: `false`.
func (GetGatewayFileSharesShareOutput) RemoteSyncDownload ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) RoClientList() pulumi.StringOutput
The read-only client list. When Protocol NFS is returned when the status is.
func (GetGatewayFileSharesShareOutput) RoUserList ¶
func (o GetGatewayFileSharesShareOutput) RoUserList() pulumi.StringOutput
The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
func (GetGatewayFileSharesShareOutput) RwClientList ¶
func (o GetGatewayFileSharesShareOutput) RwClientList() pulumi.StringOutput
Read and write the client list. When Protocol NFS is returned when the status is.
func (GetGatewayFileSharesShareOutput) RwUserList ¶
func (o GetGatewayFileSharesShareOutput) RwUserList() pulumi.StringOutput
Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
func (GetGatewayFileSharesShareOutput) ServerSideCmk ¶
func (o GetGatewayFileSharesShareOutput) ServerSideCmk() pulumi.StringOutput
File share is enabled server-side encryption, encryption used by the KMS key.
func (GetGatewayFileSharesShareOutput) ServerSideEncryption ¶
func (o GetGatewayFileSharesShareOutput) ServerSideEncryption() pulumi.BoolOutput
If the OSS Bucket side encryption.
func (GetGatewayFileSharesShareOutput) Size ¶
func (o GetGatewayFileSharesShareOutput) Size() pulumi.StringOutput
The caching capacity. Unit: `B`.
func (GetGatewayFileSharesShareOutput) Squash ¶
func (o GetGatewayFileSharesShareOutput) Squash() pulumi.StringOutput
The set up gateway file share NFS protocol user mapping. Valid values: `none`, `rootSquash`, `allSquash`, `allAnonymous`. Default value: `none`.
func (GetGatewayFileSharesShareOutput) State ¶
func (o GetGatewayFileSharesShareOutput) State() pulumi.StringOutput
File synchronization types. Valid values: `clean`, `dirty`. `clean`: synchronization is complete. `dirty`: synchronization has not been completed.
func (GetGatewayFileSharesShareOutput) SupportArchive ¶
func (o GetGatewayFileSharesShareOutput) SupportArchive() pulumi.BoolOutput
Whether to support the archive transparent read.
func (GetGatewayFileSharesShareOutput) SyncProgress ¶
func (o GetGatewayFileSharesShareOutput) SyncProgress() pulumi.IntOutput
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 ¶
func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutput() GetGatewayFileSharesShareOutput
func (GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutputWithContext ¶
func (o GetGatewayFileSharesShareOutput) ToGetGatewayFileSharesShareOutputWithContext(ctx context.Context) GetGatewayFileSharesShareOutput
func (GetGatewayFileSharesShareOutput) TotalDownload ¶
func (o GetGatewayFileSharesShareOutput) TotalDownload() pulumi.StringOutput
The OSS Bucket to the Gateway total downloads. Unit: `B`.
func (GetGatewayFileSharesShareOutput) TotalUpload ¶
func (o GetGatewayFileSharesShareOutput) TotalUpload() pulumi.StringOutput
The OSS Bucket to the Gateway total Upload amount. Unit: `B`.
func (GetGatewayFileSharesShareOutput) TransferAcceleration ¶
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 ¶
func (o GetGatewayFileSharesShareOutput) Used() pulumi.StringOutput
Used cache. Unit: `B`.
func (GetGatewayFileSharesShareOutput) WindowsAcl ¶
func (o GetGatewayFileSharesShareOutput) WindowsAcl() pulumi.BoolOutput
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 ¶
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"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getGatewaySmbUsers.
type GetGatewaySmbUsersOutputArgs ¶
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"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getGatewaySmbUsers.
func (GetGatewaySmbUsersOutputArgs) ElementType ¶
func (GetGatewaySmbUsersOutputArgs) ElementType() reflect.Type
type GetGatewaySmbUsersResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{ NameRegex: pulumi.StringRef("default-NODELETING"), }, nil) if err != nil { return err } defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{ VpcId: pulumi.StringRef(defaultNetworks.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, "defaultGateway", &cloudstoragegateway.GatewayArgs{ Description: pulumi.String("tf-acctestDesalone"), GatewayClass: pulumi.String("Standard"), Type: pulumi.String("File"), PaymentType: pulumi.String("PayAsYouGo"), VswitchId: pulumi.String(defaultSwitches.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, "defaultGatewaySmbUser", &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.StringOutput)) return nil }) }
```
type GetGatewaySmbUsersResultOutput ¶
type GetGatewaySmbUsersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewaySmbUsers.
func GetGatewaySmbUsersOutput ¶
func GetGatewaySmbUsersOutput(ctx *pulumi.Context, args GetGatewaySmbUsersOutputArgs, opts ...pulumi.InvokeOption) GetGatewaySmbUsersResultOutput
func (GetGatewaySmbUsersResultOutput) ElementType ¶
func (GetGatewaySmbUsersResultOutput) ElementType() reflect.Type
func (GetGatewaySmbUsersResultOutput) GatewayId ¶
func (o GetGatewaySmbUsersResultOutput) GatewayId() pulumi.StringOutput
func (GetGatewaySmbUsersResultOutput) Id ¶
func (o GetGatewaySmbUsersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewaySmbUsersResultOutput) Ids ¶
func (o GetGatewaySmbUsersResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewaySmbUsersResultOutput) NameRegex ¶
func (o GetGatewaySmbUsersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewaySmbUsersResultOutput) OutputFile ¶
func (o GetGatewaySmbUsersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutput ¶
func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutput() GetGatewaySmbUsersResultOutput
func (GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutputWithContext ¶
func (o GetGatewaySmbUsersResultOutput) ToGetGatewaySmbUsersResultOutputWithContext(ctx context.Context) GetGatewaySmbUsersResultOutput
func (GetGatewaySmbUsersResultOutput) Users ¶
func (o GetGatewaySmbUsersResultOutput) Users() GetGatewaySmbUsersUserArrayOutput
type GetGatewaySmbUsersUser ¶
type GetGatewaySmbUsersUserArgs ¶
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 ¶
func (GetGatewaySmbUsersUserArgs) ElementType() reflect.Type
func (GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutput ¶
func (i GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput
func (GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutputWithContext ¶
func (i GetGatewaySmbUsersUserArgs) ToGetGatewaySmbUsersUserOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserOutput
type GetGatewaySmbUsersUserArray ¶
type GetGatewaySmbUsersUserArray []GetGatewaySmbUsersUserInput
func (GetGatewaySmbUsersUserArray) ElementType ¶
func (GetGatewaySmbUsersUserArray) ElementType() reflect.Type
func (GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutput ¶
func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput
func (GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutputWithContext ¶
func (i GetGatewaySmbUsersUserArray) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput
type GetGatewaySmbUsersUserArrayInput ¶
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 ¶
type GetGatewaySmbUsersUserArrayOutput struct{ *pulumi.OutputState }
func (GetGatewaySmbUsersUserArrayOutput) ElementType ¶
func (GetGatewaySmbUsersUserArrayOutput) ElementType() reflect.Type
func (GetGatewaySmbUsersUserArrayOutput) Index ¶
func (o GetGatewaySmbUsersUserArrayOutput) Index(i pulumi.IntInput) GetGatewaySmbUsersUserOutput
func (GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutput ¶
func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutput() GetGatewaySmbUsersUserArrayOutput
func (GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutputWithContext ¶
func (o GetGatewaySmbUsersUserArrayOutput) ToGetGatewaySmbUsersUserArrayOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserArrayOutput
type GetGatewaySmbUsersUserInput ¶
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 ¶
type GetGatewaySmbUsersUserOutput struct{ *pulumi.OutputState }
func (GetGatewaySmbUsersUserOutput) ElementType ¶
func (GetGatewaySmbUsersUserOutput) ElementType() reflect.Type
func (GetGatewaySmbUsersUserOutput) GatewayId ¶
func (o GetGatewaySmbUsersUserOutput) GatewayId() pulumi.StringOutput
The Gateway ID.
func (GetGatewaySmbUsersUserOutput) Id ¶
func (o GetGatewaySmbUsersUserOutput) Id() pulumi.StringOutput
The ID of the Gateway SMB User.
func (GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutput ¶
func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutput() GetGatewaySmbUsersUserOutput
func (GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutputWithContext ¶
func (o GetGatewaySmbUsersUserOutput) ToGetGatewaySmbUsersUserOutputWithContext(ctx context.Context) GetGatewaySmbUsersUserOutput
func (GetGatewaySmbUsersUserOutput) Username ¶
func (o GetGatewaySmbUsersUserOutput) Username() pulumi.StringOutput
The username of the Gateway SMB User.
type GetGatewaysArgs ¶
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"` 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 ¶
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 ¶
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 ¶
func (GetGatewaysGatewayArgs) ElementType() reflect.Type
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput ¶
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext ¶
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
type GetGatewaysGatewayArray ¶
type GetGatewaysGatewayArray []GetGatewaysGatewayInput
func (GetGatewaysGatewayArray) ElementType ¶
func (GetGatewaysGatewayArray) ElementType() reflect.Type
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput ¶
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext ¶
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayArrayInput ¶
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 ¶
type GetGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayArrayOutput) ElementType ¶
func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayArrayOutput) Index ¶
func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput ¶
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext ¶
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayInput ¶
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 ¶
type GetGatewaysGatewayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayOutput) ActivatedTime ¶
func (o GetGatewaysGatewayOutput) ActivatedTime() pulumi.StringOutput
gateway .
func (GetGatewaysGatewayOutput) BuyUrl ¶
func (o GetGatewaysGatewayOutput) BuyUrl() pulumi.StringOutput
func (GetGatewaysGatewayOutput) Category ¶
func (o GetGatewaysGatewayOutput) Category() pulumi.StringOutput
gateway category.
func (GetGatewaysGatewayOutput) CreateTime ¶
func (o GetGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
gateway created timestamp in second format.
func (GetGatewaysGatewayOutput) Description ¶
func (o GetGatewaysGatewayOutput) Description() pulumi.StringOutput
gateway description.
func (GetGatewaysGatewayOutput) EcsInstanceId ¶
func (o GetGatewaysGatewayOutput) EcsInstanceId() pulumi.StringOutput
gateway ecs instance id.
func (GetGatewaysGatewayOutput) ElementType ¶
func (GetGatewaysGatewayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayOutput) ExpireStatus ¶
func (o GetGatewaysGatewayOutput) ExpireStatus() pulumi.IntOutput
gateway expiration status.
func (GetGatewaysGatewayOutput) ExpiredTime ¶
func (o GetGatewaysGatewayOutput) ExpiredTime() pulumi.StringOutput
gateway expiration timestamp in second format.
func (GetGatewaysGatewayOutput) GatewayClass ¶
func (o GetGatewaysGatewayOutput) GatewayClass() pulumi.StringOutput
gateway class.
func (GetGatewaysGatewayOutput) GatewayId ¶
func (o GetGatewaysGatewayOutput) GatewayId() pulumi.StringOutput
gateway id.
func (GetGatewaysGatewayOutput) GatewayName ¶
func (o GetGatewaysGatewayOutput) GatewayName() pulumi.StringOutput
gateway name.
func (GetGatewaysGatewayOutput) GatewayVersion ¶
func (o GetGatewaysGatewayOutput) GatewayVersion() pulumi.StringOutput
gateway version.
func (GetGatewaysGatewayOutput) Id ¶
func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
The ID of the Gateway.
func (GetGatewaysGatewayOutput) InnerIp ¶
func (o GetGatewaysGatewayOutput) InnerIp() pulumi.StringOutput
gateway service ip.
func (GetGatewaysGatewayOutput) Ip ¶
func (o GetGatewaysGatewayOutput) Ip() pulumi.StringOutput
gateway public ip.
func (GetGatewaysGatewayOutput) IsReleaseAfterExpiration ¶
func (o GetGatewaysGatewayOutput) IsReleaseAfterExpiration() pulumi.BoolOutput
whether subscription gateway is released after expiration or not.
func (GetGatewaysGatewayOutput) Location ¶
func (o GetGatewaysGatewayOutput) Location() pulumi.StringOutput
gateway location.
func (GetGatewaysGatewayOutput) PaymentType ¶
func (o GetGatewaysGatewayOutput) PaymentType() pulumi.StringOutput
gateway payment type. The Payment type of gateway. The valid value: `PayAsYouGo`, `Subscription`.
func (GetGatewaysGatewayOutput) PublicNetworkBandwidth ¶
func (o GetGatewaysGatewayOutput) PublicNetworkBandwidth() pulumi.IntOutput
gateway public network bandwidth.
func (GetGatewaysGatewayOutput) RenewUrl ¶
func (o GetGatewaysGatewayOutput) RenewUrl() pulumi.StringOutput
func (GetGatewaysGatewayOutput) Status ¶
func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
gateway status.
func (GetGatewaysGatewayOutput) StorageBundleId ¶
func (o GetGatewaysGatewayOutput) StorageBundleId() pulumi.StringOutput
storage bundle id.
func (GetGatewaysGatewayOutput) TaskId ¶
func (o GetGatewaysGatewayOutput) TaskId() pulumi.StringOutput
gateway task id.
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput ¶
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext ¶
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) Type ¶
func (o GetGatewaysGatewayOutput) Type() pulumi.StringOutput
gateway type.
func (GetGatewaysGatewayOutput) VpcId ¶
func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
gateway vpc id.
func (GetGatewaysGatewayOutput) VswitchId ¶
func (o GetGatewaysGatewayOutput) VswitchId() pulumi.StringOutput
The vswitch id.
type GetGatewaysOutputArgs ¶
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"` 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 ¶
func (GetGatewaysOutputArgs) ElementType() reflect.Type
type GetGatewaysResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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.StringOutput)) return nil }) }
```
type GetGatewaysResultOutput ¶
type GetGatewaysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGateways.
func GetGatewaysOutput ¶
func GetGatewaysOutput(ctx *pulumi.Context, args GetGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetGatewaysResultOutput
func (GetGatewaysResultOutput) ElementType ¶
func (GetGatewaysResultOutput) ElementType() reflect.Type
func (GetGatewaysResultOutput) Gateways ¶
func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
func (GetGatewaysResultOutput) Id ¶
func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewaysResultOutput) Ids ¶
func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewaysResultOutput) NameRegex ¶
func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Names ¶
func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
func (GetGatewaysResultOutput) OutputFile ¶
func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) PageNumber ¶
func (o GetGatewaysResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetGatewaysResultOutput) PageSize ¶
func (o GetGatewaysResultOutput) PageSize() pulumi.IntPtrOutput
func (GetGatewaysResultOutput) Status ¶
func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) StorageBundleId ¶
func (o GetGatewaysResultOutput) StorageBundleId() pulumi.StringOutput
func (GetGatewaysResultOutput) ToGetGatewaysResultOutput ¶
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
func (GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext ¶
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
func (GetGatewaysResultOutput) TotalCount ¶
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". Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶
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". Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type GetStocksArgs ¶
type GetStocksArgs struct { // The gateway class. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`. GatewayClass *string `pulumi:"gatewayClass"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getStocks.
type GetStocksOutputArgs ¶
type GetStocksOutputArgs struct { // The gateway class. Valid values: `Basic`, `Standard`,`Enhanced`,`Advanced`. GatewayClass pulumi.StringPtrInput `pulumi:"gatewayClass"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getStocks.
func (GetStocksOutputArgs) ElementType ¶
func (GetStocksOutputArgs) ElementType() reflect.Type
type GetStocksResult ¶
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 ¶
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/go/alicloud/cloudstoragegateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 ¶
type GetStocksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getStocks.
func GetStocksOutput ¶
func GetStocksOutput(ctx *pulumi.Context, args GetStocksOutputArgs, opts ...pulumi.InvokeOption) GetStocksResultOutput
func (GetStocksResultOutput) ElementType ¶
func (GetStocksResultOutput) ElementType() reflect.Type
func (GetStocksResultOutput) GatewayClass ¶
func (o GetStocksResultOutput) GatewayClass() pulumi.StringPtrOutput
func (GetStocksResultOutput) Id ¶
func (o GetStocksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetStocksResultOutput) OutputFile ¶
func (o GetStocksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetStocksResultOutput) Stocks ¶
func (o GetStocksResultOutput) Stocks() GetStocksStockArrayOutput
func (GetStocksResultOutput) ToGetStocksResultOutput ¶
func (o GetStocksResultOutput) ToGetStocksResultOutput() GetStocksResultOutput
func (GetStocksResultOutput) ToGetStocksResultOutputWithContext ¶
func (o GetStocksResultOutput) ToGetStocksResultOutputWithContext(ctx context.Context) GetStocksResultOutput
type GetStocksStock ¶
type GetStocksStockArgs ¶
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 ¶
func (GetStocksStockArgs) ElementType() reflect.Type
func (GetStocksStockArgs) ToGetStocksStockOutput ¶
func (i GetStocksStockArgs) ToGetStocksStockOutput() GetStocksStockOutput
func (GetStocksStockArgs) ToGetStocksStockOutputWithContext ¶
func (i GetStocksStockArgs) ToGetStocksStockOutputWithContext(ctx context.Context) GetStocksStockOutput
type GetStocksStockArray ¶
type GetStocksStockArray []GetStocksStockInput
func (GetStocksStockArray) ElementType ¶
func (GetStocksStockArray) ElementType() reflect.Type
func (GetStocksStockArray) ToGetStocksStockArrayOutput ¶
func (i GetStocksStockArray) ToGetStocksStockArrayOutput() GetStocksStockArrayOutput
func (GetStocksStockArray) ToGetStocksStockArrayOutputWithContext ¶
func (i GetStocksStockArray) ToGetStocksStockArrayOutputWithContext(ctx context.Context) GetStocksStockArrayOutput
type GetStocksStockArrayInput ¶
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 ¶
type GetStocksStockArrayOutput struct{ *pulumi.OutputState }
func (GetStocksStockArrayOutput) ElementType ¶
func (GetStocksStockArrayOutput) ElementType() reflect.Type
func (GetStocksStockArrayOutput) Index ¶
func (o GetStocksStockArrayOutput) Index(i pulumi.IntInput) GetStocksStockOutput
func (GetStocksStockArrayOutput) ToGetStocksStockArrayOutput ¶
func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutput() GetStocksStockArrayOutput
func (GetStocksStockArrayOutput) ToGetStocksStockArrayOutputWithContext ¶
func (o GetStocksStockArrayOutput) ToGetStocksStockArrayOutputWithContext(ctx context.Context) GetStocksStockArrayOutput
type GetStocksStockInput ¶
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 ¶
type GetStocksStockOutput struct{ *pulumi.OutputState }
func (GetStocksStockOutput) AvailableGatewayClasses ¶
func (o GetStocksStockOutput) AvailableGatewayClasses() pulumi.StringArrayOutput
A list of available gateway class in this Zone ID.
func (GetStocksStockOutput) ElementType ¶
func (GetStocksStockOutput) ElementType() reflect.Type
func (GetStocksStockOutput) ToGetStocksStockOutput ¶
func (o GetStocksStockOutput) ToGetStocksStockOutput() GetStocksStockOutput
func (GetStocksStockOutput) ToGetStocksStockOutputWithContext ¶
func (o GetStocksStockOutput) ToGetStocksStockOutputWithContext(ctx context.Context) GetStocksStockOutput
func (GetStocksStockOutput) ZoneId ¶
func (o GetStocksStockOutput) ZoneId() pulumi.StringOutput
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 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) ElementType() reflect.Type
func (GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutput ¶
func (i GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutputWithContext ¶
func (i GetStorageBundlesBundleArgs) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
type GetStorageBundlesBundleArray ¶
type GetStorageBundlesBundleArray []GetStorageBundlesBundleInput
func (GetStorageBundlesBundleArray) ElementType ¶
func (GetStorageBundlesBundleArray) ElementType() reflect.Type
func (GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput ¶
func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
func (GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext ¶
func (i GetStorageBundlesBundleArray) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
type GetStorageBundlesBundleArrayInput ¶
type GetStorageBundlesBundleArrayInput interface { pulumi.Input ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput ToGetStorageBundlesBundleArrayOutputWithContext(context.Context) GetStorageBundlesBundleArrayOutput }
GetStorageBundlesBundleArrayInput is an input type that accepts GetStorageBundlesBundleArray and GetStorageBundlesBundleArrayOutput values. You can construct a concrete instance of `GetStorageBundlesBundleArrayInput` via:
GetStorageBundlesBundleArray{ GetStorageBundlesBundleArgs{...} }
type GetStorageBundlesBundleArrayOutput ¶
type GetStorageBundlesBundleArrayOutput struct{ *pulumi.OutputState }
func (GetStorageBundlesBundleArrayOutput) ElementType ¶
func (GetStorageBundlesBundleArrayOutput) ElementType() reflect.Type
func (GetStorageBundlesBundleArrayOutput) Index ¶
func (o GetStorageBundlesBundleArrayOutput) Index(i pulumi.IntInput) GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput ¶
func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutput() GetStorageBundlesBundleArrayOutput
func (GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext ¶
func (o GetStorageBundlesBundleArrayOutput) ToGetStorageBundlesBundleArrayOutputWithContext(ctx context.Context) GetStorageBundlesBundleArrayOutput
type GetStorageBundlesBundleInput ¶
type GetStorageBundlesBundleInput interface { pulumi.Input ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput ToGetStorageBundlesBundleOutputWithContext(context.Context) GetStorageBundlesBundleOutput }
GetStorageBundlesBundleInput is an input type that accepts GetStorageBundlesBundleArgs and GetStorageBundlesBundleOutput values. You can construct a concrete instance of `GetStorageBundlesBundleInput` via:
GetStorageBundlesBundleArgs{...}
type GetStorageBundlesBundleOutput ¶
type GetStorageBundlesBundleOutput struct{ *pulumi.OutputState }
func (GetStorageBundlesBundleOutput) CreateTime ¶
func (o GetStorageBundlesBundleOutput) CreateTime() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) Description ¶
func (o GetStorageBundlesBundleOutput) Description() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) ElementType ¶
func (GetStorageBundlesBundleOutput) ElementType() reflect.Type
func (GetStorageBundlesBundleOutput) Id ¶
func (o GetStorageBundlesBundleOutput) Id() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) Location ¶
func (o GetStorageBundlesBundleOutput) Location() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) StorageBundleId ¶
func (o GetStorageBundlesBundleOutput) StorageBundleId() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) StorageBundleName ¶
func (o GetStorageBundlesBundleOutput) StorageBundleName() pulumi.StringOutput
func (GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput ¶
func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutput() GetStorageBundlesBundleOutput
func (GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext ¶
func (o GetStorageBundlesBundleOutput) ToGetStorageBundlesBundleOutputWithContext(ctx context.Context) GetStorageBundlesBundleOutput
type GetStorageBundlesOutputArgs ¶
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 ¶
func (GetStorageBundlesOutputArgs) ElementType() reflect.Type
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.
func GetStorageBundles ¶
func GetStorageBundles(ctx *pulumi.Context, args *GetStorageBundlesArgs, opts ...pulumi.InvokeOption) (*GetStorageBundlesResult, error)
type GetStorageBundlesResultOutput ¶
type GetStorageBundlesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getStorageBundles.
func GetStorageBundlesOutput ¶
func GetStorageBundlesOutput(ctx *pulumi.Context, args GetStorageBundlesOutputArgs, opts ...pulumi.InvokeOption) GetStorageBundlesResultOutput
func (GetStorageBundlesResultOutput) BackendBucketRegionId ¶
func (o GetStorageBundlesResultOutput) BackendBucketRegionId() pulumi.StringOutput
func (GetStorageBundlesResultOutput) Bundles ¶
func (o GetStorageBundlesResultOutput) Bundles() GetStorageBundlesBundleArrayOutput
func (GetStorageBundlesResultOutput) ElementType ¶
func (GetStorageBundlesResultOutput) ElementType() reflect.Type
func (GetStorageBundlesResultOutput) Id ¶
func (o GetStorageBundlesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetStorageBundlesResultOutput) Ids ¶
func (o GetStorageBundlesResultOutput) Ids() pulumi.StringArrayOutput
func (GetStorageBundlesResultOutput) NameRegex ¶
func (o GetStorageBundlesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetStorageBundlesResultOutput) Names ¶
func (o GetStorageBundlesResultOutput) Names() pulumi.StringArrayOutput
func (GetStorageBundlesResultOutput) OutputFile ¶
func (o GetStorageBundlesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetStorageBundlesResultOutput) PageNumber ¶
func (o GetStorageBundlesResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetStorageBundlesResultOutput) PageSize ¶
func (o GetStorageBundlesResultOutput) PageSize() pulumi.IntPtrOutput
func (GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutput ¶
func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutput() GetStorageBundlesResultOutput
func (GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutputWithContext ¶
func (o GetStorageBundlesResultOutput) ToGetStorageBundlesResultOutputWithContext(ctx context.Context) GetStorageBundlesResultOutput
func (GetStorageBundlesResultOutput) TotalCount ¶
func (o GetStorageBundlesResultOutput) TotalCount() pulumi.IntOutput
type StorageBundle ¶
type StorageBundle struct { pulumi.CustomResourceState // The description of storage bundle. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of storage bundle. StorageBundleName pulumi.StringOutput `pulumi:"storageBundleName"` }
Provides a Cloud Storage Gateway Storage Bundle resource.
For information about Cloud Storage Gateway Storage Bundle and how to use it, see [What is Storage Bundle](https://www.alibabacloud.com/help/en/doc-detail/53972.htm).
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cloudstoragegateway"
)
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 (o StorageBundleArrayOutput) Index(i pulumi.IntInput) StorageBundleOutput
func (StorageBundleArrayOutput) ToStorageBundleArrayOutput ¶
func (o StorageBundleArrayOutput) ToStorageBundleArrayOutput() StorageBundleArrayOutput
func (StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext ¶
func (o StorageBundleArrayOutput) ToStorageBundleArrayOutputWithContext(ctx context.Context) StorageBundleArrayOutput
type StorageBundleInput ¶
type StorageBundleInput interface { pulumi.Input ToStorageBundleOutput() StorageBundleOutput ToStorageBundleOutputWithContext(ctx context.Context) StorageBundleOutput }
type StorageBundleMap ¶
type StorageBundleMap map[string]StorageBundleInput
func (StorageBundleMap) ElementType ¶
func (StorageBundleMap) ElementType() reflect.Type
func (StorageBundleMap) ToStorageBundleMapOutput ¶
func (i StorageBundleMap) ToStorageBundleMapOutput() StorageBundleMapOutput
func (StorageBundleMap) ToStorageBundleMapOutputWithContext ¶
func (i StorageBundleMap) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
type StorageBundleMapInput ¶
type StorageBundleMapInput interface { pulumi.Input ToStorageBundleMapOutput() StorageBundleMapOutput ToStorageBundleMapOutputWithContext(context.Context) StorageBundleMapOutput }
StorageBundleMapInput is an input type that accepts StorageBundleMap and StorageBundleMapOutput values. You can construct a concrete instance of `StorageBundleMapInput` via:
StorageBundleMap{ "key": StorageBundleArgs{...} }
type StorageBundleMapOutput ¶
type StorageBundleMapOutput struct{ *pulumi.OutputState }
func (StorageBundleMapOutput) ElementType ¶
func (StorageBundleMapOutput) ElementType() reflect.Type
func (StorageBundleMapOutput) MapIndex ¶
func (o StorageBundleMapOutput) MapIndex(k pulumi.StringInput) StorageBundleOutput
func (StorageBundleMapOutput) ToStorageBundleMapOutput ¶
func (o StorageBundleMapOutput) ToStorageBundleMapOutput() StorageBundleMapOutput
func (StorageBundleMapOutput) ToStorageBundleMapOutputWithContext ¶
func (o StorageBundleMapOutput) ToStorageBundleMapOutputWithContext(ctx context.Context) StorageBundleMapOutput
type StorageBundleOutput ¶
type StorageBundleOutput struct{ *pulumi.OutputState }
func (StorageBundleOutput) Description ¶
func (o StorageBundleOutput) Description() pulumi.StringPtrOutput
The description of storage bundle.
func (StorageBundleOutput) ElementType ¶
func (StorageBundleOutput) ElementType() reflect.Type
func (StorageBundleOutput) StorageBundleName ¶
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
Source Files ¶
- expressSync.go
- expressSyncShareAttachment.go
- gateway.go
- gatewayBlockVolume.go
- gatewayCacheDisk.go
- gatewayFileShare.go
- gatewayLogging.go
- gatewaySmbUser.go
- getExpressSyncs.go
- getGatewayBlockVolumes.go
- getGatewayCacheDisks.go
- getGatewayFileShares.go
- getGatewaySmbUsers.go
- getGateways.go
- getService.go
- getStocks.go
- getStorageBundles.go
- init.go
- pulumiTypes.go
- pulumiUtilities.go
- storageBundle.go