Compartir a través de


OperationalInsightsExtensions.GetOperationalInsightsWorkspaces Método

Definición

Sobrecargas

GetOperationalInsightsWorkspaces(ResourceGroupResource)

Obtiene una colección de OperationalInsightsWorkspaceResources en ResourceGroupResource.

GetOperationalInsightsWorkspaces(SubscriptionResource, CancellationToken)

Obtiene las áreas de trabajo de una suscripción.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • IdWorkspaces_List de operaciones

GetOperationalInsightsWorkspaces(ResourceGroupResource)

Obtiene una colección de OperationalInsightsWorkspaceResources en 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

Instancia ResourceGroupResource en la que se ejecutará el método.

Devoluciones

Objeto que representa la colección de OperationalInsightsWorkspaceResources y sus operaciones en un operationalInsightsWorkspaceResource.

Se aplica a

GetOperationalInsightsWorkspaces(SubscriptionResource, CancellationToken)

Obtiene las áreas de trabajo de una suscripción.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
  • IdWorkspaces_List de operaciones
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

Instancia SubscriptionResource en la que se ejecutará el método.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de OperationalInsightsWorkspaceResource que puede tomar varias solicitudes de servicio para iterar.

Se aplica a