Freigeben über


ExpansionJobData Class

Definition

A class representing the ExpansionJob data model. An expansion job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

public class ExpansionJobData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageCache.ExpansionJobData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageCache.ExpansionJobData>
type ExpansionJobData = class
    inherit TrackedResourceData
    interface IJsonModel<ExpansionJobData>
    interface IPersistableModel<ExpansionJobData>
Public Class ExpansionJobData
Inherits TrackedResourceData
Implements IJsonModel(Of ExpansionJobData), IPersistableModel(Of ExpansionJobData)
Inheritance
Implements

Constructors

Name Description
ExpansionJobData(AzureLocation)

Initializes a new instance of ExpansionJobData.

Properties

Name Description
CompletionTimeUTC

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

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NewStorageCapacityTiB

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.

PercentComplete

The percentage of expansion job completion.

ProvisioningState

ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.

ResourceType

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

(Inherited from ResourceData)
StartTimeUTC

The time (in UTC) the expansion job started.

State

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

Server-defined status code for expansion job.

StatusMessage

Server-defined status message for expansion job.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ExpansionJobData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ExpansionJobData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExpansionJobData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExpansionJobData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ExpansionJobData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to