C# Класс Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AzureEnvironment ( ) : System
GetEndpoint ( AzureEnvironment endpoint ) : string
GetEndpointAsUri ( AzureEnvironment endpoint ) : Uri
GetEndpointSuffix ( AzureEnvironment endpointSuffix ) : string
GetManagementPortalUrlWithRealm ( string realm = null ) : string

Gets the management portal URI with a particular realm suffix if supplied

GetPublishSettingsFileUrlWithRealm ( string realm = null ) : string

Get the publish settings file download url with a realm suffix if needed.

GetStorageBlobEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage blob.

GetStorageFileEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage file.

GetStorageQueueEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage queue.

GetStorageTableEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage table.

GetTokenAudience ( AzureEnvironment targetEndpoint ) : AzureEnvironment.Endpoint
IsEndpointSet ( AzureEnvironment endpoint ) : bool
IsEndpointSetToValue ( AzureEnvironment endpoint, string url ) : bool

Приватные методы

Метод Описание
EndpointFormatFor ( string service ) : string
StorageBlobEndpointFormat ( ) : string

The storage service blob endpoint format.

StorageFileEndpointFormat ( ) : string

The storage service file endpoint format.

StorageQueueEndpointFormat ( ) : string

The storage service queue endpoint format.

StorageTableEndpointFormat ( ) : string

The storage service table endpoint format.

Описание методов

AzureEnvironment() публичный Метод

public AzureEnvironment ( ) : System
Результат System

GetEndpoint() публичный Метод

public GetEndpoint ( AzureEnvironment endpoint ) : string
endpoint AzureEnvironment
Результат string

GetEndpointAsUri() публичный Метод

public GetEndpointAsUri ( AzureEnvironment endpoint ) : Uri
endpoint AzureEnvironment
Результат System.Uri

GetEndpointSuffix() публичный Метод

public GetEndpointSuffix ( AzureEnvironment endpointSuffix ) : string
endpointSuffix AzureEnvironment
Результат string

GetManagementPortalUrlWithRealm() публичный Метод

Gets the management portal URI with a particular realm suffix if supplied
public GetManagementPortalUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
Результат string

GetPublishSettingsFileUrlWithRealm() публичный Метод

Get the publish settings file download url with a realm suffix if needed.
public GetPublishSettingsFileUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
Результат string

GetStorageBlobEndpoint() публичный Метод

Gets the endpoint for storage blob.
public GetStorageBlobEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
Результат System.Uri

GetStorageFileEndpoint() публичный Метод

Gets the endpoint for storage file.
public GetStorageFileEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
Результат System.Uri

GetStorageQueueEndpoint() публичный Метод

Gets the endpoint for storage queue.
public GetStorageQueueEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
Результат System.Uri

GetStorageTableEndpoint() публичный Метод

Gets the endpoint for storage table.
public GetStorageTableEndpoint ( string accountName, bool useHttps = true ) : Uri
accountName string The account name
useHttps bool Use Https when creating the URI. Defaults to true.
Результат System.Uri

GetTokenAudience() публичный Метод

public GetTokenAudience ( AzureEnvironment targetEndpoint ) : AzureEnvironment.Endpoint
targetEndpoint AzureEnvironment
Результат AzureEnvironment.Endpoint

IsEndpointSet() публичный Метод

public IsEndpointSet ( AzureEnvironment endpoint ) : bool
endpoint AzureEnvironment
Результат bool

IsEndpointSetToValue() публичный Метод

public IsEndpointSetToValue ( AzureEnvironment endpoint, string url ) : bool
endpoint AzureEnvironment
url string
Результат bool