ArmCostManagementModelFactory.CostManagementExportData Method

Definition

public static Azure.ResourceManager.CostManagement.CostManagementExportData CostManagementExportData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CostManagement.Models.ExportFormatType? format = default, Azure.ResourceManager.CostManagement.Models.ExportDefinition definition = default, bool? partitionData = default, Azure.ResourceManager.CostManagement.Models.DataOverwriteBehaviorType? dataOverwriteBehavior = default, Azure.ResourceManager.CostManagement.Models.CompressionModeType? compressionMode = default, string exportDescription = default, DateTimeOffset? nextRunTimeEstimate = default, Azure.ResourceManager.CostManagement.Models.ExportSuspensionContext systemSuspensionContext = default, Azure.ResourceManager.CostManagement.Models.ExportDeliveryDestination deliveryInfoDestination = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ExportRun> runHistoryValue = default, Azure.ResourceManager.CostManagement.Models.ExportSchedule schedule = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string location = default, Azure.ETag? etag = default);
static member CostManagementExportData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CostManagement.Models.ExportFormatType> * Azure.ResourceManager.CostManagement.Models.ExportDefinition * Nullable<bool> * Nullable<Azure.ResourceManager.CostManagement.Models.DataOverwriteBehaviorType> * Nullable<Azure.ResourceManager.CostManagement.Models.CompressionModeType> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.CostManagement.Models.ExportSuspensionContext * Azure.ResourceManager.CostManagement.Models.ExportDeliveryDestination * seq<Azure.ResourceManager.CostManagement.Models.ExportRun> * Azure.ResourceManager.CostManagement.Models.ExportSchedule * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<Azure.ETag> -> Azure.ResourceManager.CostManagement.CostManagementExportData
Public Shared Function CostManagementExportData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional format As Nullable(Of ExportFormatType) = Nothing, Optional definition As ExportDefinition = Nothing, Optional partitionData As Nullable(Of Boolean) = Nothing, Optional dataOverwriteBehavior As Nullable(Of DataOverwriteBehaviorType) = Nothing, Optional compressionMode As Nullable(Of CompressionModeType) = Nothing, Optional exportDescription As String = Nothing, Optional nextRunTimeEstimate As Nullable(Of DateTimeOffset) = Nothing, Optional systemSuspensionContext As ExportSuspensionContext = Nothing, Optional deliveryInfoDestination As ExportDeliveryDestination = Nothing, Optional runHistoryValue As IEnumerable(Of ExportRun) = Nothing, Optional schedule As ExportSchedule = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional location As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As CostManagementExportData

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.

format
Nullable<ExportFormatType>

The format of the export being delivered.

definition
ExportDefinition

Has the definition for the export.

partitionData
Nullable<Boolean>

If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file.

dataOverwriteBehavior
Nullable<DataOverwriteBehaviorType>

Allow customers to select overwrite data(OverwritePreviousReport) for exports. This setting will enable overwrite data for the same month in customer storage account. By default set to CreateNewReport.

compressionMode
Nullable<CompressionModeType>

Allow customers to select compress data for exports. This setting will enable destination file compression scheme at runtime. By default set to None. Gzip is for csv and snappy for parquet.

exportDescription
String

The export description set by customer at time of export creation/update.

nextRunTimeEstimate
Nullable<DateTimeOffset>

If the export has an active schedule, provides an estimate of the next run time.

systemSuspensionContext
ExportSuspensionContext

The export suspension reason if export is in SystemSuspended state. This is not populated currently.

deliveryInfoDestination
ExportDeliveryDestination

Has destination for the export being delivered.

runHistoryValue
IEnumerable<ExportRun>

A list of export runs.

schedule
ExportSchedule

Has schedule information for the export.

identity
ManagedServiceIdentity

The managed identity associated with Export.

location
String

The location of the Export's managed identity. Only required when utilizing managed identity.

etag
Nullable<ETag>

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

Returns

A new CostManagementExportData instance for mocking.

Applies to