DatabaseOperationsExtensions.GetById Method

Definition

Returns information about an Azure SQL Database.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseListResponse GetById (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations operations, string resourceGroupName, string serverName, string databaseId);
static member GetById : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations * string * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseListResponse
<Extension()>
Public Function GetById (operations As IDatabaseOperations, resourceGroupName As String, serverName As String, databaseId As String) As DatabaseListResponse

Parameters

operations
IDatabaseOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseId
String

Required. The Id of the Azure SQL Database to be retrieved.

Returns

Represents the response to a List Azure Sql Database request.

Applies to