/// <summary> /// Creates a new Backend Pool with the specified Pool name within the /// specified Front Door. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the Resource group within the Azure subscription. /// </param> /// <param name='frontDoorName'> /// Name of the Front Door which is globally unique. /// </param> /// <param name='backendPoolName'> /// Name of the Backend Pool which is unique within the Front Door. /// </param> /// <param name='backendPoolParameters'> /// Backend Pool properties needed to create a new Pool. /// </param> public static BackendPool CreateOrUpdate(this IBackendPoolsOperations operations, string resourceGroupName, string frontDoorName, string backendPoolName, BackendPool backendPoolParameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, frontDoorName, backendPoolName, backendPoolParameters).GetAwaiter().GetResult()); }