Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.arm.resources.collection; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;
Provides access to getting a specific Azure resource based on its name within the current resource group.

(Note this interface is not intended to be implemented by user code.)

Type parameters:
  • <T> – the type of the resource collection
/** * Provides access to getting a specific Azure resource based on its name within the current resource group. * <p> * (Note this interface is not intended to be implemented by user code.) * @param <T> the type of the resource collection */
@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsGettingByName<T> {
Gets the information about a resource from Azure based on the resource name within the current resource group.
Params:
  • name – the name of the resource. (Note, this is not the resource ID.)
Returns:an immutable representation of the resource
/** * Gets the information about a resource from Azure based on the resource name within the current resource group. * * @param name the name of the resource. (Note, this is not the resource ID.) * @return an immutable representation of the resource */
T getByName(String name); }