C# Class Microsoft.Azure.Commands.Sql.FirewallRule.Services.AzureSqlServerFirewallRuleCommunicator

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

Private Properties

Свойство Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Méthodes publiques

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

Creates a communicator for Azure Sql Databases FirewallRules

CreateOrUpdate ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.FirewallRuleCreateOrUpdateParameters parameters ) : Management.Sql.Models.FirewallRule

Creates or updates an Azure Sql Database Server FirewallRule

Get ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId ) : Management.Sql.Models.FirewallRule

Gets the Azure Sql Database Server FirewallRules

List ( string resourceGroupName, string serverName, string clientRequestId ) : IList

Lists Azure Sql Databases Server FirewallRules

Remove ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId ) : void

Deletes an Azure Sql Database Server FirewallRule

Private Methods

Méthode 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

AzureSqlServerFirewallRuleCommunicator() public méthode

Creates a communicator for Azure Sql Databases FirewallRules
public AzureSqlServerFirewallRuleCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat Microsoft.Azure.Commands.Common.Authentication

CreateOrUpdate() public méthode

Creates or updates an Azure Sql Database Server FirewallRule
public CreateOrUpdate ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.FirewallRuleCreateOrUpdateParameters parameters ) : Management.Sql.Models.FirewallRule
resourceGroupName string
serverName string
firewallRuleName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.FirewallRuleCreateOrUpdateParameters
Résultat Management.Sql.Models.FirewallRule

Get() public méthode

Gets the Azure Sql Database Server FirewallRules
public Get ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId ) : Management.Sql.Models.FirewallRule
resourceGroupName string
serverName string
firewallRuleName string
clientRequestId string
Résultat Management.Sql.Models.FirewallRule

List() public méthode

Lists Azure Sql Databases Server FirewallRules
public List ( string resourceGroupName, string serverName, string clientRequestId ) : IList
resourceGroupName string
serverName string
clientRequestId string
Résultat IList

Remove() public méthode

Deletes an Azure Sql Database Server FirewallRule
public Remove ( string resourceGroupName, string serverName, string firewallRuleName, string clientRequestId ) : void
resourceGroupName string
serverName string
firewallRuleName string
clientRequestId string
Résultat void