Compartilhar via


ArmRedisModelFactory.RedisCacheAccessPolicyData Method

Definition

Initializes a new instance of RedisCacheAccessPolicyData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<AccessPolicyProvisioningState>

Provisioning state of access policy.

typePropertiesType
Nullable<AccessPolicyType>

Built-In or Custom access policy.

permissions
String

Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites.

Returns

A new RedisCacheAccessPolicyData instance for mocking.

Applies to