C# 클래스 Microsoft.Azure.Commands.Sql.Database.Services.AzureSqlDatabaseAdapter

Adapter for database operations
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetDatabase Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
GetDatabaseExpanded Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModelExpanded
ListDatabaseActivity IEnumerable
ListDatabases ICollection
ListDatabasesExpanded ICollection
UpsertDatabase Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel

공개 메소드들

메소드 설명
AzureSqlDatabaseAdapter ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs a database adapter

CreateDatabaseModelFromResponse ( string resourceGroup, string serverName, Management database ) : AzureSqlDatabaseModel

Converts the response from the service to a powershell database object

CreateExpandedDatabaseModelFromResponse ( string resourceGroup, string serverName, Management database ) : AzureSqlDatabaseModelExpanded

Converts the response from the service to a powershell database object

GetServerLocation ( string resourceGroupName, string serverName ) : string

Gets the Location of the server.

RemoveDatabase ( string resourceGroupName, string serverName, string databaseName ) : void

Deletes a database

비공개 메소드들

메소드 설명
GetDatabase ( string resourceGroupName, string serverName, string databaseName ) : AzureSqlDatabaseModel

Gets an Azure Sql Database by name.

GetDatabaseExpanded ( string resourceGroupName, string serverName, string databaseName ) : AzureSqlDatabaseModelExpanded

Gets an Azure Sql Database by name with additional information.

ListDatabaseActivity ( string resourceGroupName, string serverName, string elasticPoolName, string databaseName, System.Guid operationId ) : IEnumerable
ListDatabases ( string resourceGroupName, string serverName ) : ICollection

Gets a list of Azure Sql Databases.

ListDatabasesExpanded ( string resourceGroupName, string serverName ) : ICollection

Gets a list of Azure Sql Databases with additional information.

UpsertDatabase ( string resourceGroup, string serverName, AzureSqlDatabaseModel model ) : AzureSqlDatabaseModel

Creates or updates an Azure Sql Database.

메소드 상세

AzureSqlDatabaseAdapter() 공개 메소드

Constructs a database adapter
public AzureSqlDatabaseAdapter ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.Commands.Common.Authentication.Models

CreateDatabaseModelFromResponse() 공개 정적인 메소드

Converts the response from the service to a powershell database object
public static CreateDatabaseModelFromResponse ( string resourceGroup, string serverName, Management database ) : AzureSqlDatabaseModel
resourceGroup string The resource group the server is in
serverName string The name of the Azure Sql Database Server
database Management The service response
리턴 Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel

CreateExpandedDatabaseModelFromResponse() 공개 정적인 메소드

Converts the response from the service to a powershell database object
public static CreateExpandedDatabaseModelFromResponse ( string resourceGroup, string serverName, Management database ) : AzureSqlDatabaseModelExpanded
resourceGroup string The resource group the server is in
serverName string The name of the Azure Sql Database Server
database Management The service response
리턴 Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModelExpanded

GetServerLocation() 공개 메소드

Gets the Location of the server.
public GetServerLocation ( string resourceGroupName, string serverName ) : string
resourceGroupName string The resource group the server is in
serverName string The name of the server
리턴 string

RemoveDatabase() 공개 메소드

Deletes a database
public RemoveDatabase ( string resourceGroupName, string serverName, string databaseName ) : void
resourceGroupName string The resource group the server is in
serverName string The name of the Azure Sql Database Server
databaseName string The name of the Azure Sql Database to delete
리턴 void