SharedAccessSignatureAuthorizationRule Klasse
Die Eigenschaften einer IoT Hub-Richtlinie für den freigegebenen Zugriff.
Zum Senden an Azure müssen alle erforderlichen Parameter aufgefüllt werden.
- Vererbung
-
azure.mgmt.iothub._serialization.ModelSharedAccessSignatureAuthorizationRule
Konstruktor
SharedAccessSignatureAuthorizationRule(*, key_name: str, rights: str | _models.AccessRights, primary_key: str | None = None, secondary_key: str | None = None, **kwargs: Any)
Nur Schlüsselwortparameter
Name | Beschreibung |
---|---|
key_name
|
Der Name der SAS-Richtlinie. Erforderlich. |
primary_key
|
Der primäre Schlüssel. |
secondary_key
|
Der sekundäre Schlüssel. |
rights
|
str oder
AccessRights
Die Berechtigungen, die der Shared Access-Richtlinie zugewiesen sind. Erforderlich. Bekannte Werte sind: "RegistryRead", "RegistryWrite", "ServiceConnect", "DeviceConnect", "RegistryRead, RegistryWrite", "RegistryRead, ServiceConnect", "RegistryRead, DeviceConnect", "RegistryWrite, ServiceConnect", "RegistryWrite, DeviceConnect", "ServiceConnect", "RegistryRead, RegistryWrite, ServiceConnect", "RegistryRead, RegistryWrite, DeviceConnect", "RegistryRead, ServiceConnect", "RegistryRead, ServiceConnect", "RegistryWrite, ServiceConnect" und " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Variablen
Name | Beschreibung |
---|---|
key_name
|
Der Name der SAS-Richtlinie. Erforderlich. |
primary_key
|
Der primäre Schlüssel. |
secondary_key
|
Der sekundäre Schlüssel. |
rights
|
str oder
AccessRights
Die Berechtigungen, die der Shared Access-Richtlinie zugewiesen sind. Erforderlich. Bekannte Werte sind: "RegistryRead", "RegistryWrite", "ServiceConnect", "DeviceConnect", "RegistryRead, RegistryWrite", "RegistryRead, ServiceConnect", "RegistryRead, DeviceConnect", "RegistryWrite, ServiceConnect", "RegistryWrite, DeviceConnect", "ServiceConnect", "RegistryRead, RegistryWrite, ServiceConnect", "RegistryRead, RegistryWrite, DeviceConnect", "RegistryRead, ServiceConnect", "RegistryRead, ServiceConnect", "RegistryWrite, ServiceConnect" und " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Azure SDK for Python