AzureResource Class

Definition

The azure resource info when target service type is AzureResource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResourceTypeConverter))]
public class AzureResource : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAzureResource, Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResourceTypeConverter))>]
type AzureResource = class
    interface IAzureResource
    interface IJsonSerializable
    interface ITargetServiceBase
    interface IValidates
Public Class AzureResource
Implements IAzureResource, IValidates
Inheritance
AzureResource
Attributes
Implements

Constructors

AzureResource()

Creates an new AzureResource instance.

Properties

Id

The Id of azure resource.

ResourceProperty

The azure resource connection related properties.

Type

The target service type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAzureResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to