Interface SupportsGettingByParent<T,ParentT extends Resource & HasResourceGroup,ManagerT>
-
- Type Parameters:
T- the type of the resource collectionParentT- the parent resource typeManagerT- the client manager type representing the service
public interface SupportsGettingByParent<T,ParentT extends Resource & HasResourceGroup,ManagerT>Provides access to getting a specific Azure resource based on its resource group and parent.(Note this interface is not intended to be implemented by user code.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetByParent(String resourceGroup, String parentName, String name)Gets the information about a resource from Azure based on the resource id.TgetByParent(ParentT parentResource, String name)Gets the information about a resource from Azure based on the resource id.Mono<T>getByParentAsync(String resourceGroup, String parentName, String name)Gets the information about a resource from Azure based on the resource id.Mono<T>getByParentAsync(ParentT parentResource, String name)Gets the information about a resource from Azure based on the resource id.
-
-
-
Method Detail
-
getByParent
T getByParent(String resourceGroup, String parentName, String name)
Gets the information about a resource from Azure based on the resource id.- Parameters:
resourceGroup- the name of resource groupparentName- the name of parent resourcename- the name of resource- Returns:
- an immutable representation of the resource
-
getByParent
T getByParent(ParentT parentResource, String name)
Gets the information about a resource from Azure based on the resource id.- Parameters:
parentResource- the instance of parent resourcename- the name of resource- Returns:
- an immutable representation of the resource
-
getByParentAsync
Mono<T> getByParentAsync(String resourceGroup, String parentName, String name)
Gets the information about a resource from Azure based on the resource id.- Parameters:
resourceGroup- the name of resource groupparentName- the name of parent resourcename- the name of resource- Returns:
- a
Monothat emits the found resource asynchronously.
-
getByParentAsync
Mono<T> getByParentAsync(ParentT parentResource, String name)
Gets the information about a resource from Azure based on the resource id.- Parameters:
parentResource- the instance of parent resource.name- the name of resource.- Returns:
- a
Monothat emits the found resource asynchronously.
-
-