共用方式為


OperationalInsightsLinkedServiceCollection Class

Definition

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

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

Constructors

OperationalInsightsLinkedServiceCollection()

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

Create or update a linked service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
  • Operation Id: LinkedServices_CreateOrUpdate
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedServiceResource
CreateOrUpdateAsync(WaitUntil, String, OperationalInsightsLinkedServiceData, CancellationToken)

Create or update a linked service.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a linked service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
  • Operation Id: LinkedServices_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedServiceResource
GetAll(CancellationToken)

Gets the linked services instances in a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices
  • Operation Id: LinkedServices_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedServiceResource
GetAllAsync(CancellationToken)

Gets the linked services instances in a workspace.

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

Gets a linked service instance.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
  • Operation Id: LinkedServices_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedServiceResource
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<OperationalInsightsLinkedServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<OperationalInsightsLinkedServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to