Sdílet prostřednictvím


DataBoxExtensions.GetRegionConfiguration Method

Definition

Overloads

GetRegionConfiguration(SubscriptionResource, AzureLocation, RegionConfigurationContent, CancellationToken)

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
GetRegionConfiguration(ResourceGroupResource, AzureLocation, RegionConfigurationContent, CancellationToken)

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

GetRegionConfiguration(SubscriptionResource, AzureLocation, RegionConfigurationContent, CancellationToken)

Source:
DataBoxExtensions.cs

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 static Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult> GetRegionConfiguration (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.RegionConfigurationContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetRegionConfiguration : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.RegionConfigurationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult>
<Extension()>
Public Function GetRegionConfiguration (subscriptionResource As SubscriptionResource, location As AzureLocation, content As RegionConfigurationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RegionConfigurationResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

subscriptionResource or content is null.

Applies to

GetRegionConfiguration(ResourceGroupResource, AzureLocation, RegionConfigurationContent, CancellationToken)

Source:
DataBoxExtensions.cs

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 static Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult> GetRegionConfiguration (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.RegionConfigurationContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetRegionConfiguration : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.RegionConfigurationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.RegionConfigurationResult>
<Extension()>
Public Function GetRegionConfiguration (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As RegionConfigurationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RegionConfigurationResult)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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

resourceGroupResource or content is null.

Applies to