RedisCacheAccessPolicy Class

Response to get/put access policy.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.redis.models._models_py3.ProxyResource
RedisCacheAccessPolicy

Constructor

RedisCacheAccessPolicy(*, permissions: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
permissions
str

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

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

provisioning_state

Provisioning state of access policy. Known values are: "Updating", "Succeeded", "Deleting", "Deleted", "Canceled", and "Failed".

type_properties_type

Built-In or Custom access policy. Known values are: "Custom" and "BuiltIn".

permissions
str

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