共用方式為


OperationalInsightsDataSourceCollection Class

Definition

A class representing a collection of OperationalInsightsDataSourceResource and their operations. Each OperationalInsightsDataSourceResource in the collection will belong to the same instance of OperationalInsightsWorkspaceResource. To get an OperationalInsightsDataSourceCollection instance call the GetOperationalInsightsDataSources method from an instance of OperationalInsightsWorkspaceResource.

public class OperationalInsightsDataSourceCollection : Azure.ResourceManager.ArmCollection
type OperationalInsightsDataSourceCollection = class
    inherit ArmCollection
Public Class OperationalInsightsDataSourceCollection
Inherits ArmCollection
Inheritance
OperationalInsightsDataSourceCollection

Constructors

OperationalInsightsDataSourceCollection()

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

Create or update a data source.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_CreateOrUpdate
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
CreateOrUpdateAsync(WaitUntil, String, OperationalInsightsDataSourceData, CancellationToken)

Create or update a data source.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_CreateOrUpdate
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
Get(String, CancellationToken)

Gets a datasource instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
GetAll(String, String, CancellationToken)

Gets the first page of data source instances in a workspace with the link to the next page.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources
  • Operation Id: DataSources_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
GetAllAsync(String, String, CancellationToken)

Gets the first page of data source instances in a workspace with the link to the next page.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources
  • Operation Id: DataSources_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
GetAsync(String, CancellationToken)

Gets a datasource instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
  • Operation Id: DataSources_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to