alicloud.cloudstoragegateway.GatewayFileShare
Explore with Pulumi AI
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.
NOTE: Available since v1.144.0.
Create GatewayFileShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayFileShare(name: string, args: GatewayFileShareArgs, opts?: CustomResourceOptions);
@overload
def GatewayFileShare(resource_name: str,
args: GatewayFileShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayFileShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_file_share_name: Optional[str] = None,
protocol: Optional[str] = None,
oss_endpoint: Optional[str] = None,
oss_bucket_name: Optional[str] = None,
local_path: Optional[str] = None,
gateway_id: Optional[str] = None,
fe_limit: Optional[int] = None,
partial_sync_paths: Optional[str] = None,
access_based_enumeration: Optional[bool] = None,
download_limit: Optional[int] = None,
direct_io: Optional[bool] = None,
ignore_delete: Optional[bool] = None,
in_place: Optional[bool] = None,
lag_period: Optional[int] = None,
cache_mode: Optional[str] = None,
nfs_v4_optimization: Optional[bool] = None,
bypass_cache_read: Optional[bool] = None,
oss_bucket_ssl: Optional[bool] = None,
browsable: Optional[bool] = None,
fast_reclaim: Optional[bool] = None,
path_prefix: Optional[str] = None,
polling_interval: Optional[int] = None,
backend_limit: Optional[int] = None,
remote_sync: Optional[bool] = None,
remote_sync_download: Optional[bool] = None,
ro_client_list: Optional[str] = None,
ro_user_list: Optional[str] = None,
rw_client_list: Optional[str] = None,
rw_user_list: Optional[str] = None,
squash: Optional[str] = None,
support_archive: Optional[bool] = None,
transfer_acceleration: Optional[bool] = None,
windows_acl: Optional[bool] = None)
func NewGatewayFileShare(ctx *Context, name string, args GatewayFileShareArgs, opts ...ResourceOption) (*GatewayFileShare, error)
public GatewayFileShare(string name, GatewayFileShareArgs args, CustomResourceOptions? opts = null)
public GatewayFileShare(String name, GatewayFileShareArgs args)
public GatewayFileShare(String name, GatewayFileShareArgs args, CustomResourceOptions options)
type: alicloud:cloudstoragegateway:GatewayFileShare
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayFileShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayFileShareArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayFileShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayFileShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayFileShareArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayFileShareResource = new AliCloud.CloudStorageGateway.GatewayFileShare("gatewayFileShareResource", new()
{
GatewayFileShareName = "string",
Protocol = "string",
OssEndpoint = "string",
OssBucketName = "string",
LocalPath = "string",
GatewayId = "string",
FeLimit = 0,
PartialSyncPaths = "string",
AccessBasedEnumeration = false,
DownloadLimit = 0,
DirectIo = false,
IgnoreDelete = false,
InPlace = false,
LagPeriod = 0,
CacheMode = "string",
NfsV4Optimization = false,
BypassCacheRead = false,
OssBucketSsl = false,
Browsable = false,
FastReclaim = false,
PathPrefix = "string",
PollingInterval = 0,
BackendLimit = 0,
RemoteSync = false,
RemoteSyncDownload = false,
RoClientList = "string",
RoUserList = "string",
RwClientList = "string",
RwUserList = "string",
Squash = "string",
SupportArchive = false,
TransferAcceleration = false,
WindowsAcl = false,
});
example, err := cloudstoragegateway.NewGatewayFileShare(ctx, "gatewayFileShareResource", &cloudstoragegateway.GatewayFileShareArgs{
GatewayFileShareName: pulumi.String("string"),
Protocol: pulumi.String("string"),
OssEndpoint: pulumi.String("string"),
OssBucketName: pulumi.String("string"),
LocalPath: pulumi.String("string"),
GatewayId: pulumi.String("string"),
FeLimit: pulumi.Int(0),
PartialSyncPaths: pulumi.String("string"),
AccessBasedEnumeration: pulumi.Bool(false),
DownloadLimit: pulumi.Int(0),
DirectIo: pulumi.Bool(false),
IgnoreDelete: pulumi.Bool(false),
InPlace: pulumi.Bool(false),
LagPeriod: pulumi.Int(0),
CacheMode: pulumi.String("string"),
NfsV4Optimization: pulumi.Bool(false),
BypassCacheRead: pulumi.Bool(false),
OssBucketSsl: pulumi.Bool(false),
Browsable: pulumi.Bool(false),
FastReclaim: pulumi.Bool(false),
PathPrefix: pulumi.String("string"),
PollingInterval: pulumi.Int(0),
BackendLimit: pulumi.Int(0),
RemoteSync: pulumi.Bool(false),
RemoteSyncDownload: pulumi.Bool(false),
RoClientList: pulumi.String("string"),
RoUserList: pulumi.String("string"),
RwClientList: pulumi.String("string"),
RwUserList: pulumi.String("string"),
Squash: pulumi.String("string"),
SupportArchive: pulumi.Bool(false),
TransferAcceleration: pulumi.Bool(false),
WindowsAcl: pulumi.Bool(false),
})
var gatewayFileShareResource = new GatewayFileShare("gatewayFileShareResource", GatewayFileShareArgs.builder()
.gatewayFileShareName("string")
.protocol("string")
.ossEndpoint("string")
.ossBucketName("string")
.localPath("string")
.gatewayId("string")
.feLimit(0)
.partialSyncPaths("string")
.accessBasedEnumeration(false)
.downloadLimit(0)
.directIo(false)
.ignoreDelete(false)
.inPlace(false)
.lagPeriod(0)
.cacheMode("string")
.nfsV4Optimization(false)
.bypassCacheRead(false)
.ossBucketSsl(false)
.browsable(false)
.fastReclaim(false)
.pathPrefix("string")
.pollingInterval(0)
.backendLimit(0)
.remoteSync(false)
.remoteSyncDownload(false)
.roClientList("string")
.roUserList("string")
.rwClientList("string")
.rwUserList("string")
.squash("string")
.supportArchive(false)
.transferAcceleration(false)
.windowsAcl(false)
.build());
gateway_file_share_resource = alicloud.cloudstoragegateway.GatewayFileShare("gatewayFileShareResource",
gateway_file_share_name="string",
protocol="string",
oss_endpoint="string",
oss_bucket_name="string",
local_path="string",
gateway_id="string",
fe_limit=0,
partial_sync_paths="string",
access_based_enumeration=False,
download_limit=0,
direct_io=False,
ignore_delete=False,
in_place=False,
lag_period=0,
cache_mode="string",
nfs_v4_optimization=False,
bypass_cache_read=False,
oss_bucket_ssl=False,
browsable=False,
fast_reclaim=False,
path_prefix="string",
polling_interval=0,
backend_limit=0,
remote_sync=False,
remote_sync_download=False,
ro_client_list="string",
ro_user_list="string",
rw_client_list="string",
rw_user_list="string",
squash="string",
support_archive=False,
transfer_acceleration=False,
windows_acl=False)
const gatewayFileShareResource = new alicloud.cloudstoragegateway.GatewayFileShare("gatewayFileShareResource", {
gatewayFileShareName: "string",
protocol: "string",
ossEndpoint: "string",
ossBucketName: "string",
localPath: "string",
gatewayId: "string",
feLimit: 0,
partialSyncPaths: "string",
accessBasedEnumeration: false,
downloadLimit: 0,
directIo: false,
ignoreDelete: false,
inPlace: false,
lagPeriod: 0,
cacheMode: "string",
nfsV4Optimization: false,
bypassCacheRead: false,
ossBucketSsl: false,
browsable: false,
fastReclaim: false,
pathPrefix: "string",
pollingInterval: 0,
backendLimit: 0,
remoteSync: false,
remoteSyncDownload: false,
roClientList: "string",
roUserList: "string",
rwClientList: "string",
rwUserList: "string",
squash: "string",
supportArchive: false,
transferAcceleration: false,
windowsAcl: false,
});
type: alicloud:cloudstoragegateway:GatewayFileShare
properties:
accessBasedEnumeration: false
backendLimit: 0
browsable: false
bypassCacheRead: false
cacheMode: string
directIo: false
downloadLimit: 0
fastReclaim: false
feLimit: 0
gatewayFileShareName: string
gatewayId: string
ignoreDelete: false
inPlace: false
lagPeriod: 0
localPath: string
nfsV4Optimization: false
ossBucketName: string
ossBucketSsl: false
ossEndpoint: string
partialSyncPaths: string
pathPrefix: string
pollingInterval: 0
protocol: string
remoteSync: false
remoteSyncDownload: false
roClientList: string
roUserList: string
rwClientList: string
rwUserList: string
squash: string
supportArchive: false
transferAcceleration: false
windowsAcl: false
GatewayFileShare Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayFileShare resource accepts the following input properties:
- string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - Gateway
Id string - The ID of the gateway.
- Local
Path string - The cache disk inside the device name.
- Oss
Bucket stringName - The name of the OSS Bucket.
- Oss
Endpoint string - 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
. - Protocol string
- Share types. Valid values:
SMB
,NFS
. - Access
Based boolEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - Backend
Limit int - 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. - Browsable bool
- 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
isSMB
. Default value:true
. - Bypass
Cache boolRead - Direct reading OSS of the gateway file share.
- Cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - Direct
Io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - Download
Limit int - 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. - Fast
Reclaim bool - 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. - Fe
Limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - Ignore
Delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - In
Place bool - The whether debris optimization of the gateway file share. Default value:
false
. - Lag
Period int - 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. - Nfs
V4Optimization bool - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - Oss
Bucket boolSsl - Whether they are using SSL connect to OSS Bucket.
- Partial
Sync stringPaths - In part mode, the directory path group JSON format.
- Path
Prefix string - 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.
- Polling
Interval int - 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
. - Remote
Sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - Remote
Sync boolDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - Ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- Ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- Rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- Rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- Squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - Support
Archive bool - Whether to support the archive transparent read.
- Transfer
Acceleration bool - 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.
- Windows
Acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - Gateway
Id string - The ID of the gateway.
- Local
Path string - The cache disk inside the device name.
- Oss
Bucket stringName - The name of the OSS Bucket.
- Oss
Endpoint string - 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
. - Protocol string
- Share types. Valid values:
SMB
,NFS
. - Access
Based boolEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - Backend
Limit int - 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. - Browsable bool
- 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
isSMB
. Default value:true
. - Bypass
Cache boolRead - Direct reading OSS of the gateway file share.
- Cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - Direct
Io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - Download
Limit int - 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. - Fast
Reclaim bool - 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. - Fe
Limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - Ignore
Delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - In
Place bool - The whether debris optimization of the gateway file share. Default value:
false
. - Lag
Period int - 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. - Nfs
V4Optimization bool - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - Oss
Bucket boolSsl - Whether they are using SSL connect to OSS Bucket.
- Partial
Sync stringPaths - In part mode, the directory path group JSON format.
- Path
Prefix string - 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.
- Polling
Interval int - 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
. - Remote
Sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - Remote
Sync boolDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - Ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- Ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- Rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- Rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- Squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - Support
Archive bool - Whether to support the archive transparent read.
- Transfer
Acceleration bool - 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.
- Windows
Acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- String
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id String - The ID of the gateway.
- local
Path String - The cache disk inside the device name.
- oss
Bucket StringName - The name of the OSS Bucket.
- oss
Endpoint String - 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
. - protocol String
- Share types. Valid values:
SMB
,NFS
. - access
Based BooleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit Integer - 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. - browsable Boolean
- 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
isSMB
. Default value:true
. - bypass
Cache BooleanRead - Direct reading OSS of the gateway file share.
- cache
Mode String - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io Boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit Integer - 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. - fast
Reclaim Boolean - 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. - fe
Limit Integer - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - ignore
Delete Boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place Boolean - The whether debris optimization of the gateway file share. Default value:
false
. - lag
Period Integer - 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. - nfs
V4Optimization Boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket BooleanSsl - Whether they are using SSL connect to OSS Bucket.
- partial
Sync StringPaths - In part mode, the directory path group JSON format.
- path
Prefix String - 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.
- polling
Interval Integer - 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
. - remote
Sync Boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync BooleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client StringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User StringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client StringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User StringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash String
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive Boolean - Whether to support the archive transparent read.
- transfer
Acceleration Boolean - 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.
- windows
Acl Boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id string - The ID of the gateway.
- local
Path string - The cache disk inside the device name.
- oss
Bucket stringName - The name of the OSS Bucket.
- oss
Endpoint string - 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
. - protocol string
- Share types. Valid values:
SMB
,NFS
. - access
Based booleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit number - 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. - browsable boolean
- 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
isSMB
. Default value:true
. - bypass
Cache booleanRead - Direct reading OSS of the gateway file share.
- cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit number - 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. - fast
Reclaim boolean - 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. - fe
Limit number - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - ignore
Delete boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place boolean - The whether debris optimization of the gateway file share. Default value:
false
. - lag
Period number - 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. - nfs
V4Optimization boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket booleanSsl - Whether they are using SSL connect to OSS Bucket.
- partial
Sync stringPaths - In part mode, the directory path group JSON format.
- path
Prefix string - 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.
- polling
Interval number - 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
. - remote
Sync boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync booleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive boolean - Whether to support the archive transparent read.
- transfer
Acceleration boolean - 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.
- windows
Acl boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- str
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway_
id str - The ID of the gateway.
- local_
path str - The cache disk inside the device name.
- oss_
bucket_ strname - The name of the OSS Bucket.
- oss_
endpoint str - 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
. - protocol str
- Share types. Valid values:
SMB
,NFS
. - access_
based_ boolenumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend_
limit int - 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. - browsable bool
- 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
isSMB
. Default value:true
. - bypass_
cache_ boolread - Direct reading OSS of the gateway file share.
- cache_
mode str - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct_
io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download_
limit int - 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. - fast_
reclaim bool - 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. - fe_
limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - ignore_
delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in_
place bool - The whether debris optimization of the gateway file share. Default value:
false
. - lag_
period int - 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. - nfs_
v4_ booloptimization - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss_
bucket_ boolssl - Whether they are using SSL connect to OSS Bucket.
- partial_
sync_ strpaths - In part mode, the directory path group JSON format.
- path_
prefix str - 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.
- polling_
interval int - 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
. - remote_
sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote_
sync_ booldownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro_
client_ strlist - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro_
user_ strlist - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw_
client_ strlist - Read and write the client list. When Protocol NFS is returned when the status is.
- rw_
user_ strlist - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash str
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support_
archive bool - Whether to support the archive transparent read.
- transfer_
acceleration bool - 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.
- windows_
acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- String
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id String - The ID of the gateway.
- local
Path String - The cache disk inside the device name.
- oss
Bucket StringName - The name of the OSS Bucket.
- oss
Endpoint String - 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
. - protocol String
- Share types. Valid values:
SMB
,NFS
. - access
Based BooleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit Number - 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. - browsable Boolean
- 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
isSMB
. Default value:true
. - bypass
Cache BooleanRead - Direct reading OSS of the gateway file share.
- cache
Mode String - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io Boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit Number - 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. - fast
Reclaim Boolean - 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. - fe
Limit Number - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - ignore
Delete Boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place Boolean - The whether debris optimization of the gateway file share. Default value:
false
. - lag
Period Number - 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. - nfs
V4Optimization Boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket BooleanSsl - Whether they are using SSL connect to OSS Bucket.
- partial
Sync StringPaths - In part mode, the directory path group JSON format.
- path
Prefix String - 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.
- polling
Interval Number - 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
. - remote
Sync Boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync BooleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client StringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User StringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client StringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User StringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash String
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive Boolean - Whether to support the archive transparent read.
- transfer
Acceleration Boolean - 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.
- windows
Acl Boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayFileShare resource produces the following output properties:
Look up Existing GatewayFileShare Resource
Get an existing GatewayFileShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayFileShareState, opts?: CustomResourceOptions): GatewayFileShare
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_based_enumeration: Optional[bool] = None,
backend_limit: Optional[int] = None,
browsable: Optional[bool] = None,
bypass_cache_read: Optional[bool] = None,
cache_mode: Optional[str] = None,
direct_io: Optional[bool] = None,
download_limit: Optional[int] = None,
fast_reclaim: Optional[bool] = None,
fe_limit: Optional[int] = None,
gateway_file_share_name: Optional[str] = None,
gateway_id: Optional[str] = None,
ignore_delete: Optional[bool] = None,
in_place: Optional[bool] = None,
index_id: Optional[str] = None,
lag_period: Optional[int] = None,
local_path: Optional[str] = None,
nfs_v4_optimization: Optional[bool] = None,
oss_bucket_name: Optional[str] = None,
oss_bucket_ssl: Optional[bool] = None,
oss_endpoint: Optional[str] = None,
partial_sync_paths: Optional[str] = None,
path_prefix: Optional[str] = None,
polling_interval: Optional[int] = None,
protocol: Optional[str] = None,
remote_sync: Optional[bool] = None,
remote_sync_download: Optional[bool] = None,
ro_client_list: Optional[str] = None,
ro_user_list: Optional[str] = None,
rw_client_list: Optional[str] = None,
rw_user_list: Optional[str] = None,
squash: Optional[str] = None,
support_archive: Optional[bool] = None,
transfer_acceleration: Optional[bool] = None,
windows_acl: Optional[bool] = None) -> GatewayFileShare
func GetGatewayFileShare(ctx *Context, name string, id IDInput, state *GatewayFileShareState, opts ...ResourceOption) (*GatewayFileShare, error)
public static GatewayFileShare Get(string name, Input<string> id, GatewayFileShareState? state, CustomResourceOptions? opts = null)
public static GatewayFileShare get(String name, Output<String> id, GatewayFileShareState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Based boolEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - Backend
Limit int - 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. - Browsable bool
- 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
isSMB
. Default value:true
. - Bypass
Cache boolRead - Direct reading OSS of the gateway file share.
- Cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - Direct
Io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - Download
Limit int - 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. - Fast
Reclaim bool - 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. - Fe
Limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - Gateway
Id string - The ID of the gateway.
- Ignore
Delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - In
Place bool - The whether debris optimization of the gateway file share. Default value:
false
. - Index
Id string - The ID of the file share.
- Lag
Period int - 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. - Local
Path string - The cache disk inside the device name.
- Nfs
V4Optimization bool - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - Oss
Bucket stringName - The name of the OSS Bucket.
- Oss
Bucket boolSsl - Whether they are using SSL connect to OSS Bucket.
- Oss
Endpoint string - 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
. - Partial
Sync stringPaths - In part mode, the directory path group JSON format.
- Path
Prefix string - 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.
- Polling
Interval int - 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
. - Protocol string
- Share types. Valid values:
SMB
,NFS
. - Remote
Sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - Remote
Sync boolDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - Ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- Ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- Rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- Rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- Squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - Support
Archive bool - Whether to support the archive transparent read.
- Transfer
Acceleration bool - 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.
- Windows
Acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- Access
Based boolEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - Backend
Limit int - 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. - Browsable bool
- 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
isSMB
. Default value:true
. - Bypass
Cache boolRead - Direct reading OSS of the gateway file share.
- Cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - Direct
Io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - Download
Limit int - 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. - Fast
Reclaim bool - 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. - Fe
Limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - Gateway
Id string - The ID of the gateway.
- Ignore
Delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - In
Place bool - The whether debris optimization of the gateway file share. Default value:
false
. - Index
Id string - The ID of the file share.
- Lag
Period int - 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. - Local
Path string - The cache disk inside the device name.
- Nfs
V4Optimization bool - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - Oss
Bucket stringName - The name of the OSS Bucket.
- Oss
Bucket boolSsl - Whether they are using SSL connect to OSS Bucket.
- Oss
Endpoint string - 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
. - Partial
Sync stringPaths - In part mode, the directory path group JSON format.
- Path
Prefix string - 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.
- Polling
Interval int - 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
. - Protocol string
- Share types. Valid values:
SMB
,NFS
. - Remote
Sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - Remote
Sync boolDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - Ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- Ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- Rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- Rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- Squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - Support
Archive bool - Whether to support the archive transparent read.
- Transfer
Acceleration bool - 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.
- Windows
Acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- access
Based BooleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit Integer - 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. - browsable Boolean
- 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
isSMB
. Default value:true
. - bypass
Cache BooleanRead - Direct reading OSS of the gateway file share.
- cache
Mode String - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io Boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit Integer - 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. - fast
Reclaim Boolean - 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. - fe
Limit Integer - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - String
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id String - The ID of the gateway.
- ignore
Delete Boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place Boolean - The whether debris optimization of the gateway file share. Default value:
false
. - index
Id String - The ID of the file share.
- lag
Period Integer - 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. - local
Path String - The cache disk inside the device name.
- nfs
V4Optimization Boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket StringName - The name of the OSS Bucket.
- oss
Bucket BooleanSsl - Whether they are using SSL connect to OSS Bucket.
- oss
Endpoint String - 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
. - partial
Sync StringPaths - In part mode, the directory path group JSON format.
- path
Prefix String - 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.
- polling
Interval Integer - 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
. - protocol String
- Share types. Valid values:
SMB
,NFS
. - remote
Sync Boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync BooleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client StringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User StringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client StringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User StringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash String
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive Boolean - Whether to support the archive transparent read.
- transfer
Acceleration Boolean - 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.
- windows
Acl Boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- access
Based booleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit number - 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. - browsable boolean
- 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
isSMB
. Default value:true
. - bypass
Cache booleanRead - Direct reading OSS of the gateway file share.
- cache
Mode string - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit number - 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. - fast
Reclaim boolean - 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. - fe
Limit number - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - string
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id string - The ID of the gateway.
- ignore
Delete boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place boolean - The whether debris optimization of the gateway file share. Default value:
false
. - index
Id string - The ID of the file share.
- lag
Period number - 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. - local
Path string - The cache disk inside the device name.
- nfs
V4Optimization boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket stringName - The name of the OSS Bucket.
- oss
Bucket booleanSsl - Whether they are using SSL connect to OSS Bucket.
- oss
Endpoint string - 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
. - partial
Sync stringPaths - In part mode, the directory path group JSON format.
- path
Prefix string - 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.
- polling
Interval number - 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
. - protocol string
- Share types. Valid values:
SMB
,NFS
. - remote
Sync boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync booleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client stringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User stringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client stringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User stringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash string
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive boolean - Whether to support the archive transparent read.
- transfer
Acceleration boolean - 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.
- windows
Acl boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- access_
based_ boolenumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend_
limit int - 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. - browsable bool
- 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
isSMB
. Default value:true
. - bypass_
cache_ boolread - Direct reading OSS of the gateway file share.
- cache_
mode str - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct_
io bool - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download_
limit int - 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. - fast_
reclaim bool - 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. - fe_
limit int - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - str
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway_
id str - The ID of the gateway.
- ignore_
delete bool - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in_
place bool - The whether debris optimization of the gateway file share. Default value:
false
. - index_
id str - The ID of the file share.
- lag_
period int - 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. - local_
path str - The cache disk inside the device name.
- nfs_
v4_ booloptimization - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss_
bucket_ strname - The name of the OSS Bucket.
- oss_
bucket_ boolssl - Whether they are using SSL connect to OSS Bucket.
- oss_
endpoint str - 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
. - partial_
sync_ strpaths - In part mode, the directory path group JSON format.
- path_
prefix str - 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.
- polling_
interval int - 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
. - protocol str
- Share types. Valid values:
SMB
,NFS
. - remote_
sync bool - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote_
sync_ booldownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro_
client_ strlist - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro_
user_ strlist - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw_
client_ strlist - Read and write the client list. When Protocol NFS is returned when the status is.
- rw_
user_ strlist - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash str
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support_
archive bool - Whether to support the archive transparent read.
- transfer_
acceleration bool - 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.
- windows_
acl bool - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
- access
Based BooleanEnumeration - 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 attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support. - backend
Limit Number - 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. - browsable Boolean
- 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
isSMB
. Default value:true
. - bypass
Cache BooleanRead - Direct reading OSS of the gateway file share.
- cache
Mode String - The set up gateway file share cache mode. Valid values:
Cache
orSync
.Cache
: cached mode.Sync
: replication mode are available. Default value:Cache
. - direct
Io Boolean - File sharing Whether to enable DirectIO (direct I/O mode for data transmission). Default value:
false
. - download
Limit Number - 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. - fast
Reclaim Boolean - 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. - fe
Limit Number - The maximum write speed of the gateway file share. Unit:
MB/s
,0
means unlimited. Value range:0
~1280
. Default value:0
. - String
- The name of the file share. Length from
1
to255
characters can contain lowercase letters, digits, (.), (_) Or (-), at the same time, must start with a lowercase letter. - gateway
Id String - The ID of the gateway.
- ignore
Delete Boolean - 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:ignore_delete
andremote_sync
cannot be enabled simultaneously. Gateway version >= 1.0.40 above support. - in
Place Boolean - The whether debris optimization of the gateway file share. Default value:
false
. - index
Id String - The ID of the file share.
- lag
Period Number - 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. - local
Path String - The cache disk inside the device name.
- nfs
V4Optimization Boolean - 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 attributeprotocol
isNFS
. Gateway version >= 1.2.0 above support. - oss
Bucket StringName - The name of the OSS Bucket.
- oss
Bucket BooleanSsl - Whether they are using SSL connect to OSS Bucket.
- oss
Endpoint String - 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
. - partial
Sync StringPaths - In part mode, the directory path group JSON format.
- path
Prefix String - 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.
- polling
Interval Number - 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
. - protocol String
- Share types. Valid values:
SMB
,NFS
. - remote
Sync Boolean - Whether to enable reverse synchronization of the gateway file share. Default value:
false
. - remote
Sync BooleanDownload - Copy mode, whether to download the file data. Default value:
false
. NOTE: only when the attributeremote_sync
istrue
or acceded to by the speed synchronization group, this parameter will not take effect. - ro
Client StringList - File sharing NFS read-only client list (IP address or IP address range). Use commas (,) to separate multiple clients.
- ro
User StringList - The read-only client list. When Protocol for Server Message Block (SMB) to go back to.
- rw
Client StringList - Read and write the client list. When Protocol NFS is returned when the status is.
- rw
User StringList - Read-write user list. When Protocol for Server Message Block (SMB) to go back to.
- squash String
- The NFS protocol user mapping of the gateway file share. Valid values:
none
,root_squash
,all_squash
,all_anonymous
. Default value:none
. NOTE: The attribute is valid when the attributeprotocol
isNFS
. - support
Archive Boolean - Whether to support the archive transparent read.
- transfer
Acceleration Boolean - 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.
- windows
Acl Boolean - Whether to enable by Windows access list (requires AD domain) the permissions control. Default value:
false
. NOTE: The attribute is valid when the attributeprotocol
isSMB
. Gateway version >= 1.0.45 above support.
Import
Cloud Storage Gateway Gateway File Share can be imported using the id, e.g.
$ pulumi import alicloud:cloudstoragegateway/gatewayFileShare:GatewayFileShare example <gateway_id>:<index_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.