PolicyContract interface
原則合約詳細數據。
- Extends
屬性
format | policyContent 的格式。 |
value | 原則的內容,如格式所定義。 |
繼承的屬性
id | 資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。 |
name | 資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。 |
type | 資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
format
policyContent 的格式。
format?: string
屬性值
string
value
原則的內容,如格式所定義。
value?: string
屬性值
string
繼承的屬性詳細資料
id
資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
name
type
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string