/// <summary> /// Check if a provisioning service name is available. /// </summary> /// <remarks> /// Check if a provisioning service name is available. This will validate if /// the name is syntactically valid and if the name is usable /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='arguments'> /// Set the name parameter in the OperationInputs structure to the name of the /// provisioning service to check. /// </param> public static NameAvailabilityInfo CheckProvisioningServiceNameAvailability(this IIotDpsResourceOperations operations, OperationInputs arguments) { return(operations.CheckProvisioningServiceNameAvailabilityAsync(arguments).GetAwaiter().GetResult()); }