Share via


DataCollectionEndpointCollection Class

Definition

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

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

Constructors

DataCollectionEndpointCollection()

Initializes a new instance of the DataCollectionEndpointCollection 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, DataCollectionEndpointData, CancellationToken)

Creates or updates a data collection endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Create
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
CreateOrUpdateAsync(WaitUntil, String, DataCollectionEndpointData, CancellationToken)

Creates or updates a data collection endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Create
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
Get(String, CancellationToken)

Returns the specified data collection endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
GetAll(CancellationToken)

Lists all data collection endpoints in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints
  • Operation Id: DataCollectionEndpoints_ListByResourceGroup
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
GetAllAsync(CancellationToken)

Lists all data collection endpoints in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints
  • Operation Id: DataCollectionEndpoints_ListByResourceGroup
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
GetAsync(String, CancellationToken)

Returns the specified data collection endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operation Id: DataCollectionEndpoints_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionEndpointResource
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<DataCollectionEndpointResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataCollectionEndpointResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to