/// <summary> /// Creates or updates an interface endpoint in the specified resource group. /// </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> /// <param name='parameters'> /// Parameters supplied to the create or update interface endpoint operation /// </param> public static InterfaceEndpoint CreateOrUpdate(this IInterfaceEndpointsOperations operations, string resourceGroupName, string interfaceEndpointName, InterfaceEndpoint parameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, interfaceEndpointName, parameters).GetAwaiter().GetResult()); }