Share via


SharedAccessSignatureAuthorizationRule Class

Definition

The properties of an IoT hub shared access policy.

public class SharedAccessSignatureAuthorizationRule
type SharedAccessSignatureAuthorizationRule = class
Public Class SharedAccessSignatureAuthorizationRule
Inheritance
SharedAccessSignatureAuthorizationRule

Constructors

SharedAccessSignatureAuthorizationRule()

Initializes a new instance of the SharedAccessSignatureAuthorizationRule class.

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Initializes a new instance of the SharedAccessSignatureAuthorizationRule class.

Properties

KeyName

Gets or sets the name of the shared access policy.

PrimaryKey

Gets or sets the primary key.

Rights

Gets or sets the permissions assigned to the shared access policy. Possible values include: 'RegistryRead', 'RegistryWrite', 'ServiceConnect', 'DeviceConnect', 'RegistryRead, RegistryWrite', 'RegistryRead, ServiceConnect', 'RegistryRead, DeviceConnect', 'RegistryWrite, ServiceConnect', 'RegistryWrite, DeviceConnect', 'ServiceConnect, DeviceConnect', 'RegistryRead, RegistryWrite, ServiceConnect', 'RegistryRead, RegistryWrite, DeviceConnect', 'RegistryRead, ServiceConnect, DeviceConnect', 'RegistryWrite, ServiceConnect, DeviceConnect', 'RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect'

SecondaryKey

Gets or sets the secondary key.

Methods

Validate()

Validate the object.

Applies to