TopLevelDomainCollection Class

Definition

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

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

Constructors

TopLevelDomainCollection()

Initializes a new instance of the TopLevelDomainCollection 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.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
Get(String, CancellationToken)

Description for Get details of a top-level domain.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
GetAll(CancellationToken)

Description for Get all top-level domains supported for registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains
  • Operation Id: TopLevelDomains_List
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
GetAllAsync(CancellationToken)

Description for Get all top-level domains supported for registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains
  • Operation Id: TopLevelDomains_List
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
GetAsync(String, CancellationToken)

Description for Get details of a top-level domain.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}
  • Operation Id: TopLevelDomains_Get
  • Default Api Version: 2023-12-01
  • Resource: TopLevelDomainResource
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<TopLevelDomainResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TopLevelDomainResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to