FrontDoorExtensions.GetFrontDoorNetworkExperimentProfileAsync Method

Definition

Gets an NetworkExperiment Profile by ProfileName

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}
  • Operation Id: NetworkExperimentProfiles_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>> GetFrontDoorNetworkExperimentProfileAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string profileName, System.Threading.CancellationToken cancellationToken = default);
static member GetFrontDoorNetworkExperimentProfileAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorNetworkExperimentProfileResource>>
<Extension()>
Public Function GetFrontDoorNetworkExperimentProfileAsync (resourceGroupResource As ResourceGroupResource, profileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNetworkExperimentProfileResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

profileName
String

The Profile identifier associated with the Tenant and Partner.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or profileName is null.

profileName is an empty string, and was expected to be non-empty.

Applies to