Share via


DnsResolverOutboundEndpointCollection Class

Definition

A class representing a collection of DnsResolverOutboundEndpointResource and their operations. Each DnsResolverOutboundEndpointResource in the collection will belong to the same instance of DnsResolverResource. To get a DnsResolverOutboundEndpointCollection instance call the GetDnsResolverOutboundEndpoints method from an instance of DnsResolverResource.

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

Constructors

DnsResolverOutboundEndpointCollection()

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

Creates or updates an outbound endpoint for a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
CreateOrUpdateAsync(WaitUntil, String, DnsResolverOutboundEndpointData, String, String, CancellationToken)

Creates or updates an outbound endpoint for a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_CreateOrUpdate
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
Get(String, CancellationToken)

Gets properties of an outbound endpoint for a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
GetAll(Nullable<Int32>, CancellationToken)

Lists outbound endpoints for a DNS resolver.

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

Lists outbound endpoints for a DNS resolver.

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

Gets properties of an outbound endpoint for a DNS resolver.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operation Id: OutboundEndpoints_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: DnsResolverOutboundEndpointResource
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<DnsResolverOutboundEndpointResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DnsResolverOutboundEndpointResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to