Partilhar via


AccessPolicyAssignment Class

Definition

Describes the access policy assignment of Redis Enterprise database

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.AccessPolicyAssignmentTypeConverter))]
public class AccessPolicyAssignment : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IAccessPolicyAssignment, Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.AccessPolicyAssignmentTypeConverter))>]
type AccessPolicyAssignment = class
    interface IAccessPolicyAssignment
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AccessPolicyAssignment
Implements IAccessPolicyAssignment, IValidates
Inheritance
AccessPolicyAssignment
Attributes
Implements

Constructors

AccessPolicyAssignment()

Creates an new AccessPolicyAssignment instance.

Properties

AccessPolicyName

Name of access policy under specific access policy assignment. Only "default" policy is supported for now.

Id

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

Name

The name of the resource

ProvisioningState

Current provisioning status of the access policy assignment.

Type

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

UserObjectId

The object ID of the user.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccessPolicyAssignment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccessPolicyAssignment.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IAccessPolicyAssignment.

FromJsonString(String)

Creates a new instance of AccessPolicyAssignment, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccessPolicyAssignment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to