你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnableProtectionInput Class

Definition

Enable protection input.

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

Constructors

EnableProtectionInput()

Creates an new EnableProtectionInput instance.

Properties

PolicyId

The Policy Id.

ProtectableItemId

The protectable item Id.

ProviderSpecificDetailInstanceType

The class type.

Methods

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.Api202301.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