Share via


FeaturesOperationsExtensions.GetAsync Method

Definition

Gets the preview feature with the specified name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.FeatureResult> GetAsync (this Microsoft.Azure.Management.ResourceManager.IFeaturesOperations operations, string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.IFeaturesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.FeatureResult>
<Extension()>
Public Function GetAsync (operations As IFeaturesOperations, resourceProviderNamespace As String, featureName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FeatureResult)

Parameters

operations
IFeaturesOperations

The operations group for this extension method.

resourceProviderNamespace
String

The resource provider namespace for the feature.

featureName
String

The name of the feature to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to