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

Mostrar archivo Open project: AzureRT/azure-sdk-tools Class Usage Examples

Public Methods

Method 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

Method Description
AddRealm ( string baseUrl, string realm ) : string
EndpointFormatFor ( string service ) : string

Method Details

AddAccount() public method

public AddAccount ( ITokenProvider tokenProvider ) : IEnumerable
tokenProvider ITokenProvider
return IEnumerable

GetStorageBlobEndpoint() public method

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.
return System.Uri

GetStorageQueueEndpoint() public method

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.
return System.Uri

GetStorageTableEndpoint() public method

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.
return System.Uri

ManagementPortalUrlWithRealm() public method

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
return string

PublishSettingsFileUrlWithRealm() public method

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
return string