Share via


MockableDataBoxResourceGroupResource.GetRegionConfigurationAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfigurationByResourceGroup
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 at resource group level.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to