ArmRedisModelFactory.RedisCacheAccessPolicyAssignmentData 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 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
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.
- 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
Azure SDK for .NET