Udostępnij za pośrednictwem


TrafficManagerEndpointCollection Class

Definition

The class to overcome issue with the TrafficManagerEndpoint Collection REST API where there is no REST API counterpart that GETs all profile data resource. The all profile 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

TrafficManagerEndpointCollection()

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

Create or update a Traffic Manager endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_CreateOrUpdate
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
CreateOrUpdateAsync(WaitUntil, String, String, TrafficManagerEndpointData, CancellationToken)

Create or update a Traffic Manager endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_CreateOrUpdate
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
Get(String, String, CancellationToken)

Gets a Traffic Manager endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
GetAll()

Lists all Traffic Manager endpoints within a profile.

GetAllAsync()

Asynchronously lists all Traffic Manager endpoints within a profile.

GetAsync(String, String, CancellationToken)

Gets a Traffic Manager endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Operation Id: Endpoints_Get
  • Default Api Version: 2022-04-01
  • Resource: TrafficManagerEndpointResource
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<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.

Applies to