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)
Variables
- key_name
- str
Nombre de la directiva de acceso compartido. Necesario.
- primary_key
- str
Clave principal.
- secondary_key
- str
Clave secundaria.
- rights
- str o AccessRights
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".