Condividi tramite


ResourceSettings Class

Definition

Gets or sets the resource settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettingsTypeConverter))]
public class ResourceSettings : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IResourceSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.ResourceSettingsTypeConverter))>]
type ResourceSettings = class
    interface IResourceSettings
    interface IJsonSerializable
Public Class ResourceSettings
Implements IResourceSettings
Inheritance
ResourceSettings
Attributes
Implements

Constructors

ResourceSettings()

Creates an new ResourceSettings instance.

Properties

ResourceType

The resource type. For example, the value can be Microsoft.Compute/virtualMachines.

TargetResourceGroupName

Gets or sets the target resource group name.

TargetResourceName

Gets or sets the target Resource name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IResourceSettings. Note: the Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IResourceSettings interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to