コード例 #1
0
 /// <summary>
 /// Check the cluster name is available or not.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The Azure location (region) for which to make the request.
 /// </param>
 /// <param name='parameters'>
 /// </param>
 public static NameAvailabilityCheckResult CheckNameAvailability(this ILocationsOperations operations, string location, NameAvailabilityCheckRequestParameters parameters)
 {
     return(operations.CheckNameAvailabilityAsync(location, parameters).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Check Name Availability
 /// </summary>
 /// <remarks>
 /// Checks whether the Video Analyzer resource name is available.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='locationName'>
 /// Location Name.
 /// </param>
 /// <param name='name'>
 /// The name of the resource for which availability needs to be checked.
 /// </param>
 /// <param name='type'>
 /// The resource type.
 /// </param>
 public static CheckNameAvailabilityResponse CheckNameAvailability(this ILocationsOperations operations, string locationName, string name = default(string), string type = default(string))
 {
     return(operations.CheckNameAvailabilityAsync(locationName, name, type).GetAwaiter().GetResult());
 }