Share via


ProtectionContainer Class

Definition

Protection container details.

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

Constructors

ProtectionContainer()

Creates an new ProtectionContainer instance.

Properties

FabricFriendlyName

Fabric friendly name.

FabricSpecificDetailInstanceType

Gets the class type. Overridden in derived classes.

FabricType

The fabric type.

FriendlyName

The name.

Id

Resource Id

Location

Resource Location

Name

Resource Name

PairingStatus

The pairing status of this cloud.

ProtectedItemCount

Number of protected PEs.

Role

The role of this cloud.

Type

Resource Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProtectionContainer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProtectionContainer.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProtectionContainer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to