ServiceResource interface
服務拓撲中服務的資源表示。
- Extends
屬性
target |
服務中資源所屬或應該部署至的 Azure 位置。 |
target |
服務中資源所屬或應該部署的訂用帳戶。 |
繼承的屬性
id | 資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。它只能由伺服器填入。 |
location | 資源所在的地理位置 |
name | 資源的名稱 注意:此屬性將不會串行化。它只能由伺服器填入。 |
tags | 資源標籤。 |
type | 資源的型別。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
targetLocation
服務中資源所屬或應該部署至的 Azure 位置。
targetLocation: string
屬性值
string
targetSubscriptionId
服務中資源所屬或應該部署的訂用帳戶。
targetSubscriptionId: string
屬性值
string
繼承的屬性詳細資料
id
資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。它只能由伺服器填入。
id?: string
屬性值
string
location
name
資源的名稱 注意:此屬性將不會串行化。它只能由伺服器填入。
name?: string
屬性值
string
繼承自
tags
資源標籤。
tags?: {[propertyName: string]: string}
屬性值
{[propertyName: string]: string}
type
資源的型別。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。 注意:這個屬性不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string