C# Class Microsoft.Azure.Commands.Sql.Location_Capabilities.Services.AzureSqlCapabilitiesCommunicator

Communicator class for communicating between APIs and powershell cmdlet
Exibir arquivo Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Public Methods

Method Description
AzureSqlCapabilitiesCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates a communicator for Azure Sql Databases FirewallRules

Get ( string locationName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.LocationCapability

Gets the Location Capabilities for the specified region for the current subscription.

Private Methods

Method Description
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.

Method Details

AzureSqlCapabilitiesCommunicator() public method

Creates a communicator for Azure Sql Databases FirewallRules
public AzureSqlCapabilitiesCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

Get() public method

Gets the Location Capabilities for the specified region for the current subscription.
public Get ( string locationName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.LocationCapability
locationName string The name of the region for which to get the location capabilities
clientRequestId string The client request ID to use
return Microsoft.Azure.Management.Sql.Models.LocationCapability