NetAppExtensions.GetRegionInfoResource 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.
Overloads
GetRegionInfoResource(SubscriptionResource, AzureLocation, CancellationToken) |
Provides storage to network proximity and logical zone mapping information.
|
GetRegionInfoResource(ArmClient, ResourceIdentifier) |
Gets an object representing a RegionInfoResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create a RegionInfoResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRegionInfoResource(ResourceIdentifier) instead. |
GetRegionInfoResource(SubscriptionResource, AzureLocation, CancellationToken)
- Source:
- NetAppExtensions.cs
- Source:
- NetAppExtensions.cs
Provides storage to network proximity and logical zone mapping information.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
- Operation Id: NetAppResourceRegionInfos_Get
- Default Api Version: 2024-07-01
- Resource: RegionInfoResource
public static Azure.Response<Azure.ResourceManager.NetApp.RegionInfoResource> GetRegionInfoResource (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetRegionInfoResource : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.RegionInfoResource>
<Extension()>
Public Function GetRegionInfoResource (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RegionInfoResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource
is null.
Applies to
GetRegionInfoResource(ArmClient, ResourceIdentifier)
- Source:
- NetAppExtensions.cs
- Source:
- NetAppExtensions.cs
Gets an object representing a RegionInfoResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create a RegionInfoResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRegionInfoResource(ResourceIdentifier) instead.
public static Azure.ResourceManager.NetApp.RegionInfoResource GetRegionInfoResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetRegionInfoResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.RegionInfoResource
<Extension()>
Public Function GetRegionInfoResource (client As ArmClient, id As ResourceIdentifier) As RegionInfoResource
Parameters
The resource ID of the resource to get.
Returns
Returns a RegionInfoResource object.
Exceptions
client
is null.
Applies to
Azure SDK for .NET