ProxyResource Class

Definition

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

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

Constructors

Name Description
ProxyResource()

Creates an new ProxyResource instance.

Properties

Name Description
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

SystemDataCreatedAt
SystemDataCreatedBy
SystemDataCreatedByType
SystemDataLastModifiedAt
SystemDataLastModifiedBy
SystemDataLastModifiedByType
Type

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

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.ServiceBus.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()
Validate(IEventListener)

Applies to