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.NetAppFileSystemUser fileSystemUser = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState? provisioningState = default, Azure.ResourceManager.NetApp.Models.NetAppCredentialsStatus? status = default, Azure.ResourceManager.NetApp.Models.NetAppBucketServerProperties server = default, Azure.ResourceManager.NetApp.Models.NetAppBucketPermission? permissions = default, Azure.ResourceManager.NetApp.Models.NetAppKeyVaultDetails keyVaultDetails = default);
static member NetAppBucketData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.NetApp.Models.NetAppFileSystemUser * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppCredentialsStatus> * Azure.ResourceManager.NetApp.Models.NetAppBucketServerProperties * Nullable<Azure.ResourceManager.NetApp.Models.NetAppBucketPermission> * Azure.ResourceManager.NetApp.Models.NetAppKeyVaultDetails -> 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 NetAppFileSystemUser = Nothing, Optional provisioningState As Nullable(Of NetAppVolumeQuotaRuleProvisioningState) = Nothing, Optional status As Nullable(Of NetAppCredentialsStatus) = Nothing, Optional server As NetAppBucketServerProperties = Nothing, Optional permissions As Nullable(Of NetAppBucketPermission) = Nothing, Optional keyVaultDetails As NetAppKeyVaultDetails = 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
- NetAppFileSystemUser
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<NetAppVolumeQuotaRuleProvisioningState>
Provisioning state of the resource.
- status
- Nullable<NetAppCredentialsStatus>
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.
- keyVaultDetails
- NetAppKeyVaultDetails
Specifies the Azure Key Vault settings. These are used when a) retrieving the bucket server certificate, and b) storing the bucket credentials
Notes:
- If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.
- These properties are mutually exclusive with the server.certificateObject property.
Returns
A new NetAppBucketData instance for mocking.