SharedAccessSignatureAuthorizationRule Clase
Las propiedades de una directiva de acceso compartido de IoT Hub.
Todos los parámetros necesarios deben rellenarse para enviarlos a Azure.
- Herencia
-
azure.mgmt.iothub._serialization.ModelSharedAccessSignatureAuthorizationRule
Constructor
SharedAccessSignatureAuthorizationRule(*, key_name: str, rights: str | _models.AccessRights, primary_key: str | None = None, secondary_key: str | None = None, **kwargs: Any)
Parámetros de palabra clave únicamente
Nombre | Description |
---|---|
key_name
|
Nombre de la directiva de acceso compartido. Necesario. |
primary_key
|
Clave principal. |
secondary_key
|
Clave secundaria. |
rights
|
Permisos asignados a la directiva de acceso compartido. Necesario. Los valores conocidos son: "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" y " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Variables
Nombre | Description |
---|---|
key_name
|
Nombre de la directiva de acceso compartido. Necesario. |
primary_key
|
Clave principal. |
secondary_key
|
Clave secundaria. |
rights
|
Permisos asignados a la directiva de acceso compartido. Necesario. Los valores conocidos son: "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" y " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Azure SDK for Python