/// <summary> /// Get the list of capabilities of the location. /// </summary> /// <remarks> /// Get the list of CPU/memory/GPU capabilities of a region. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The identifier for the physical azure location. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <CapabilitiesListResultInner> ListCapabilitiesAsync(this IContainerInstanceManagementClient operations, string location, CancellationToken cancellationToken = default(CancellationToken)) { return(await operations.ListCapabilitiesAsync(location, cancellationToken).ConfigureAwait(false)); }
/// <summary> /// Get the list of capabilities of the location. /// </summary> /// <remarks> /// Get the list of CPU/memory/GPU capabilities of a region. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The identifier for the physical azure location. /// </param> public static CapabilitiesListResult ListCapabilities(this IContainerInstanceManagementClient operations, string location) { return(operations.ListCapabilitiesAsync(location).GetAwaiter().GetResult()); }