Client interface
用戶端資源。
- Extends
屬性
| attributes | 用戶端的屬性。 支援的值為 int、bool、string、string[]。 範例:“attributes”: { “room”: “345”, “floor”: 12, “deviceTypes”: [“Fan”, “Light”] } |
| authentication |
用戶端用來驗證的名稱。 預設值是資源的名稱。 |
| client |
用戶端憑證驗證資訊。 |
| description | 用戶端資源的描述。 |
| provisioning |
用戶端資源的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| state | 指出用戶端是否已啟用。 預設值為 Enabled。 |
| system |
與事件方格資源相關的系統元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
繼承的屬性
| id | 資源的完整標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| name | 資源的名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| type | 資源的類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
attributes
用戶端的屬性。 支援的值為 int、bool、string、string[]。 範例:“attributes”: { “room”: “345”, “floor”: 12, “deviceTypes”: [“Fan”, “Light”] }
attributes?: {[propertyName: string]: any}
屬性值
{[propertyName: string]: any}
authenticationName
用戶端用來驗證的名稱。 預設值是資源的名稱。
authenticationName?: string
屬性值
string
clientCertificateAuthentication
用戶端憑證驗證資訊。
clientCertificateAuthentication?: ClientCertificateAuthentication
屬性值
description
用戶端資源的描述。
description?: string
屬性值
string
provisioningState
用戶端資源的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。
provisioningState?: string
屬性值
string
state
指出用戶端是否已啟用。 預設值為 Enabled。
state?: string
屬性值
string