GetScheduledActionByScopeResult

data class GetScheduledActionByScopeResult(val displayName: String, val eTag: String, val fileDestination: FileDestinationResponse? = null, val id: String, val kind: String? = null, val name: String, val notification: NotificationPropertiesResponse, val notificationEmail: String? = null, val schedule: SchedulePropertiesResponse, val scope: String? = null, val status: String, val systemData: SystemDataResponse, val type: String, val viewId: String)

Scheduled action definition.

Constructors

Link copied to clipboard
constructor(displayName: String, eTag: String, fileDestination: FileDestinationResponse? = null, id: String, kind: String? = null, name: String, notification: NotificationPropertiesResponse, notificationEmail: String? = null, schedule: SchedulePropertiesResponse, scope: String? = null, status: String, systemData: SystemDataResponse, type: String, viewId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Scheduled action name.

Link copied to clipboard

Resource Etag. For update calls, eTag is optional and can be specified to achieve optimistic concurrency. Fetch the resource's eTag by doing a 'GET' call first and then including the latest eTag as part of the request body or 'If-Match' header while performing the update. For create calls, eTag is not required.

Link copied to clipboard

Destination format of the view data. This is optional.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard
val kind: String? = null

Kind of the scheduled action.

Link copied to clipboard

The name of the resource

Link copied to clipboard

Notification properties based on scheduled action kind.

Link copied to clipboard

Email address of the point of contact that should get the unsubscribe requests and notification emails.

Link copied to clipboard

Schedule of the scheduled action.

Link copied to clipboard
val scope: String? = null

For private scheduled action(Create or Update), scope will be empty.
For shared scheduled action(Create or Update By Scope), Cost Management scope can be 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '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/{enrollmentAccountId}' for EnrollmentAccount scope, '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.CostManagement/externalSubscriptions/{externalSubscriptionName}' for ExternalSubscription scope.

Link copied to clipboard

Status of the scheduled action.

Link copied to clipboard

Kind of the scheduled action.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard

Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'