ScheduledAction interface
排程的動作定義。
- Extends
屬性
display |
排程的動作名稱。 |
file |
檢視數據的目的地格式。 這是選擇性的。 |
notification | 根據排程動作種類的通知屬性。 |
notification |
應取得取消訂閱要求和通知電子郵件之聯繫人的電子郵件位址。 |
schedule | 排程動作的排程。 |
scope | 訂用帳戶範圍的 'subscriptions/{subscriptionId}' 等成本管理範圍,resourceGroup 範圍的 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccountId}'、Billing/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.ExternalSubscription 範圍的 CostManagement/externalSubscriptions/{externalSubscriptionName}' 。 |
status | 排程動作的狀態。 |
view |
用於排程動作的成本分析 viewId。 例如,'/providers/Microsoft.CostManagement/views/swaggerExample' |
繼承的屬性
e |
資源 Etag。 針對更新呼叫,eTag 是選擇性的,可以指定以達到開放式並行存取。 先執行 'GET' 呼叫來擷取資源的 eTag,然後在執行更新時,將最新的 eTag 包含在要求本文或 'If-Match' 標頭中。 針對建立呼叫,不需要 eTag。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
id | 資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。 |
kind | 排程動作的種類。 |
name | 資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。 |
system |
排程動作的種類。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
type | 資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
displayName
排程的動作名稱。
displayName?: string
屬性值
string
fileDestination
notification
notificationEmail
應取得取消訂閱要求和通知電子郵件之聯繫人的電子郵件位址。
notificationEmail?: string
屬性值
string
schedule
scope
訂用帳戶範圍的 'subscriptions/{subscriptionId}' 等成本管理範圍,resourceGroup 範圍的 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccountId}'、Billing/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for ExternalBillingAccount scope, and '/providers/Microsoft.ExternalSubscription 範圍的 CostManagement/externalSubscriptions/{externalSubscriptionName}' 。
scope?: string
屬性值
string
status
排程動作的狀態。
status?: string
屬性值
string
viewId
用於排程動作的成本分析 viewId。 例如,'/providers/Microsoft.CostManagement/views/swaggerExample'
viewId?: string
屬性值
string
繼承的屬性詳細資料
eTag
資源 Etag。 針對更新呼叫,eTag 是選擇性的,可以指定以達到開放式並行存取。 先執行 'GET' 呼叫來擷取資源的 eTag,然後在執行更新時,將最新的 eTag 包含在要求本文或 'If-Match' 標頭中。 針對建立呼叫,不需要 eTag。 注意:這個屬性不會串行化。 它只能由伺服器填入。
eTag?: string
屬性值
string
id
資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
kind
name
資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。
name?: string
屬性值
string
繼承自
systemData
排程動作的種類。 注意:這個屬性不會串行化。 它只能由伺服器填入。
systemData?: SystemData
屬性值
type
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string