Get-AzApplicationInsightsWorkbook
Ottenere una singola cartella di lavoro in base a resourceName.
Sintassi
Get-AzApplicationInsightsWorkbook
[-SubscriptionId <String[]>]
[-CanFetchContent]
-Category <CategoryType>
[-Tag <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzApplicationInsightsWorkbook
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-CanFetchContent]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzApplicationInsightsWorkbook
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-CanFetchContent]
-Category <CategoryType>
[-Tag <String[]>]
[-LinkedSourceId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzApplicationInsightsWorkbook
-InputObject <IApplicationInsightsIdentity>
[-CanFetchContent]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Descrizione
Ottenere una singola cartella di lavoro in base a resourceName.
Esempio
Esempio 1: Elencare le cartelle di lavoro per categoria
Get-AzApplicationInsightsWorkbook -Category 'workbook'
ResourceGroupName Name DisplayName Location Kind Category
----------------- ---- ----------- -------- ---- --------
appinsights-hkrs2v-test 7d195dcc-7d02-459f-a181-5b46662e4060 Workbook01 westus2 shared workbook
appinsights-hkrs2v-test c65b3461-9270-45b7-b6ad-ddd644458b0e westus2 user workbook
appinsights-hkrs2v-test 2e47417f-c136-44c0-b78f-7a4ca35fd9d1 Workbook02-display westus2 user workbook
appinsights-hkrs2v-test 842437e8-8ef1-4ce7-b1a7-4cebf6c10188 Workbook03-display westus2 user workbook
appinsights-hkrs2v-test aac4bf14-0f25-4ac3-a4d4-76c63bf7312e Workbook03-display westus2 user workbook
appinsights-hkrs2v-test 74446cb1-d125-4c1f-ab84-e57fd93101d2 Workbook03-display westus2 shared workbook
appinsights-hkrs2v-test 5df8625f-fae4-4a38-9f43-62a40a2e99d1 5df8625f-fae4-4a38-9f43-62a40a2e99d1-display westus2 user workbook
appinsights-hkrs2v-test b41466f0-a464-4531-ab31-df6ba613d8fe b41466f0-a464-4531-ab31-df6ba613d8fe-display westus2 user workbook
appinsights-hkrs2v-test f7d7151e-7907-4f46-8a5e-6bf4a4cfedec f7d7151e-7907-4f46-8a5e-6bf4a4cfedec-display westus2 shared workbook
Questo comando elenca le cartelle di lavoro per categoria.
Esempio 2: Ottenere una singola cartella di lavoro in base a resourceName
Get-AzApplicationInsightsWorkbook -ResourceGroupName appinsights-hkrs2v-test -Name f7d7151e-7907-4f46-8a5e-6bf4a4cfedec
ResourceGroupName Name DisplayName Location Kind Category
----------------- ---- ----------- -------- ---- --------
appinsights-hkrs2v-test f7d7151e-7907-4f46-8a5e-6bf4a4cfedec f7d7151e-7907-4f46-8a5e-6bf4a4cfedec-display westus2 shared workboo
Questo comando ottiene una singola cartella di lavoro in base a resourceName.
Esempio 3: Ottenere una singola cartella di lavoro tramite pipeline
$name = (New-Guid).ToString()
New-AzApplicationInsightsWorkbook -ResourceGroupName appinsights-hkrs2v-test -Name $name -Location westus2 -DisplayName "$name-display" -SourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/appinsights-hkrs2v-test/providers/microsoft.insights/components/appinsights-48mah3-pwsh" -Category 'workbook' -SerializedData $null | Get-AzApplicationInsightsWorkbook
ResourceGroupName Name DisplayName Location Kind Category
----------------- ---- ----------- -------- ---- --------
appinsights-hkrs2v-test f7d7151e-7907-4f46-8a5e-6bf4a4cfedec f7d7151e-7907-4f46-8a5e-6bf4a4cfedec-display westus2 shared workboo
Questo comando ottiene una singola cartella di lavoro per pipeline.
Esempio 4: Elencare tutte le cartelle di lavoro per gruppo di risorse
Get-AzApplicationInsightsWorkbook -ResourceGroupName appinsights-hkrs2v-test -Category 'workbook'
ResourceGroupName Name DisplayName Location Kind Category
----------------- ---- ----------- -------- ---- --------
appinsights-hkrs2v-test 7d195dcc-7d02-459f-a181-5b46662e4060 Workbook01 westus2 shared workbook
appinsights-hkrs2v-test c65b3461-9270-45b7-b6ad-ddd644458b0e westus2 user workbook
appinsights-hkrs2v-test 2e47417f-c136-44c0-b78f-7a4ca35fd9d1 Workbook02-display westus2 user workbook
appinsights-hkrs2v-test 842437e8-8ef1-4ce7-b1a7-4cebf6c10188 Workbook03-display westus2 user workbook
appinsights-hkrs2v-test aac4bf14-0f25-4ac3-a4d4-76c63bf7312e Workbook03-display westus2 user workbook
appinsights-hkrs2v-test 74446cb1-d125-4c1f-ab84-e57fd93101d2 Workbook03-display westus2 shared workbook
appinsights-hkrs2v-test 5df8625f-fae4-4a38-9f43-62a40a2e99d1 5df8625f-fae4-4a38-9f43-62a40a2e99d1-display westus2 user workbook
appinsights-hkrs2v-test b41466f0-a464-4531-ab31-df6ba613d8fe b41466f0-a464-4531-ab31-df6ba613d8fe-display westus2 user workbook
appinsights-hkrs2v-test f7d7151e-7907-4f46-8a5e-6bf4a4cfedec f7d7151e-7907-4f46-8a5e-6bf4a4cfedec-display westus2 shared workbook
Questo comando elenca tutte le cartelle di lavoro in base al gruppo di risorse.
Parametri
-CanFetchContent
Flag che indica se restituire o meno il contenuto completo per ogni cartella di lavoro applicabile. Se false, restituisce solo il contenuto di riepilogo per le cartelle di lavoro.
Tipo: | SwitchParameter |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-Category
Categoria della cartella di lavoro da restituire.
Tipo: | CategoryType |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-DefaultProfile
Il parametro DefaultProfile non è funzionale. Usare il parametro SubscriptionId quando disponibile se si esegue il cmdlet su una sottoscrizione diversa.
Tipo: | PSObject |
Alias: | AzureRMContext, AzureCredential |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-InputObject
Parametro Identity Per costruire, vedere la sezione NOTES per le proprietà INPUTOBJECT e creare una tabella hash.
Tipo: | IApplicationInsightsIdentity |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | False |
-LinkedSourceId
ID risorsa di Azure che recupera tutte le cartelle di lavoro collegate.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-Name
Nome della risorsa.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-ResourceGroupName
Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-SubscriptionId
ID della sottoscrizione di destinazione.
Tipo: | String[] |
Posizione: | Named |
Valore predefinito: | (Get-AzContext).Subscription.Id |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-Tag
I tag vengono visualizzati in ogni cartella di lavoro restituita.
Tipo: | String[] |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Input
Output
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per