RegionInfoResourceCollection Class

Definition

A class representing a collection of RegionInfoResource and their operations. Each RegionInfoResource in the collection will belong to the same instance of SubscriptionResource. To get a RegionInfoResourceCollection instance call the GetRegionInfoResources method from an instance of SubscriptionResource.

public class RegionInfoResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.NetApp.RegionInfoResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.RegionInfoResource>
type RegionInfoResourceCollection = class
    inherit ArmCollection
    interface seq<RegionInfoResource>
    interface IEnumerable
    interface IAsyncEnumerable<RegionInfoResource>
Public Class RegionInfoResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of RegionInfoResource), IEnumerable(Of RegionInfoResource)
Inheritance
RegionInfoResourceCollection
Implements

Constructors

RegionInfoResourceCollection()

Initializes a new instance of the RegionInfoResourceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
  • Operation Id: NetAppResourceRegionInfos_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
ExistsAsync(CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
  • Operation Id: NetAppResourceRegionInfos_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
Get(CancellationToken)

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: 2023-05-01-preview
  • Resource: RegionInfoResource
GetAll(CancellationToken)

Provides region specific information.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos
  • Operation Id: NetAppResourceRegionInfos_List
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
GetAllAsync(CancellationToken)

Provides region specific information.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos
  • Operation Id: NetAppResourceRegionInfos_List
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
GetAsync(CancellationToken)

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: 2023-05-01-preview
  • Resource: RegionInfoResource
GetIfExists(CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
  • Operation Id: NetAppResourceRegionInfos_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
GetIfExistsAsync(CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default
  • Operation Id: NetAppResourceRegionInfos_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: RegionInfoResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<RegionInfoResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RegionInfoResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to