ArmCostManagementModelFactory.ScheduledActionData Method

Definition

public static Azure.ResourceManager.CostManagement.ScheduledActionData ScheduledActionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, Azure.ResourceManager.CostManagement.Models.NotificationProperties notification = default, string notificationEmail = default, Azure.ResourceManager.CostManagement.Models.ScheduleProperties schedule = default, Azure.Core.ResourceIdentifier scope = default, Azure.ResourceManager.CostManagement.Models.ScheduledActionStatus? status = default, Azure.Core.ResourceIdentifier viewId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ScheduledActionFileFormat> fileFormats = default, Azure.ETag? etag = default, Azure.ResourceManager.CostManagement.Models.ScheduledActionKind? kind = default);
static member ScheduledActionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.CostManagement.Models.NotificationProperties * string * Azure.ResourceManager.CostManagement.Models.ScheduleProperties * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.CostManagement.Models.ScheduledActionStatus> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.CostManagement.Models.ScheduledActionFileFormat> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.CostManagement.Models.ScheduledActionKind> -> Azure.ResourceManager.CostManagement.ScheduledActionData
Public Shared Function ScheduledActionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional notification As NotificationProperties = Nothing, Optional notificationEmail As String = Nothing, Optional schedule As ScheduleProperties = Nothing, Optional scope As ResourceIdentifier = Nothing, Optional status As Nullable(Of ScheduledActionStatus) = Nothing, Optional viewId As ResourceIdentifier = Nothing, Optional fileFormats As IEnumerable(Of ScheduledActionFileFormat) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional kind As Nullable(Of ScheduledActionKind) = Nothing) As ScheduledActionData

Parameters

id
ResourceIdentifier

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

name
String

The name of the resource.

resourceType
ResourceType

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

displayName
String

Scheduled action name.

notification
NotificationProperties

Notification properties based on scheduled action kind.

notificationEmail
String

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

schedule
ScheduleProperties

Schedule of the scheduled action.

scope
ResourceIdentifier

For private scheduled action(Create or Update), scope will be empty.<br /> 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.

status
Nullable<ScheduledActionStatus>

Status of the scheduled action.

viewId
ResourceIdentifier

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

fileFormats
IEnumerable<ScheduledActionFileFormat>

Destination of the view data. Currently only CSV format is supported.

etag
Nullable<ETag>

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.

kind
Nullable<ScheduledActionKind>

Kind of the scheduled action.

Returns

A new ScheduledActionData instance for mocking.

Applies to