SqlChildrenOperations<T> Interface

Type Parameters

T

the FluentT interface of the SQL server child resource

public interface SqlChildrenOperations

Base class for Azure SQL Server child resource operations.

Method Summary

Modifier and Type Method and Description
void deleteById(String id)

Deletes a child resource from Azure SQL server, identifying it by its resource ID.

Completable deleteByIdAsync(String id)

Asynchronously delete a child resource from Azure SQL server, identifying it by its resource ID.

void deleteBySqlServer(String resourceGroupName, String sqlServerName, String name)

Deletes a child resource from Azure SQL server, identifying it by its name and its resource group.

Completable deleteBySqlServerAsync(String resourceGroupName, String sqlServerName, String name)

Asynchronously delete a child resource from Azure SQL server, identifying it by its name and its resource group.

T getById(String id)

Gets the information about a child resource from Azure SQL server using the resource ID.

Observable<T> getByIdAsync(String id)

Asynchronously gets the information about a child resource from Azure SQL server using the resource ID.

T getBySqlServer(SqlServer sqlServer, String name)

Gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

T getBySqlServer(String resourceGroupName, String sqlServerName, String name)

Gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Observable<T> getBySqlServerAsync(SqlServer sqlServer, String name)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Observable<T> getBySqlServerAsync(String resourceGroupName, String sqlServerName, String name)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

List<T> listBySqlServer(SqlServer sqlServer)

Lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

List<T> listBySqlServer(String resourceGroupName, String sqlServerName)

Lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Observable<T> listBySqlServerAsync(SqlServer sqlServer)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Observable<T> listBySqlServerAsync(String resourceGroupName, String sqlServerName)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Method Details

deleteById

public void deleteById(String id)

Deletes a child resource from Azure SQL server, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

deleteByIdAsync

public Completable deleteByIdAsync(String id)

Asynchronously delete a child resource from Azure SQL server, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

Returns:

a representation of the deferred computation of this call

deleteBySqlServer

public void deleteBySqlServer(String resourceGroupName, String sqlServerName, String name)

Deletes a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource
name - the name of the child resource

deleteBySqlServerAsync

public Completable deleteBySqlServerAsync(String resourceGroupName, String sqlServerName, String name)

Asynchronously delete a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource
name - the name of the child resource

Returns:

a representation of the deferred computation of this call

getById

public T getById(String id)

Gets the information about a child resource from Azure SQL server using the resource ID.

Parameters:

id - the ID of the resource.

Returns:

an immutable representation of the resource

getByIdAsync

public Observable getByIdAsync(String id)

Asynchronously gets the information about a child resource from Azure SQL server using the resource ID.

Parameters:

id - the ID of the resource.

Returns:

a representation of the deferred computation of this call

getBySqlServer

public T getBySqlServer(SqlServer sqlServer, String name)

Gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

sqlServer - the SQL server parent resource
name - the name of the child resource

Returns:

an immutable representation of the resource

getBySqlServer

public T getBySqlServer(String resourceGroupName, String sqlServerName, String name)

Gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource
name - the name of the child resource

Returns:

an immutable representation of the resource

getBySqlServerAsync

public Observable getBySqlServerAsync(SqlServer sqlServer, String name)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

sqlServer - the SQL server parent resource
name - the name of the child resource

Returns:

a representation of the deferred computation of this call returning the found resource

getBySqlServerAsync

public Observable getBySqlServerAsync(String resourceGroupName, String sqlServerName, String name)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource
name - the name of the child resource

Returns:

a representation of the deferred computation of this call returning the found resource

listBySqlServer

public List listBySqlServer(SqlServer sqlServer)

Lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Parameters:

sqlServer - the parent Azure SQL server.

Returns:

the list of resources

listBySqlServer

public List listBySqlServer(String resourceGroupName, String sqlServerName)

Lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Parameters:

resourceGroupName - the name of the resource group to list the resources from
sqlServerName - the name of parent Azure SQL server.

Returns:

the list of resources

listBySqlServerAsync

public Observable listBySqlServerAsync(SqlServer sqlServer)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Parameters:

sqlServer - the parent Azure SQL server.

Returns:

a representation of the deferred computation of this call

listBySqlServerAsync

public Observable listBySqlServerAsync(String resourceGroupName, String sqlServerName)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

Parameters:

resourceGroupName - the name of the resource group to list the resources from
sqlServerName - the name of parent Azure SQL server.

Returns:

a representation of the deferred computation of this call

Applies to