/// <summary> /// Delete the Provisioning Service /// </summary> /// <remarks> /// Deletes the Provisioning Service. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='provisioningServiceName'> /// Name of provisioning service to delete. /// </param> /// <param name='resourceGroupName'> /// Resource group identifier. /// </param> public static void Delete(this IIotDpsResourceOperations operations, string provisioningServiceName, string resourceGroupName) { operations.DeleteAsync(provisioningServiceName, resourceGroupName).GetAwaiter().GetResult(); }