Share via


ArmCostManagementModelFactory.ScheduledActionData Method

Definition

Initializes a new instance of ScheduledActionData.

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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ScheduledActionFileFormat> fileFormats = 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, 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 * seq<Azure.ResourceManager.CostManagement.Models.ScheduledActionFileFormat> * Azure.ResourceManager.CostManagement.Models.NotificationProperties * string * Azure.ResourceManager.CostManagement.Models.ScheduleProperties * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.CostManagement.Models.ScheduledActionStatus> * Azure.Core.ResourceIdentifier * 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 fileFormats As IEnumerable(Of ScheduledActionFileFormat) = 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 eTag As Nullable(Of ETag) = Nothing, Optional kind As Nullable(Of ScheduledActionKind) = Nothing) As ScheduledActionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Scheduled action name.

fileFormats
IEnumerable<ScheduledActionFileFormat>

Destination format of the view data. This is optional.

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

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
Nullable<ScheduledActionStatus>

Status of the scheduled action.

viewId
ResourceIdentifier

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

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