Partager via


RedisCacheAccessPolicyData Class

Definition

A class representing the RedisCacheAccessPolicy data model. Response to get/put access policy.

public class RedisCacheAccessPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.RedisCacheAccessPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.RedisCacheAccessPolicyData>
public class RedisCacheAccessPolicyData : Azure.ResourceManager.Models.ResourceData
type RedisCacheAccessPolicyData = class
    inherit ResourceData
    interface IJsonModel<RedisCacheAccessPolicyData>
    interface IPersistableModel<RedisCacheAccessPolicyData>
type RedisCacheAccessPolicyData = class
    inherit ResourceData
Public Class RedisCacheAccessPolicyData
Inherits ResourceData
Implements IJsonModel(Of RedisCacheAccessPolicyData), IPersistableModel(Of RedisCacheAccessPolicyData)
Public Class RedisCacheAccessPolicyData
Inherits ResourceData
Inheritance
RedisCacheAccessPolicyData
Implements

Constructors

RedisCacheAccessPolicyData()

Initializes a new instance of RedisCacheAccessPolicyData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Permissions

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

ProvisioningState

Provisioning state of access policy.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TypePropertiesType

Built-In or Custom access policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RedisCacheAccessPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RedisCacheAccessPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisCacheAccessPolicyData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisCacheAccessPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RedisCacheAccessPolicyData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to