ResourceType Struct

Definition

Structure representing a resource type.

public readonly struct ResourceType : IComparable<Azure.Core.ResourceType>, IEquatable<Azure.Core.ResourceType>
type ResourceType = struct
Public Structure ResourceType
Implements IComparable(Of ResourceType), IEquatable(Of ResourceType)
Inheritance
ResourceType
Implements

Remarks

See https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types for more info.

Constructors

Name Description
ResourceType(String)

Initializes a new instance of the ResourceType class.

Properties

Name Description
Namespace

Gets the resource type Namespace.

Type

Gets the resource Type.

Methods

Name Description
CompareTo(ResourceType)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(ResourceType)

Compares this ResourceType instance with another object and determines if they are equals.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ResourceType, ResourceType)

Compares two ResourceType objects.

Implicit(ResourceType to String)

Implicit operator for initializing a string from a ResourceType.

Implicit(String to ResourceType)

Implicit operator for initializing a ResourceType instance from a string.

Inequality(ResourceType, ResourceType)

Compares two ResourceType objects.

Applies to