Share via


ExistingProtectionProfile Class

Definition

Existing storage account input.

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

Constructors

ExistingProtectionProfile()

Creates an new ExistingProtectionProfile instance.

Properties

ProtectionProfileId

The protection profile Arm Id. Throw error, if resource does not exists.

ResourceType

The class type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExistingProtectionProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExistingProtectionProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExistingProtectionProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to