Dela via


DnsResolverDomainListCollection Class

Definition

A class representing a collection of DnsResolverDomainListResource and their operations. Each DnsResolverDomainListResource in the collection will belong to the same instance of ResourceGroupResource. To get a DnsResolverDomainListCollection instance call the GetDnsResolverDomainLists method from an instance of ResourceGroupResource.

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

Constructors

DnsResolverDomainListCollection()

Initializes a new instance of the DnsResolverDomainListCollection 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

CreateOrUpdate(WaitUntil, String, DnsResolverDomainListData, String, String, CancellationToken)

Creates or updates a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
CreateOrUpdateAsync(WaitUntil, String, DnsResolverDomainListData, String, String, CancellationToken)

Creates or updates a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
Get(String, CancellationToken)

Gets properties of a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetAll(Nullable<Int32>, CancellationToken)

Lists DNS resolver domain lists within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists
  • Operation Id: DnsResolverDomainLists_ListByResourceGroup
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists DNS resolver domain lists within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists
  • Operation Id: DnsResolverDomainLists_ListByResourceGroup
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetAsync(String, CancellationToken)

Gets properties of a DNS resolver domain list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolverDomainLists/{dnsResolverDomainListName}
  • Operation Id: DnsResolverDomainLists_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverDomainListResource
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<DnsResolverDomainListResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DnsResolverDomainListResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to