共用方式為


ArmRedisEnterpriseModelFactory.AccessPolicyAssignmentData Method

Definition

Initializes a new instance of AccessPolicyAssignmentData.

public static Azure.ResourceManager.RedisEnterprise.AccessPolicyAssignmentData AccessPolicyAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus? provisioningState = default, string accessPolicyName = default, Guid? userObjectId = default);
static member AccessPolicyAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.RedisEnterprise.Models.RedisEnterpriseProvisioningStatus> * string * Nullable<Guid> -> Azure.ResourceManager.RedisEnterprise.AccessPolicyAssignmentData
Public Shared Function AccessPolicyAssignmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of RedisEnterpriseProvisioningStatus) = Nothing, Optional accessPolicyName As String = Nothing, Optional userObjectId As Nullable(Of Guid) = Nothing) As AccessPolicyAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<RedisEnterpriseProvisioningStatus>

Current provisioning status of the access policy assignment.

accessPolicyName
String

Name of access policy under specific access policy assignment. Only "default" policy is supported for now.

userObjectId
Nullable<Guid>

The user associated with the access policy.

Returns

A new AccessPolicyAssignmentData instance for mocking.

Applies to