/// <summary>
 /// Get exposure control feature for specific location.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='locationId'>
 /// The location identifier.
 /// </param>
 /// <param name='exposureControlRequest'>
 /// The exposure control request.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ExposureControlResponse> GetFeatureValueAsync(this IExposureControlOperations operations, string locationId, ExposureControlRequest exposureControlRequest, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetFeatureValueWithHttpMessagesAsync(locationId, exposureControlRequest, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get exposure control feature for specific factory.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='factoryName'>
 /// The factory name.
 /// </param>
 /// <param name='exposureControlRequest'>
 /// The exposure control request.
 /// </param>
 public static ExposureControlResponse GetFeatureValueByFactory(this IExposureControlOperations operations, string resourceGroupName, string factoryName, ExposureControlRequest exposureControlRequest)
 {
     return(operations.GetFeatureValueByFactoryAsync(resourceGroupName, factoryName, exposureControlRequest).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get exposure control feature for specific location.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='locationId'>
 /// The location identifier.
 /// </param>
 /// <param name='exposureControlRequest'>
 /// The exposure control request.
 /// </param>
 public static ExposureControlResponse GetFeatureValue(this IExposureControlOperations operations, string locationId, ExposureControlRequest exposureControlRequest)
 {
     return(operations.GetFeatureValueAsync(locationId, exposureControlRequest).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get exposure control feature for specific factory.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='factoryName'>
 /// The factory name.
 /// </param>
 /// <param name='exposureControlRequest'>
 /// The exposure control request.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ExposureControlResponse> GetFeatureValueByFactoryAsync(this IExposureControlOperations operations, string resourceGroupName, string factoryName, ExposureControlRequest exposureControlRequest, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetFeatureValueByFactoryWithHttpMessagesAsync(resourceGroupName, factoryName, exposureControlRequest, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }