ArmStorageCacheModelFactory.ExpansionJobData Method

Definition

Initializes a new instance of ExpansionJobData.

public static Azure.ResourceManager.StorageCache.ExpansionJobData ExpansionJobData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.StorageCache.Models.ExpansionJobProvisioningState? provisioningState = default, float? newStorageCapacityTiB = default, Azure.ResourceManager.StorageCache.Models.ExpansionJobStatusType? state = default, string statusCode = default, string statusMessage = default, float? percentComplete = default, DateTimeOffset? startTimeUTC = default, DateTimeOffset? completionTimeUTC = default);
static member ExpansionJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.StorageCache.Models.ExpansionJobProvisioningState> * Nullable<single> * Nullable<Azure.ResourceManager.StorageCache.Models.ExpansionJobStatusType> * string * string * Nullable<single> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.StorageCache.ExpansionJobData
Public Shared Function ExpansionJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional provisioningState As Nullable(Of ExpansionJobProvisioningState) = Nothing, Optional newStorageCapacityTiB As Nullable(Of Single) = Nothing, Optional state As Nullable(Of ExpansionJobStatusType) = Nothing, Optional statusCode As String = Nothing, Optional statusMessage As String = Nothing, Optional percentComplete As Nullable(Of Single) = Nothing, Optional startTimeUTC As Nullable(Of DateTimeOffset) = Nothing, Optional completionTimeUTC As Nullable(Of DateTimeOffset) = Nothing) As ExpansionJobData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

newStorageCapacityTiB
Nullable<Single>

The new storage capacity in TiB for the AML file system after expansion. This must be a multiple of the Sku step size, and greater than the current storage capacity of the AML file system.

state
Nullable<ExpansionJobStatusType>

The operational state of the expansion job. InProgress indicates the expansion is still running. Completed indicates expansion finished successfully. Failed means the expansion was unable to complete due to a fatal error. Deleting indicates the expansion is being rolled back.

statusCode
String

Server-defined status code for expansion job.

statusMessage
String

Server-defined status message for expansion job.

percentComplete
Nullable<Single>

The percentage of expansion job completion.

startTimeUTC
Nullable<DateTimeOffset>

The time (in UTC) the expansion job started.

completionTimeUTC
Nullable<DateTimeOffset>

The time (in UTC) when the expansion job completed. Only populated when job reaches a terminal state.

Returns

A new ExpansionJobData instance for mocking.

Applies to