Léigh i mBéarla

Comhroinn trí


ResourceIdentifier Class

Definition

An Azure Resource Manager resource identifier.

C#
public sealed class ResourceIdentifier : IComparable<Azure.Core.ResourceIdentifier>, IEquatable<Azure.Core.ResourceIdentifier>
Inheritance
ResourceIdentifier
Implements

Constructors

ResourceIdentifier(String)

Initializes a new instance of the ResourceIdentifier class.

Fields

Root

The root of the resource hierarchy.

Properties

Location

Gets the location if it exists otherwise null.

Name

The name of the resource.

Parent

The immediate parent containing this resource.

Provider

Gets the provider namespace if it exists otherwise null.

ResourceGroupName

The name of the resource group if it exists otherwise null.

ResourceType

The resource type of the resource.

SubscriptionId

Gets the subscription id if it exists otherwise null.

Methods

CompareTo(ResourceIdentifier)

Compre this resource identifier to the given resource identifier.

Equals(ResourceIdentifier)

Determine if this resource identifier is equivalent to the given resource identifier.

Parse(String)

Converts the string representation of a ResourceIdentifier to the equivalent ResourceIdentifier structure.

ToString()

Return the string representation of the resource identifier.

TryParse(String, ResourceIdentifier)

Converts the string representation of a ResourceIdentifier to the equivalent ResourceIdentifier structure.

Operators

Applies to

Táirge Leaganacha
Azure SDK for .NET Latest