Compartilhar via


ExtendedZoneCollection Class

Definition

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

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

Constructors

ExtendedZoneCollection()

Initializes a new instance of the ExtendedZoneCollection 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(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
Get(String, CancellationToken)

Gets an Azure Extended Zone for a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
GetAll(CancellationToken)

Lists the Azure Extended Zones available to a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones
  • Operation Id: ExtendedZones_ListBySubscription
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
GetAllAsync(CancellationToken)

Lists the Azure Extended Zones available to a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones
  • Operation Id: ExtendedZones_ListBySubscription
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
GetAsync(String, CancellationToken)

Gets an Azure Extended Zone for a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}
  • Operation Id: ExtendedZones_Get
  • Default Api Version: 2024-04-01-preview
  • Resource: ExtendedZoneResource
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<ExtendedZoneResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExtendedZoneResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to