Compartir a través de


ResourceWithOptionalLocation Class

Definition

The Resource model definition with location property as optional.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ResourceWithOptionalLocationTypeConverter))]
public class ResourceWithOptionalLocation : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceWithOptionalLocation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ResourceWithOptionalLocationTypeConverter))>]
type ResourceWithOptionalLocation = class
    interface IResourceWithOptionalLocation
    interface IJsonSerializable
Public Class ResourceWithOptionalLocation
Implements IResourceWithOptionalLocation
Inheritance
ResourceWithOptionalLocation
Attributes
Implements

Constructors

ResourceWithOptionalLocation()

Creates an new ResourceWithOptionalLocation instance.

Properties

Id

Resource Id

Location

Resource location

Name

Resource name

Tag

Resource tags

Type

Resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceWithOptionalLocation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceWithOptionalLocation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IResourceWithOptionalLocation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceWithOptionalLocation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to