Megosztás a következőn keresztül:


OperationalInsightsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.OperationalInsights.

public static class OperationalInsightsExtensions
type OperationalInsightsExtensions = class
Public Module OperationalInsightsExtensions
Inheritance
OperationalInsightsExtensions

Methods

CreateOrUpdateWithoutNameQueryPack(ResourceGroupResource, LogAnalyticsQueryPackData, CancellationToken)

Creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks
  • Operation Id: QueryPacks_CreateOrUpdateWithoutName
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
CreateOrUpdateWithoutNameQueryPackAsync(ResourceGroupResource, LogAnalyticsQueryPackData, CancellationToken)

Creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks
  • Operation Id: QueryPacks_CreateOrUpdateWithoutName
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
GetDeletedWorkspaces(ResourceGroupResource, CancellationToken)

Gets recently deleted workspaces in a resource group, available for recovery.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces
  • Operation Id: DeletedWorkspaces_ListByResourceGroup
  • Default Api Version: 2022-10-01
GetDeletedWorkspaces(SubscriptionResource, CancellationToken)

Gets recently deleted workspaces in a subscription, available for recovery.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces
  • Operation Id: DeletedWorkspaces_List
  • Default Api Version: 2022-10-01
GetDeletedWorkspacesAsync(ResourceGroupResource, CancellationToken)

Gets recently deleted workspaces in a resource group, available for recovery.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces
  • Operation Id: DeletedWorkspaces_ListByResourceGroup
  • Default Api Version: 2022-10-01
GetDeletedWorkspacesAsync(SubscriptionResource, CancellationToken)

Gets recently deleted workspaces in a subscription, available for recovery.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces
  • Operation Id: DeletedWorkspaces_List
  • Default Api Version: 2022-10-01
GetLogAnalyticsQueryPack(ResourceGroupResource, String, CancellationToken)

Returns a Log Analytics QueryPack.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
  • Operation Id: QueryPacks_Get
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
GetLogAnalyticsQueryPackAsync(ResourceGroupResource, String, CancellationToken)

Returns a Log Analytics QueryPack.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
  • Operation Id: QueryPacks_Get
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
GetLogAnalyticsQueryPackResource(ArmClient, ResourceIdentifier)

Gets an object representing a LogAnalyticsQueryPackResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a LogAnalyticsQueryPackResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLogAnalyticsQueryPackResource(ResourceIdentifier) instead.

GetLogAnalyticsQueryPacks(ResourceGroupResource)

Gets a collection of LogAnalyticsQueryPackResources in the ResourceGroupResource. MockingTo mock this method, please mock GetLogAnalyticsQueryPacks() instead.

GetLogAnalyticsQueryPacks(SubscriptionResource, CancellationToken)

Gets a list of all Log Analytics QueryPacks within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks
  • Operation Id: QueryPacks_List
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
GetLogAnalyticsQueryPacksAsync(SubscriptionResource, CancellationToken)

Gets a list of all Log Analytics QueryPacks within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks
  • Operation Id: QueryPacks_List
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
GetLogAnalyticsQueryResource(ArmClient, ResourceIdentifier)

Gets an object representing a LogAnalyticsQueryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a LogAnalyticsQueryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLogAnalyticsQueryResource(ResourceIdentifier) instead.

GetOperationalInsightsCluster(ResourceGroupResource, String, CancellationToken)

Gets a Log Analytics cluster instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2021-06-01
  • Resource: OperationalInsightsClusterResource
GetOperationalInsightsClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets a Log Analytics cluster instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2021-06-01
  • Resource: OperationalInsightsClusterResource
GetOperationalInsightsClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsClusterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an OperationalInsightsClusterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsClusterResource(ResourceIdentifier) instead.

GetOperationalInsightsClusters(ResourceGroupResource)

Gets a collection of OperationalInsightsClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetOperationalInsightsClusters() instead.

GetOperationalInsightsClusters(SubscriptionResource, CancellationToken)

Gets the Log Analytics clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters
  • Operation Id: Clusters_List
  • Default Api Version: 2021-06-01
  • Resource: OperationalInsightsClusterResource
GetOperationalInsightsClustersAsync(SubscriptionResource, CancellationToken)

Gets the Log Analytics clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters
  • Operation Id: Clusters_List
  • Default Api Version: 2021-06-01
  • Resource: OperationalInsightsClusterResource
GetOperationalInsightsDataExportResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsDataExportResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OperationalInsightsDataExportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsDataExportResource(ResourceIdentifier) instead.

GetOperationalInsightsDataSourceResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsDataSourceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OperationalInsightsDataSourceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsDataSourceResource(ResourceIdentifier) instead.

GetOperationalInsightsLinkedServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsLinkedServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OperationalInsightsLinkedServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsLinkedServiceResource(ResourceIdentifier) instead.

GetOperationalInsightsLinkedStorageAccountsResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsLinkedStorageAccountsResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, OperationalInsightsDataSourceType) to create an OperationalInsightsLinkedStorageAccountsResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsLinkedStorageAccountsResource(ResourceIdentifier) instead.

GetOperationalInsightsSavedSearchResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsSavedSearchResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OperationalInsightsSavedSearchResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsSavedSearchResource(ResourceIdentifier) instead.

GetOperationalInsightsTableResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsTableResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an OperationalInsightsTableResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsTableResource(ResourceIdentifier) instead.

GetOperationalInsightsWorkspace(ResourceGroupResource, String, CancellationToken)

Gets a workspace instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2022-10-01
  • Resource: OperationalInsightsWorkspaceResource
GetOperationalInsightsWorkspaceAsync(ResourceGroupResource, String, CancellationToken)

Gets a workspace instance.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2022-10-01
  • Resource: OperationalInsightsWorkspaceResource
GetOperationalInsightsWorkspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing an OperationalInsightsWorkspaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an OperationalInsightsWorkspaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOperationalInsightsWorkspaceResource(ResourceIdentifier) instead.

GetOperationalInsightsWorkspaces(ResourceGroupResource)

Gets a collection of OperationalInsightsWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetOperationalInsightsWorkspaces() instead.

GetOperationalInsightsWorkspaces(SubscriptionResource, CancellationToken)

Gets the workspaces in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • Operation Id: Workspaces_List
  • Default Api Version: 2022-10-01
  • Resource: OperationalInsightsWorkspaceResource
GetOperationalInsightsWorkspacesAsync(SubscriptionResource, CancellationToken)

Gets the workspaces in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • Operation Id: Workspaces_List
  • Default Api Version: 2022-10-01
  • Resource: OperationalInsightsWorkspaceResource
GetStorageInsightResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageInsightResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StorageInsightResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageInsightResource(ResourceIdentifier) instead.

Applies to