Partager via


SharedAccessSignatureAuthorizationRule Constructeurs

Définition

Surcharges

SharedAccessSignatureAuthorizationRule()

Initialise une nouvelle instance de la classe SharedAccessSignatureAuthorizationRule.

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Initialise une nouvelle instance de la classe SharedAccessSignatureAuthorizationRule.

SharedAccessSignatureAuthorizationRule()

Initialise une nouvelle instance de la classe SharedAccessSignatureAuthorizationRule.

public SharedAccessSignatureAuthorizationRule ();
Public Sub New ()

S’applique à

SharedAccessSignatureAuthorizationRule(String, AccessRights, String, String)

Initialise une nouvelle instance de la 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)

Paramètres

keyName
String

Nom de la stratégie d’accès partagé.

rights
AccessRights

Autorisations attribuées à la stratégie d’accès partagé. Les valeurs possibles sont les suivantes : 'RegistryRead', 'RegistryWrite', 'ServiceConnect', 'DeviceConnect', 'RegistryRead, RegistryWrite', 'RegistryRead, ServiceConnect', 'RegistryRead, DeviceConnect', 'RegistryWrite, ServiceConnect', 'RegistryWrite, DeviceConnect', 'ServiceConnect', 'RegistryConnect', 'RegistryRead, RegistryWrite, ServiceConnect', 'RegistryRead, DeviceConnect' RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect'

primaryKey
String

Clé primaire.

secondaryKey
String

Clé secondaire.

S’applique à