Share via


DiscoverProtectableItemRequest Class

Definition

Request to add a physical machine as a protectable item in a container.

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

Constructors

DiscoverProtectableItemRequest()

Creates an new DiscoverProtectableItemRequest instance.

Properties

FriendlyName

The friendly name of the physical machine.

IPAddress

The IP address of the physical machine to be discovered.

OSType

The OS type on the physical machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiscoverProtectableItemRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiscoverProtectableItemRequest.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiscoverProtectableItemRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to