Condividi tramite


ArmNetAppModelFactory.NetAppBucketPatch Method

Definition

Initializes a new instance of NetAppBucketPatch.

public static Azure.ResourceManager.NetApp.Models.NetAppBucketPatch NetAppBucketPatch(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.NetApp.Models.NetAppFileSystemUser fileSystemUser = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState? provisioningState = default, Azure.ResourceManager.NetApp.Models.NetAppBucketServerPatchProperties server = default, Azure.ResourceManager.NetApp.Models.NetAppBucketPatchPermission? permissions = default, Azure.ResourceManager.NetApp.Models.NetAppKeyVaultDetails keyVaultDetails = default);
static member NetAppBucketPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.NetApp.Models.NetAppFileSystemUser * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState> * Azure.ResourceManager.NetApp.Models.NetAppBucketServerPatchProperties * Nullable<Azure.ResourceManager.NetApp.Models.NetAppBucketPatchPermission> * Azure.ResourceManager.NetApp.Models.NetAppKeyVaultDetails -> Azure.ResourceManager.NetApp.Models.NetAppBucketPatch
Public Shared Function NetAppBucketPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional fileSystemUser As NetAppFileSystemUser = Nothing, Optional provisioningState As Nullable(Of NetAppVolumeQuotaRuleProvisioningState) = Nothing, Optional server As NetAppBucketServerPatchProperties = Nothing, Optional permissions As Nullable(Of NetAppBucketPatchPermission) = Nothing, Optional keyVaultDetails As NetAppKeyVaultDetails = Nothing) As NetAppBucketPatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

server
NetAppBucketServerPatchProperties

Properties of the server managing the lifecycle of volume buckets.

permissions
Nullable<NetAppBucketPatchPermission>

Access permissions for the bucket. Either ReadOnly or ReadWrite.

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:

  1. 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.
  2. These properties are mutually exclusive with the server.certificateObject property.

Returns

A new NetAppBucketPatch instance for mocking.

Applies to