Interface SupportsGettingByResourceGroup<T>
-
- Type Parameters:
T- the type of the resource to get.
- All Known Subinterfaces:
Deployments,ManagementLocks
public interface SupportsGettingByResourceGroup<T>Provides access to getting a specific Azure resource based on its name and resource group.(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 TgetByResourceGroup(String resourceGroupName, String name)Gets the information about a resource from Azure based on the resource name and the name of its resource group.Mono<T>getByResourceGroupAsync(String resourceGroupName, String name)Gets the information about a resource from Azure based on the resource name and the name of its resource group.
-
-
-
Method Detail
-
getByResourceGroup
T getByResourceGroup(String resourceGroupName, String name)
Gets the information about a resource from Azure based on the resource name and the name of its resource group.- Parameters:
resourceGroupName- the name of the resource group the resource is inname- the name of the resource. (Note, this is not the ID)- Returns:
- an immutable representation of the resource
-
getByResourceGroupAsync
Mono<T> getByResourceGroupAsync(String resourceGroupName, String name)
Gets the information about a resource from Azure based on the resource name and the name of its resource group.- Parameters:
resourceGroupName- the name of the resource group the resource is inname- the name of the resource. (Note, this is not the ID)- Returns:
- a
Monothat emits the found resource asynchronously.
-
-