Share via


MockableDataBoxSubscriptionResource.GetRegionConfigurationAsync Method

Definition

This API provides configuration details specific to given region/location at Subscription level.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfiguration
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult>> GetRegionConfigurationAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.RegionConfigurationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRegionConfigurationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.RegionConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult>>
override this.GetRegionConfigurationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.RegionConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult>>
Public Overridable Function GetRegionConfigurationAsync (location As AzureLocation, content As RegionConfigurationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RegionConfigurationResult))

Parameters

location
AzureLocation

The location of the resource.

content
RegionConfigurationContent

Request body to get the configuration for the region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to