Freigeben über


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.Model
SharedAccessSignatureAuthorizationRule

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
str

Der Name der SAS-Richtlinie. Erforderlich.

primary_key
str

Der primäre Schlüssel.

secondary_key
str

Der sekundäre Schlüssel.

rights

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
str

Der Name der SAS-Richtlinie. Erforderlich.

primary_key
str

Der primäre Schlüssel.

secondary_key
str

Der sekundäre Schlüssel.

rights

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".