Partilhar 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.Api20240401.ResourceIdTypeConverter))]
public class ResourceId : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IResourceId
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ResourceIdTypeConverter))>]
type ResourceId = class
    interface IResourceId
    interface IJsonSerializable
Public Class ResourceId
Implements IResourceId
Inheritance
ResourceId
Attributes
Implements

Constructors

Name Description
ResourceId()

Creates an new ResourceId instance.

Properties

Name Description
Id

The ID of the resource

Methods

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