C# Класс Microsoft.Azure.Commands.Sql.Common.AzureEndpointsCommunicator

This class is responsible for all the REST communication with the management libraries
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

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

Метод Описание
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

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

Метод Описание
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

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

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

Default Constructor.
public AzureEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The Azure context
Результат Microsoft.Azure.Commands.Common.Authentication

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

public GetStorageKeys ( string storageName ) : string>.Dictionary
storageName string
Результат string>.Dictionary

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

Gets the storage keys for the given storage account.
public GetStorageKeys ( string resourceGroupName, string storageAccountName ) : string>.Dictionary
resourceGroupName string
storageAccountName string
Результат string>.Dictionary

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

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
Результат string>>.Task

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

Returns the resource group of the provided storage account
public GetStorageResourceGroup ( string storageAccountName ) : string
storageAccountName string
Результат string