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
abstract void deleteById(String id)

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

abstract rx.Completable deleteByIdAsync(String id)

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

abstract 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.

abstract rx.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.

abstract T getById(String id)

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

abstract rx.Observable<T> getByIdAsync(String id)

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

abstract 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.

abstract 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.

abstract rx.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.

abstract rx.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.

abstract java.util.List<T> listBySqlServer(SqlServer sqlServer)

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

abstract java.util.List<T> listBySqlServer(String resourceGroupName, String sqlServerName)

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

abstract rx.Observable<T> listBySqlServerAsync(SqlServer sqlServer)

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

abstract rx.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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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