Delen via


SharedAccessSignatureAuthorizationRule Class

Definition

The properties of an IoT hub shared access policy.

public class SharedAccessSignatureAuthorizationRule
public class SharedAccessSignatureAuthorizationRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.SharedAccessSignatureAuthorizationRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.SharedAccessSignatureAuthorizationRule>
type SharedAccessSignatureAuthorizationRule = class
type SharedAccessSignatureAuthorizationRule = class
    interface IJsonModel<SharedAccessSignatureAuthorizationRule>
    interface IPersistableModel<SharedAccessSignatureAuthorizationRule>
Public Class SharedAccessSignatureAuthorizationRule
Public Class SharedAccessSignatureAuthorizationRule
Implements IJsonModel(Of SharedAccessSignatureAuthorizationRule), IPersistableModel(Of SharedAccessSignatureAuthorizationRule)
Inheritance
SharedAccessSignatureAuthorizationRule
Implements

Constructors

SharedAccessSignatureAuthorizationRule(String, IotHubSharedAccessRight)

Initializes a new instance of SharedAccessSignatureAuthorizationRule.

Properties

KeyName

The name of the shared access policy.

PrimaryKey

The primary key.

Rights

The permissions assigned to the shared access policy.

SecondaryKey

The secondary key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SharedAccessSignatureAuthorizationRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SharedAccessSignatureAuthorizationRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SharedAccessSignatureAuthorizationRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SharedAccessSignatureAuthorizationRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SharedAccessSignatureAuthorizationRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to