/// <summary> /// Gets the integration service environment network health. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroup'> /// The resource group. /// </param> /// <param name='integrationServiceEnvironmentName'> /// The integration service environment name. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IDictionary <string, IntegrationServiceEnvironmentSubnetNetworkHealth> > GetAsync(this IIntegrationServiceEnvironmentNetworkHealthOperations operations, string resourceGroup, string integrationServiceEnvironmentName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroup, integrationServiceEnvironmentName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets the integration service environment network health. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroup'> /// The resource group. /// </param> /// <param name='integrationServiceEnvironmentName'> /// The integration service environment name. /// </param> public static IDictionary <string, IntegrationServiceEnvironmentSubnetNetworkHealth> Get(this IIntegrationServiceEnvironmentNetworkHealthOperations operations, string resourceGroup, string integrationServiceEnvironmentName) { return(operations.GetAsync(resourceGroup, integrationServiceEnvironmentName).GetAwaiter().GetResult()); }