Dela via


StorageIdentity Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageIdentityTypeConverter))]
public class StorageIdentity : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageIdentityTypeConverter))>]
type StorageIdentity = class
    interface IStorageIdentity
    interface IJsonSerializable
Public Class StorageIdentity
Implements IStorageIdentity
Inheritance
StorageIdentity
Attributes
Implements

Constructors

StorageIdentity()

Creates an new StorageIdentity instance.

Properties

AccountName

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

BlobInventoryPolicyName

The name of the storage account blob inventory policy. It should always be 'default'

DeletedAccountName

Name of the deleted storage account.

EncryptionScopeName

The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Id

Resource identity path

Location

The location of the deleted storage account.

ManagementPolicyName

The name of the Storage Account Management Policy. It should always be 'default'

MigrationName

The name of the Storage Account Migration. It should always be 'default'

ObjectReplicationPolicyId

For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.

PrivateEndpointConnectionName

The name of the private endpoint connection associated with the Azure resource

ResourceGroupName

The name of the resource group within the user's subscription. The name is case insensitive.

SubscriptionId

The ID of the target subscription.

Username

The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to