ProxyResource Class

Definition

Common fields that are returned in the response for all Azure Resource Manager resources

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

Constructors

ProxyResource()

Creates an new ProxyResource instance.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location

The geo-location where the resource lives

Name

The name of the resource

Type

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

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.EventHub.Models.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.

ToString()

Applies to