ScheduledAction interface
计划的操作定义。
属性
| display |
计划的操作名称。 |
| file |
视图数据的目标格式。 这是可选的。 |
| notification | 基于计划的操作类型通知属性。 |
| notification |
应获取取消订阅请求和通知电子邮件的联系人点的电子邮件地址。 |
| schedule | 计划操作的计划。 |
| scope | 订阅范围的成本管理范围,例如订阅范围的“subscriptions/{subscriptionId}”、“subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}”, 计费帐户范围的“providers/Microsoft.Billing/billingAccounts/{billingAccountId}”,“providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}” for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 范围的 enrollmentAccountId},“providers/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 作为请求正文的一部分或“If-Match”标头来提取资源的 eTag。 对于创建调用,不需要 eTag。 注意:此属性不会序列化。 它只能由服务器填充。 |
| id | 资源的完全限定资源 ID。 Ex - /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}”、“subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}”, 计费帐户范围的“providers/Microsoft.Billing/billingAccounts/{billingAccountId}”,“providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}” for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 范围的 enrollmentAccountId},“providers/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 作为请求正文的一部分或“If-Match”标头来提取资源的 eTag。 对于创建调用,不需要 eTag。 注意:此属性不会序列化。 它只能由服务器填充。
eTag?: string
属性值
string
id
kind
systemData
计划的操作的类型。 注意:此属性不会序列化。 它只能由服务器填充。
systemData?: SystemData
属性值
type
资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。
type?: string
属性值
string