Compartilhar via


OperationalInsightsExtensions.GetOperationalInsightsWorkspaces Método

Definição

Sobrecargas

GetOperationalInsightsWorkspaces(ResourceGroupResource)

Obtém uma coleção de OperationalInsightsWorkspaceResources no ResourceGroupResource.

GetOperationalInsightsWorkspaces(SubscriptionResource, CancellationToken)

Obtém os workspaces em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • Operação IdWorkspaces_List

GetOperationalInsightsWorkspaces(ResourceGroupResource)

Obtém uma coleção de OperationalInsightsWorkspaceResources no ResourceGroupResource.

public static Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceCollection GetOperationalInsightsWorkspaces (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetOperationalInsightsWorkspaces : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceCollection
<Extension()>
Public Function GetOperationalInsightsWorkspaces (resourceGroupResource As ResourceGroupResource) As OperationalInsightsWorkspaceCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

Retornos

Um objeto que representa a coleção de OperationalInsightsWorkspaceResources e suas operações em um OperationalInsightsWorkspaceResource.

Aplica-se a

GetOperationalInsightsWorkspaces(SubscriptionResource, CancellationToken)

Obtém os workspaces em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • Operação IdWorkspaces_List
public static Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource> GetOperationalInsightsWorkspaces (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetOperationalInsightsWorkspaces : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
<Extension()>
Public Function GetOperationalInsightsWorkspaces (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OperationalInsightsWorkspaceResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de OperationalInsightsWorkspaceResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a