NasFunctions

Functions

Link copied to clipboard

This data source provides user-available access groups. Use when you can create mount points

suspend fun getAccessGroups(accessGroupName: String? = null, accessGroupType: String? = null, description: String? = null, fileSystemType: String? = null, nameRegex: String? = null, outputFile: String? = null, type: String? = null, useutcDateTime: Boolean? = null): GetAccessGroupsResult
Link copied to clipboard

This data source provides AccessRule available to the user.

suspend fun getAccessRules(accessGroupName: String, ids: List<String>? = null, outputFile: String? = null, rwAccess: String? = null, sourceCidrIp: String? = null, userAccess: String? = null): GetAccessRulesResult
Link copied to clipboard

This data source provides Auto Snapshot Policies available to the user.

suspend fun getAutoSnapshotPolicies(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: String? = null): GetAutoSnapshotPoliciesResult
Link copied to clipboard

This data source provides the Nas Data Flows of the current Alibaba Cloud user.

suspend fun getDataFlows(fileSystemId: String, ids: List<String>? = null, outputFile: String? = null, status: String? = null): GetDataFlowsResult
Link copied to clipboard

This data source provides the Nas Filesets of the current Alibaba Cloud user.

suspend fun getFilesets(argument: suspend GetFilesetsPlainArgsBuilder.() -> Unit): GetFilesetsResult
suspend fun getFilesets(fileSystemId: String, ids: List<String>? = null, outputFile: String? = null, status: String? = null): GetFilesetsResult
Link copied to clipboard

This data source provides FileSystems available to the user.

suspend fun getFileSystems(descriptionRegex: String? = null, ids: List<String>? = null, outputFile: String? = null, protocolType: String? = null, storageType: String? = null): GetFileSystemsResult
Link copied to clipboard

This data source provides the Nas Lifecycle Policies of the current Alibaba Cloud user.

suspend fun getLifecyclePolicies(fileSystemId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetLifecyclePoliciesResult
Link copied to clipboard

This data source provides MountTargets available to the user.

suspend fun getMountTargets(accessGroupName: String? = null, fileSystemId: String, ids: List<String>? = null, mountTargetDomain: String? = null, networkType: String? = null, outputFile: String? = null, status: String? = null, type: String? = null, vpcId: String? = null, vswitchId: String? = null): GetMountTargetsResult
Link copied to clipboard

Provide a data source to retrieve the type of protocol used to create NAS file system.

suspend fun getProtocols(outputFile: String? = null, type: String, zoneId: String? = null): GetProtocolsResult
Link copied to clipboard

Using this data source can enable NAS service automatically. If the service has been enabled, it will return Opened. For information about NAS and how to use it, see What is NAS.

suspend fun getService(enable: String? = null): GetServiceResult
suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
Link copied to clipboard

This data source provides the Nas Snapshots of the current Alibaba Cloud user.

suspend fun getSnapshots(fileSystemId: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, snapshotName: String? = null, status: String? = null): GetSnapshotsResult
Link copied to clipboard
suspend fun getZones(argument: GetZonesPlainArgs): GetZonesResult

Provide a data source to retrieve the type of zone used to create NAS file system.

suspend fun getZones(argument: suspend GetZonesPlainArgsBuilder.() -> Unit): GetZonesResult
suspend fun getZones(fileSystemType: String? = null, outputFile: String? = null): GetZonesResult