C# Class Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureEnvironment

Afficher le fichier Open project: AzureRT/azure-sdk-tools Class Usage Examples

Méthodes publiques

Méthode Description
AddAccount ( ITokenProvider tokenProvider ) : IEnumerable
GetStorageBlobEndpoint ( string accountName, bool useHttps = true ) : Uri

Gets the endpoint for storage blob.

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.

ManagementPortalUrlWithRealm ( string realm = null ) : string

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

PublishSettingsFileUrlWithRealm ( string realm = null ) : string

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

Private Methods

Méthode Description
AddRealm ( string baseUrl, string realm ) : string
EndpointFormatFor ( string service ) : string

Method Details

AddAccount() public méthode

public AddAccount ( ITokenProvider tokenProvider ) : IEnumerable
tokenProvider ITokenProvider
Résultat IEnumerable

GetStorageBlobEndpoint() public méthode

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.
Résultat System.Uri

GetStorageQueueEndpoint() public méthode

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.
Résultat System.Uri

GetStorageTableEndpoint() public méthode

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.
Résultat System.Uri

ManagementPortalUrlWithRealm() public méthode

Gets the management portal URI with a particular realm suffix if supplied
public ManagementPortalUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
Résultat string

PublishSettingsFileUrlWithRealm() public méthode

Get the publish settings file download url with a realm suffix if needed.
public PublishSettingsFileUrlWithRealm ( string realm = null ) : string
realm string Realm for user's account
Résultat string