/// <summary> /// Check nested resource name validity and availability /// </summary> /// <remarks> /// This method checks whether a proposed nested resource name is valid and /// available. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupName'> /// Name of the resource group /// </param> /// <param name='serviceName'> /// Name of the service /// </param> /// <param name='parameters'> /// Requested name to validate /// </param> public static NameAvailabilityResponse CheckChildrenNameAvailability(this IServicesOperations operations, string groupName, string serviceName, NameAvailabilityRequest parameters) { return(operations.CheckChildrenNameAvailabilityAsync(groupName, serviceName, parameters).GetAwaiter().GetResult()); }