SharedAccessSignatureAuthorizationRule Kelas
Properti kebijakan akses bersama hub IoT.
Semua parameter yang diperlukan harus diisi untuk dikirim ke Azure.
- Warisan
-
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)
Parameter Kata Kunci-Saja
Nama | Deskripsi |
---|---|
key_name
|
Nama kebijakan akses bersama. Wajib diisi. |
primary_key
|
Kunci primer. |
secondary_key
|
Kunci sekunder. |
rights
|
str atau
AccessRights
Izin yang ditetapkan ke kebijakan akses bersama. Wajib diisi. Nilai yang diketahui adalah: "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", dan " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Variabel
Nama | Deskripsi |
---|---|
key_name
|
Nama kebijakan akses bersama. Wajib diisi. |
primary_key
|
Kunci primer. |
secondary_key
|
Kunci sekunder. |
rights
|
str atau
AccessRights
Izin yang ditetapkan ke kebijakan akses bersama. Wajib diisi. Nilai yang diketahui adalah: "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", dan " RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect". |
Azure SDK for Python