你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScheduledAction interface

计划的操作定义。

扩展

属性

displayName

计划的操作名称。

fileDestination

视图数据的目标格式。 这是可选的。

notification

基于计划的操作类型通知属性。

notificationEmail

应获取取消订阅请求和通知电子邮件的联系人点的电子邮件地址。

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

计划操作的状态。

viewId

用于计划操作的成本分析 viewId。 例如,“/providers/Microsoft.CostManagement/views/swaggerExample”

继承属性

eTag

资源 Etag。 对于更新调用,eTag 是可选的,可以指定以实现乐观并发。 先执行“GET”调用,然后在执行更新时将最新的 eTag 作为请求正文的一部分或“If-Match”标头来提取资源的 eTag。 对于创建调用,不需要 eTag。 注意:此属性不会序列化。 它只能由服务器填充。

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

kind

计划的操作的类型。

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

systemData

计划的操作的类型。 注意:此属性不会序列化。 它只能由服务器填充。

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

displayName

计划的操作名称。

displayName?: string

属性值

string

fileDestination

视图数据的目标格式。 这是可选的。

fileDestination?: FileDestination

属性值

notification

基于计划的操作类型通知属性。

notification?: NotificationProperties

属性值

notificationEmail

应获取取消订阅请求和通知电子邮件的联系人点的电子邮件地址。

notificationEmail?: string

属性值

string

schedule

计划操作的计划。

schedule?: ScheduleProperties

属性值

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

继承自ScheduledActionProxyResource.eTag

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 ScheduledActionProxyResource.id

kind

计划的操作的类型。

kind?: string

属性值

string

继承自ScheduledActionProxyResource.kind

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 ScheduledActionProxyResource.name

systemData

计划的操作的类型。 注意:此属性不会序列化。 它只能由服务器填充。

systemData?: SystemData

属性值

继承自ScheduledActionProxyResource.systemData

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ScheduledActionProxyResource.type