ArmRedisModelFactory.RedisCacheAccessPolicyData 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 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
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET