C# Class Elastacloud.AzureManagement.Fluent.SqlAzure.SqlAzureManager

The Sql Azure Manager class will act to send the SQL Azure requests to the management service
Inheritance: IAzureManager, ISqlAzureServer, ISqlAzureDatabase, ISqlAzureSecurity, ISqlAzureDatabaseActivity, ISqlCertificateActivity, ISqlCompleteActivity
Show file Open project: azurecoder/fluent-management Class Usage Examples

Private Properties

Property Type Description
ISqlAzureDatabase ISqlAzureDatabaseActivity
ISqlAzureDatabaseActivity ISqlAzureDatabaseActivity
ISqlAzureDatabaseActivity ISqlAzureDatabaseActivity
ISqlAzureSecurity ISqlAzureDatabase
ISqlAzureSecurity ISqlAzureSecurity
ISqlAzureSecurity ISqlAzureSecurity
ISqlAzureSecurity ISqlAzureSecurity
ISqlAzureSecurity ISqlCompleteActivity
ISqlCertificateActivity ISqlAzureSecurity
ISqlCertificateActivity ISqlAzureSecurity
ISqlCompleteActivity IServiceTransaction
SqlAzureManager System
WriteComplete void

Public Methods

Method Description
AddNewServer ( string location ) : ISqlCertificateActivity

Used to add a new Sql Azure Server instance

DeleteServer ( string name ) : ISqlCertificateActivity

Deletes a Sql Azure server instance in the cloud

Go ( ) : IServiceTransaction

Executes the command to build the server and database

UseSqlAzureServerWithName ( string name ) : ISqlCertificateActivity

Given an existing server currently uses this to perform a database addition to

Private Methods

Method Description
ISqlAzureDatabase ( string name ) : ISqlAzureDatabaseActivity

Adds a new database to a SQL Azure server instance

ISqlAzureDatabaseActivity ( string scriptDirectory ) : ISqlAzureDatabaseActivity

Used to read in a set of scripts given a scripts directory

ISqlAzureDatabaseActivity ( string username, string password ) : ISqlAzureDatabaseActivity

Add a new database administrator to the server

ISqlAzureSecurity ( string username, string password ) : ISqlAzureDatabase

Adds credentials to a Sql Azure server instance

ISqlAzureSecurity ( ) : ISqlAzureSecurity

Adds a hosted service IP rule of 0.0.0.0

ISqlAzureSecurity ( string rulename ) : ISqlAzureSecurity

A firewall rule for the requesting IP address

ISqlAzureSecurity ( string rulename, string iplow, string iphigh ) : ISqlAzureSecurity

Adds a new firewall rule to the Sql Azure server

ISqlAzureSecurity ( ) : ISqlCompleteActivity

Adds no database activity to the script mix

ISqlCertificateActivity ( X509Certificate2 certificate ) : ISqlAzureSecurity
ISqlCertificateActivity ( string thumbprint ) : ISqlAzureSecurity
ISqlCompleteActivity ( ) : IServiceTransaction

Used to return an IServiceTransaction interface

SqlAzureManager ( string subscriptionId ) : System

The command to delete the Sql Azure server instance

Construction of the Sql Azure Manager class on a particular subscription

WriteComplete ( EventPoint point, string message ) : void

Creates and logs a messages

Method Details

AddNewServer() public method

Used to add a new Sql Azure Server instance
public AddNewServer ( string location ) : ISqlCertificateActivity
location string the location of the new server
return ISqlCertificateActivity

DeleteServer() public method

Deletes a Sql Azure server instance in the cloud
public DeleteServer ( string name ) : ISqlCertificateActivity
name string The given name of the Sql Azure server
return ISqlCertificateActivity

Go() public method

Executes the command to build the server and database
public Go ( ) : IServiceTransaction
return IServiceTransaction

UseSqlAzureServerWithName() public method

Given an existing server currently uses this to perform a database addition to
public UseSqlAzureServerWithName ( string name ) : ISqlCertificateActivity
name string The name of the server
return ISqlCertificateActivity