共用方式為


ArmStorageCacheModelFactory.AmlFileSystemRootSquashSettings Method

Definition

Initializes a new instance of AmlFileSystemRootSquashSettings.

public static Azure.ResourceManager.StorageCache.Models.AmlFileSystemRootSquashSettings AmlFileSystemRootSquashSettings (Azure.ResourceManager.StorageCache.Models.AmlFileSystemSquashMode? mode = default, string noSquashNidLists = default, long? squashUID = default, long? squashGID = default, string status = default);
static member AmlFileSystemRootSquashSettings : Nullable<Azure.ResourceManager.StorageCache.Models.AmlFileSystemSquashMode> * string * Nullable<int64> * Nullable<int64> * string -> Azure.ResourceManager.StorageCache.Models.AmlFileSystemRootSquashSettings
Public Shared Function AmlFileSystemRootSquashSettings (Optional mode As Nullable(Of AmlFileSystemSquashMode) = Nothing, Optional noSquashNidLists As String = Nothing, Optional squashUID As Nullable(Of Long) = Nothing, Optional squashGID As Nullable(Of Long) = Nothing, Optional status As String = Nothing) As AmlFileSystemRootSquashSettings

Parameters

mode
Nullable<AmlFileSystemSquashMode>

Squash mode of the AML file system. 'All': User and Group IDs on files will be squashed to the provided values for all users on non-trusted systems. 'RootOnly': User and Group IDs on files will be squashed to provided values for solely the root user on non-trusted systems. 'None': No squashing of User and Group IDs is performed for any users on any systems.

noSquashNidLists
String

Semicolon separated NID IP Address list(s) to be added to the TrustedSystems.

squashUID
Nullable<Int64>

User ID to squash to.

squashGID
Nullable<Int64>

Group ID to squash to.

status
String

AML file system squash status.

Returns

A new AmlFileSystemRootSquashSettings instance for mocking.

Applies to