ArmNetAppModelFactory.NetAppBucketData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NetAppBucketData.
public static Azure.ResourceManager.NetApp.NetAppBucketData NetAppBucketData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string path = default, Azure.ResourceManager.NetApp.Models.NetAppBucketFileSystemUser fileSystemUser = default, Azure.ResourceManager.NetApp.Models.NetAppProvisioningState? provisioningState = default, Azure.ResourceManager.NetApp.Models.NetAppBucketCredentialStatus? status = default, Azure.ResourceManager.NetApp.Models.NetAppBucketServerProperties server = default, Azure.ResourceManager.NetApp.Models.NetAppBucketPermission? permissions = default);
static member NetAppBucketData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.NetApp.Models.NetAppBucketFileSystemUser * Nullable<Azure.ResourceManager.NetApp.Models.NetAppProvisioningState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppBucketCredentialStatus> * Azure.ResourceManager.NetApp.Models.NetAppBucketServerProperties * Nullable<Azure.ResourceManager.NetApp.Models.NetAppBucketPermission> -> Azure.ResourceManager.NetApp.NetAppBucketData
Public Shared Function NetAppBucketData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional path As String = Nothing, Optional fileSystemUser As NetAppBucketFileSystemUser = Nothing, Optional provisioningState As Nullable(Of NetAppProvisioningState) = Nothing, Optional status As Nullable(Of NetAppBucketCredentialStatus) = Nothing, Optional server As NetAppBucketServerProperties = Nothing, Optional permissions As Nullable(Of NetAppBucketPermission) = Nothing) As NetAppBucketData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- path
- String
The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created.
- fileSystemUser
- NetAppBucketFileSystemUser
File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both.
- provisioningState
- Nullable<NetAppProvisioningState>
Provisioning state of the resource.
- status
- Nullable<NetAppBucketCredentialStatus>
The bucket credentials status. There states:
"NoCredentialsSet": Access and Secret key pair have not been generated. "CredentialsExpired": Access and Secret key pair have expired. "Active": The certificate has been installed and credentials are unexpired.
- server
- NetAppBucketServerProperties
Properties of the server managing the lifecycle of volume buckets.
- permissions
- Nullable<NetAppBucketPermission>
Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is ReadOnly if no value is provided during bucket creation.
Returns
A new NetAppBucketData instance for mocking.