ArmCostManagementModelFactory.ExportRun Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.CostManagement.Models.ExportRun ExportRun(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CostManagement.Models.ExportRunExecutionType? executionType = default, Azure.ResourceManager.CostManagement.Models.ExportRunExecutionStatus? status = default, string submittedBy = default, DateTimeOffset? submittedOn = default, DateTimeOffset? processingStartOn = default, DateTimeOffset? processingEndOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string fileName = default, string manifestFile = default, Azure.ResourceManager.CostManagement.Models.CommonExportProperties runSettings = default, Azure.ResourceManager.CostManagement.Models.ExportRunErrorDetails error = default, Azure.ETag? etag = default);
static member ExportRun : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CostManagement.Models.ExportRunExecutionType> * Nullable<Azure.ResourceManager.CostManagement.Models.ExportRunExecutionStatus> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Azure.ResourceManager.CostManagement.Models.CommonExportProperties * Azure.ResourceManager.CostManagement.Models.ExportRunErrorDetails * Nullable<Azure.ETag> -> Azure.ResourceManager.CostManagement.Models.ExportRun
Public Shared Function ExportRun (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional executionType As Nullable(Of ExportRunExecutionType) = Nothing, Optional status As Nullable(Of ExportRunExecutionStatus) = Nothing, Optional submittedBy As String = Nothing, Optional submittedOn As Nullable(Of DateTimeOffset) = Nothing, Optional processingStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional processingEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional fileName As String = Nothing, Optional manifestFile As String = Nothing, Optional runSettings As CommonExportProperties = Nothing, Optional error As ExportRunErrorDetails = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExportRun
Parameters
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.
- executionType
- Nullable<ExportRunExecutionType>
The type of the export run.
- status
- Nullable<ExportRunExecutionStatus>
The last known status of the export run.
- submittedBy
- String
The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'.
- submittedOn
- Nullable<DateTimeOffset>
The time when export was queued to be run.
- processingStartOn
- Nullable<DateTimeOffset>
The time when export was picked up to be run.
- processingEndOn
- Nullable<DateTimeOffset>
The time when the export run finished.
- startOn
- Nullable<DateTimeOffset>
The start datetime for the export.
- endOn
- Nullable<DateTimeOffset>
The end datetime for the export.
- fileName
- String
The name of the exported file.
- manifestFile
- String
The manifest file location(URI location) for the exported files.
- runSettings
- CommonExportProperties
The export settings that were in effect for this run.
- error
- ExportRunErrorDetails
The details of any error.
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 ExportRun instance for mocking.