T - the type of the resource to get.public interface SupportsGettingByResourceGroup<T>
(Note this interface is not intended to be implemented by user code.)
| Modifier and Type | Method and Description |
|---|---|
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.
|
rx.Observable<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.
|
ServiceFuture<T> |
getByResourceGroupAsync(String resourceGroupName,
String name,
ServiceCallback<T> callback)
Gets the information about a resource from Azure based on the resource name and the name of its resource group.
|
T getByResourceGroup(String resourceGroupName, String name)
resourceGroupName - the name of the resource group the resource is inname - the name of the resource. (Note, this is not the ID)rx.Observable<T> getByResourceGroupAsync(String resourceGroupName, String name)
resourceGroupName - the name of the resource group the resource is inname - the name of the resource. (Note, this is not the ID)ServiceFuture<T> getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback)
resourceGroupName - the name of the resource group the resource is inname - the name of the resource. (Note, this is not the ID)callback - the callback to call on success or failure/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/