StorageUri Class

Definition

Contains the URIs for both the primary and secondary locations of a Microsoft Azure Storage resource.

public sealed class StorageUri : IEquatable<Microsoft.Azure.Storage.StorageUri>
type StorageUri = class
    interface IEquatable<StorageUri>
Public NotInheritable Class StorageUri
Implements IEquatable(Of StorageUri)
Inheritance
StorageUri
Implements

Constructors

StorageUri(Uri)

Initializes a new instance of the StorageUri class using the primary endpoint for the storage account.

StorageUri(Uri, Uri)

Initializes a new instance of the StorageUri class using the primary and secondary endpoints for the storage account.

Properties

PrimaryUri

The endpoint for the primary location for the storage account.

SecondaryUri

The endpoint for the secondary location for the storage account.

Methods

Equals(Object)

Determines whether the specified Object is equal to this instance.

Equals(StorageUri)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns a hash code for this instance.

GetUri(StorageLocation)

Returns the URI for the storage account endpoint at the specified location.

ToString()

Returns a String that represents this instance.

Operators

Equality(StorageUri, StorageUri)

Compares two StorageUri objects for equivalency.

Inequality(StorageUri, StorageUri)

Compares two StorageUri objects for non-equivalency.

Applies to