TrafficManagerEndpointCollection Class

Definition

The class to overcome issue with the TrafficManagerEndpointData Collection REST API where there is no REST API counterpart that GETs all endpoint data resources. The all endpoint data resources are retrieved from the collection of endpoints attached to TrafficManagerProfileData.

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

Constructors

Name Description
TrafficManagerEndpointCollection()

Initializes a new instance of TrafficManagerEndpointCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, TrafficManagerEndpointType, String, TrafficManagerEndpointData, CancellationToken)

Creates or updates a Traffic Manager endpoint.

CreateOrUpdateAsync(WaitUntil, TrafficManagerEndpointType, String, TrafficManagerEndpointData, CancellationToken)

Creates or updates a Traffic Manager endpoint.

Exists(TrafficManagerEndpointType, String, CancellationToken)

Checks to see if the resource exists in azure.

ExistsAsync(TrafficManagerEndpointType, String, CancellationToken)

Checks to see if the resource exists in azure.

Get(TrafficManagerEndpointType, String, CancellationToken)

Gets a Traffic Manager endpoint.

GetAll()

Lists all Traffic Manager endpoints within a profile.

GetAllAsync()

Asynchronously lists all Traffic Manager endpoints within a profile.

GetAsync(TrafficManagerEndpointType, String, CancellationToken)

Gets a Traffic Manager endpoint.

GetIfExists(TrafficManagerEndpointType, String, CancellationToken)

Tries to get details for this resource from the service.

GetIfExistsAsync(TrafficManagerEndpointType, String, CancellationToken)

Tries to get details for this resource from the service.

TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<TrafficManagerEndpointData>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TrafficManagerEndpointData>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to