Interface SqlChildrenOperations<T>
-
- Type Parameters:
T- the FluentT interface of the SQL server child resource
- All Known Subinterfaces:
SqlDatabaseOperations,SqlElasticPoolOperations,SqlFailoverGroupOperations,SqlFirewallRuleOperations,SqlServerDnsAliasOperations,SqlServerKeyOperations,SqlVirtualNetworkRuleOperations
public interface SqlChildrenOperations<T>Base class for Azure SQL Server child resource operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSqlChildrenOperations.SqlChildrenActionsDefinition<T>Base interface for Azure SQL Server child resource actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteById(String id)Deletes a child resource from Azure SQL server, identifying it by its resource ID.Mono<Void>deleteByIdAsync(String id)Asynchronously delete a child resource from Azure SQL server, identifying it by its resource ID.voiddeleteBySqlServer(String resourceGroupName, String sqlServerName, String name)Deletes a child resource from Azure SQL server, identifying it by its name and its resource group.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.TgetById(String id)Gets the information about a child resource from Azure SQL server using the resource ID.Mono<T>getByIdAsync(String id)Asynchronously gets the information about a child resource from Azure SQL server using the resource ID.TgetBySqlServer(SqlServer sqlServer, String name)Gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.TgetBySqlServer(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.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.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.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.com.azure.core.http.rest.PagedFlux<T>listBySqlServerAsync(SqlServer sqlServer)Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.com.azure.core.http.rest.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 Detail
-
getBySqlServer
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 groupsqlServerName- the name of SQL server parent resourcename- the name of the child resource- Returns:
- an immutable representation of the resource
-
getBySqlServerAsync
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.- Parameters:
resourceGroupName- the name of resource groupsqlServerName- the name of SQL server parent resourcename- the name of the child resource- Returns:
- a representation of the deferred computation of this call returning the found resource
-
getBySqlServer
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 resourcename- the name of the child resource- Returns:
- an immutable representation of the resource
-
getBySqlServerAsync
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.- Parameters:
sqlServer- the SQL server parent resourcename- the name of the child resource- Returns:
- a representation of the deferred computation of this call returning the found resource
-
getById
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
Mono<T> 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
-
deleteBySqlServer
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 groupsqlServerName- the name of SQL server parent resourcename- the name of the child resource
-
deleteBySqlServerAsync
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.- Parameters:
resourceGroupName- the name of resource groupsqlServerName- the name of SQL server parent resourcename- the name of the child resource- Returns:
- a representation of the deferred computation of this call
-
deleteById
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
Mono<Void> 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
-
listBySqlServer
List<T> 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 fromsqlServerName- the name of parent Azure SQL server.- Returns:
- the list of resources
-
listBySqlServerAsync
com.azure.core.http.rest.PagedFlux<T> 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 fromsqlServerName- the name of parent Azure SQL server.- Returns:
- a representation of the deferred computation of this call
-
listBySqlServer
List<T> 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
-
listBySqlServerAsync
com.azure.core.http.rest.PagedFlux<T> 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
-
-