EnableProtectionInput Class

Definition

Enable protection input.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.EnableProtectionInputTypeConverter))]
public class EnableProtectionInput : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IEnableProtectionInput
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.EnableProtectionInputTypeConverter))>]
type EnableProtectionInput = class
    interface IEnableProtectionInput
    interface IJsonSerializable
Public Class EnableProtectionInput
Implements IEnableProtectionInput
Inheritance
EnableProtectionInput
Attributes
Implements

Constructors

Name Description
EnableProtectionInput()

Creates an new EnableProtectionInput instance.

Properties

Name Description
PolicyId

The Policy Id.

ProtectableItemId

The protectable item Id.

ProviderSpecificDetailInstanceType

The class type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnableProtectionInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnableProtectionInput.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IEnableProtectionInput.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnableProtectionInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to