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 Mono<Void> 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 Mono<Void> 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 Mono<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 Mono<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 Mono<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 List<T> listBySqlServer(SqlServer sqlServer)

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

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

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

abstract PagedFlux<T> listBySqlServerAsync(SqlServer sqlServer)

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

abstract PagedFlux<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 Mono 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 Mono 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 Mono 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 Mono 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 Mono 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 PagedFlux 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 PagedFlux 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