Udostępnij za pośrednictwem


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
  • Default Api Version: 2019-11-01
  • Resource: FrontDoorNetworkExperimentProfileResource
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