Share via


ArmRedisModelFactory.RedisCacheAccessPolicyAssignmentData Method

Definition

Initializes a new instance of RedisCacheAccessPolicyAssignmentData.

public static Azure.ResourceManager.Redis.RedisCacheAccessPolicyAssignmentData RedisCacheAccessPolicyAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Redis.Models.AccessPolicyAssignmentProvisioningState? provisioningState = default, Guid? objectId = default, string objectIdAlias = default, string accessPolicyName = default);
static member RedisCacheAccessPolicyAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Redis.Models.AccessPolicyAssignmentProvisioningState> * Nullable<Guid> * string * string -> Azure.ResourceManager.Redis.RedisCacheAccessPolicyAssignmentData
Public Shared Function RedisCacheAccessPolicyAssignmentData (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 AccessPolicyAssignmentProvisioningState) = Nothing, Optional objectId As Nullable(Of Guid) = Nothing, Optional objectIdAlias As String = Nothing, Optional accessPolicyName As String = Nothing) As RedisCacheAccessPolicyAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<AccessPolicyAssignmentProvisioningState>

Provisioning state of an access policy assignment set.

objectId
Nullable<Guid>

Object Id to assign access policy to.

objectIdAlias
String

User friendly name for object id. Also represents username for token based authentication.

accessPolicyName
String

The name of the access policy that is being assigned.

Returns

A new RedisCacheAccessPolicyAssignmentData instance for mocking.

Applies to