Share via


ExistingStorageAccount Class

Definition

Existing storage account input.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.ExistingStorageAccountTypeConverter))]
public class ExistingStorageAccount : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IExistingStorageAccount, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.ExistingStorageAccountTypeConverter))>]
type ExistingStorageAccount = class
    interface IExistingStorageAccount
    interface IJsonSerializable
    interface IStorageAccountCustomDetails
    interface IValidates
Public Class ExistingStorageAccount
Implements IExistingStorageAccount, IValidates
Inheritance
ExistingStorageAccount
Attributes
Implements

Constructors

ExistingStorageAccount()

Creates an new ExistingStorageAccount instance.

Properties

AzureStorageAccountId

The storage account Arm Id. Throw error, if resource does not exists.

ResourceType

The class type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExistingStorageAccount.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExistingStorageAccount.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IExistingStorageAccount.

FromJsonString(String)

Creates a new instance of ExistingStorageAccount, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExistingStorageAccount into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to