C# Class Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Services.AzureSqlDatabaseTransparentDataEncryptionCommunicator

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

Private Properties

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

Public Methods

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

Creates a communicator for Azure Sql Databases TransparentDataEncryption

CreateOrUpdate ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.TransparentDataEncryptionCreateOrUpdateParameters parameters ) : Management.Sql.Models.TransparentDataEncryption

Creates or updates an Azure Sql Database Transparent Data Encryption

Get ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Management.Sql.Models.TransparentDataEncryption

Gets the Azure Sql Database Transparent Data Encryption

ListActivity ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList

Gets Azure Sql Database Transparent Data Encryption Activity

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

AzureSqlDatabaseTransparentDataEncryptionCommunicator() public method

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

CreateOrUpdate() public method

Creates or updates an Azure Sql Database Transparent Data Encryption
public CreateOrUpdate ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.TransparentDataEncryptionCreateOrUpdateParameters parameters ) : Management.Sql.Models.TransparentDataEncryption
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.TransparentDataEncryptionCreateOrUpdateParameters
return Management.Sql.Models.TransparentDataEncryption

Get() public method

Gets the Azure Sql Database Transparent Data Encryption
public Get ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Management.Sql.Models.TransparentDataEncryption
resourceGroupName string
serverName string
databaseName string
clientRequestId string
return Management.Sql.Models.TransparentDataEncryption

ListActivity() public method

Gets Azure Sql Database Transparent Data Encryption Activity
public ListActivity ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : IList
resourceGroupName string
serverName string
databaseName string
clientRequestId string
return IList