Share via


ResourceId Class

Definition

Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ResourceIdTypeConverter))]
public class ResourceId : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IResourceId
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ResourceIdTypeConverter))>]
type ResourceId = class
    interface IResourceId
    interface IJsonSerializable
Public Class ResourceId
Implements IResourceId
Inheritance
ResourceId
Attributes
Implements

Constructors

ResourceId()

Creates an new ResourceId instance.

Properties

Id

The ID of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceId.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceId.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IResourceId.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceId into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to