C# Class Microsoft.Azure.Commands.Sql.Common.AzureEndpointsCommunicator

This class is responsible for all the REST communication with the management libraries
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Свойство Type Description
GetCurrentResourcesClient Microsoft.Azure.Management.Resources.ResourceManagementClient
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient
GetCurrentStorageClient Microsoft.WindowsAzure.Management.Storage.StorageManagementClient
GetCurrentStorageV2Client Microsoft.Azure.Management.Storage.StorageManagementClient
GetV2Keys string>.Dictionary

Méthodes publiques

Méthode Description
AzureEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Default Constructor.

GetStorageKeys ( string storageName ) : string>.Dictionary
GetStorageKeys ( string resourceGroupName, string storageAccountName ) : string>.Dictionary

Gets the storage keys for the given storage account.

GetStorageKeysAsync ( string resourceGroupName, string storageAccountName ) : string>>.Task

Provides the storage keys for the storage account within the given resource group

GetStorageResourceGroup ( string storageAccountName ) : string

Returns the resource group of the provided storage account

Private Methods

Méthode Description
GetCurrentResourcesClient ( AzureContext context ) : Microsoft.Azure.Management.Resources.ResourceManagementClient

Lazy creation of a single instance of a resoures client

GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

GetCurrentStorageClient ( AzureContext context ) : Microsoft.WindowsAzure.Management.Storage.StorageManagementClient

Lazy creation of a single instance of a storage client

GetCurrentStorageV2Client ( AzureContext context ) : Microsoft.Azure.Management.Storage.StorageManagementClient

Lazy creation of a single instance of a storage client

GetV2Keys ( string resourceGroupName, string storageAccountName ) : string>.Dictionary

Method Details

AzureEndpointsCommunicator() public méthode

Default Constructor.
public AzureEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The Azure context
Résultat Microsoft.Azure.Commands.Common.Authentication

GetStorageKeys() public méthode

public GetStorageKeys ( string storageName ) : string>.Dictionary
storageName string
Résultat string>.Dictionary

GetStorageKeys() public méthode

Gets the storage keys for the given storage account.
public GetStorageKeys ( string resourceGroupName, string storageAccountName ) : string>.Dictionary
resourceGroupName string
storageAccountName string
Résultat string>.Dictionary

GetStorageKeysAsync() public méthode

Provides the storage keys for the storage account within the given resource group
public GetStorageKeysAsync ( string resourceGroupName, string storageAccountName ) : string>>.Task
resourceGroupName string
storageAccountName string
Résultat string>>.Task

GetStorageResourceGroup() public méthode

Returns the resource group of the provided storage account
public GetStorageResourceGroup ( string storageAccountName ) : string
storageAccountName string
Résultat string