Class ScheduledActionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.models.ScheduledActionProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.ScheduledActionInner
Scheduled action definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Scheduled action name.Get the fileDestination property: Destination format of the view data.Get the notification property: Notification properties based on scheduled action kind.Get the notificationEmail property: Email address of the point of contact that should get the unsubscribe requests and notification emails.schedule()
Get the schedule property: Schedule of the scheduled action.scope()
Get the scope property: Cost Management scope like '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.status()
Get the status property: Status of the scheduled action.void
validate()
Validates the instance.viewId()
Get the viewId property: Cost analysis viewId used for scheduled action.withDisplayName
(String displayName) Set the displayName property: Scheduled action name.withFileDestination
(FileDestination fileDestination) Set the fileDestination property: Destination format of the view data.withKind
(ScheduledActionKind kind) Set the kind property: Kind of the scheduled action.withNotification
(NotificationProperties notification) Set the notification property: Notification properties based on scheduled action kind.withNotificationEmail
(String notificationEmail) Set the notificationEmail property: Email address of the point of contact that should get the unsubscribe requests and notification emails.withSchedule
(ScheduleProperties schedule) Set the schedule property: Schedule of the scheduled action.Set the scope property: Cost Management scope like '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.withStatus
(ScheduledActionStatus status) Set the status property: Status of the scheduled action.withViewId
(String viewId) Set the viewId property: Cost analysis viewId used for scheduled action.Methods inherited from class com.azure.resourcemanager.costmanagement.models.ScheduledActionProxyResource
etag, kind, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ScheduledActionInner
public ScheduledActionInner()Creates an instance of ScheduledActionInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of the scheduled action.- Overrides:
withKind
in classScheduledActionProxyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ScheduledActionProxyResource object itself.
-
displayName
Get the displayName property: Scheduled action name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Scheduled action name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ScheduledActionInner object itself.
-
fileDestination
Get the fileDestination property: Destination format of the view data. This is optional.- Returns:
- the fileDestination value.
-
withFileDestination
Set the fileDestination property: Destination format of the view data. This is optional.- Parameters:
fileDestination
- the fileDestination value to set.- Returns:
- the ScheduledActionInner object itself.
-
notification
Get the notification property: Notification properties based on scheduled action kind.- Returns:
- the notification value.
-
withNotification
Set the notification property: Notification properties based on scheduled action kind.- Parameters:
notification
- the notification value to set.- Returns:
- the ScheduledActionInner object itself.
-
notificationEmail
Get the notificationEmail property: Email address of the point of contact that should get the unsubscribe requests and notification emails.- Returns:
- the notificationEmail value.
-
withNotificationEmail
Set the notificationEmail property: Email address of the point of contact that should get the unsubscribe requests and notification emails.- Parameters:
notificationEmail
- the notificationEmail value to set.- Returns:
- the ScheduledActionInner object itself.
-
schedule
Get the schedule property: Schedule of the scheduled action.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Schedule of the scheduled action.- Parameters:
schedule
- the schedule value to set.- Returns:
- the ScheduledActionInner object itself.
-
scope
Get the scope property: Cost Management scope like '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.- Returns:
- the scope value.
-
withScope
Set the scope property: Cost Management scope like '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.- Parameters:
scope
- the scope value to set.- Returns:
- the ScheduledActionInner object itself.
-
status
Get the status property: Status of the scheduled action.- Returns:
- the status value.
-
withStatus
Set the status property: Status of the scheduled action.- Parameters:
status
- the status value to set.- Returns:
- the ScheduledActionInner object itself.
-
viewId
Get the viewId property: Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'.- Returns:
- the viewId value.
-
withViewId
Set the viewId property: Cost analysis viewId used for scheduled action. For example, '/providers/Microsoft.CostManagement/views/swaggerExample'.- Parameters:
viewId
- the viewId value to set.- Returns:
- the ScheduledActionInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classScheduledActionProxyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-