/// <summary> /// Deletes the specified interface endpoint. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='interfaceEndpointName'> /// The name of the interface endpoint. /// </param> public static void Delete(this IInterfaceEndpointsOperations operations, string resourceGroupName, string interfaceEndpointName) { operations.DeleteAsync(resourceGroupName, interfaceEndpointName).GetAwaiter().GetResult(); }