Compartilhar via


SharedAccessSignatureAuthorizationRule Construtores

Definição

Sobrecargas

SharedAccessSignatureAuthorizationRule()

Inicializa uma nova instância da classe SharedAccessSignatureAuthorizationRule.

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Inicializa uma nova instância da classe SharedAccessSignatureAuthorizationRule.

SharedAccessSignatureAuthorizationRule()

Inicializa uma nova instância da classe SharedAccessSignatureAuthorizationRule.

public SharedAccessSignatureAuthorizationRule ();
Public Sub New ()

Aplica-se a

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Inicializa uma nova instância da classe SharedAccessSignatureAuthorizationRule.

public SharedAccessSignatureAuthorizationRule (string keyName, Microsoft.Azure.Management.IotHub.Models.AccessRights rights, string primaryKey = default, string secondaryKey = default);
new Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule : string * Microsoft.Azure.Management.IotHub.Models.AccessRights * string * string -> Microsoft.Azure.Management.IotHub.Models.SharedAccessSignatureAuthorizationRule
Public Sub New (keyName As String, rights As AccessRights, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing)

Parâmetros

keyName
String

O nome da política de acesso compartilhado.

rights
AccessRights

As permissões atribuídas à política de acesso compartilhado. Os valores possíveis incluem: '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'

primaryKey
String

A chave principal.

secondaryKey
String

A chave secundária.

Aplica-se a