Freigeben über


ProxyResource Class

Definition

The Resource model definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ProxyResourceTypeConverter))]
public class ProxyResource : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IProxyResource, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IProxyResourceInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ProxyResourceTypeConverter))>]
type ProxyResource = class
    interface IProxyResource
    interface IJsonSerializable
    interface IProxyResourceInternal
Public Class ProxyResource
Implements IProxyResource, IProxyResourceInternal
Inheritance
ProxyResource
Attributes
Implements

Constructors

Name Description
ProxyResource()

Creates an new ProxyResource instance.

Properties

Name Description
ETag

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

Id

Resource Id.

Name

Resource name.

Type

Resource type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProxyResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProxyResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IProxyResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProxyResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

Name Description
IProxyResourceInternal.Id

Internal Acessors for Id

IProxyResourceInternal.Name

Internal Acessors for Name

IProxyResourceInternal.Type

Internal Acessors for Type

Applies to