Bagikan melalui


SharedAccessSignatureAuthorizationRule Kelas

Properti kebijakan akses bersama hub IoT.

Semua parameter yang diperlukan harus diisi untuk dikirim ke Azure.

Warisan
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)

Parameter Kata Kunci-Saja

Nama Deskripsi
key_name
str

Nama kebijakan akses bersama. Wajib diisi.

primary_key
str

Kunci primer.

secondary_key
str

Kunci sekunder.

rights

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
str

Nama kebijakan akses bersama. Wajib diisi.

primary_key
str

Kunci primer.

secondary_key
str

Kunci sekunder.

rights

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