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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET