Bagikan melalui


SbAuthorizationRule Class

Definition

Description of a namespace authorization rule.

[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbAuthorizationRuleTypeConverter))]
public class SbAuthorizationRule : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRule, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.SbAuthorizationRuleTypeConverter))>]
type SbAuthorizationRule = class
    interface ISbAuthorizationRule
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class SbAuthorizationRule
Implements ISbAuthorizationRule, IValidates
Inheritance
SbAuthorizationRule
Attributes
Implements

Constructors

SbAuthorizationRule()

Creates an new SbAuthorizationRule 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 SbAuthorizationRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SbAuthorizationRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ISbAuthorizationRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SbAuthorizationRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to