Get-AzOperationalInsightsSavedSearch
지정된 작업 영역에 대해 저장된 모든 검색을 반환합니다.
Syntax
Get-AzOperationalInsightsSavedSearch
[-ResourceGroupName] <String>
[-WorkspaceName] <String>
[[-SavedSearchId] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzOperationalInsightsSavedSearch cmdlet은 저장된 검색 ID를 지정하지 않으면 지정된 리소스 그룹 내에서 지정된 작업 영역에 대해 저장된 모든 검색을 반환합니다. 저장된 검색 ID를 지정하면 해당 ID에 해당하는 저장된 검색이 반환됩니다.
예제
예제 1: 작업 영역에 대한 저장된 모든 검색 가져오기
Get-AzOperationalInsightsSavedSearch -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace"
이 명령은 작업 영역과 연결된 저장된 리소스를 모두 가져옵니다.
예제 2: ID로 저장된 특정 검색 가져오기
Get-AzOperationalInsightsSavedSearch -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -SavedSearchId "ContosoSavedSearchId"
이 명령은 ID로 저장된 특정 검색을 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
작업 영역을 포함하는 Azure 리소스 그룹의 이름을 지정합니다.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SavedSearchId
저장된 검색 ID를 지정합니다.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WorkspaceName
작업 영역 이름을 지정합니다.
Type: | String |
Aliases: | Name |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
출력
PSSearchListSavedSearchResponse