共用方式為


AuthorizationRule Class

Definition

Single item in a List or Get AuthorizationRule operation

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleTypeConverter))]
public class AuthorizationRule : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.AuthorizationRuleTypeConverter))>]
type AuthorizationRule = class
    interface IAuthorizationRule
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class AuthorizationRule
Implements IAuthorizationRule, IValidates
Inheritance
AuthorizationRule
Attributes
Implements

Constructors

AuthorizationRule()

Creates an new AuthorizationRule instance.

Properties

Id

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

Location

The geo-location where the resource lives

Name

The name of the resource

ResourceGroupName

Gets the resource group name

Rights

The rights associated with the rule.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The type of identity that last modified the resource.

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AuthorizationRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AuthorizationRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.IAuthorizationRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AuthorizationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to