MockableDataBoxResourceGroupResource.GetRegionConfigurationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET