Get-AzSearchPrivateLinkResource
取得 Azure 認知搜尋服務的私人鏈接資源詳細數據。
語法
Get-AzSearchPrivateLinkResource
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-AzSearchPrivateLinkResource
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-AzSearchPrivateLinkResource
[-InputObject] <PSSearchService>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Get-AzSearchPrivateLinkResource Cmdlet 會取得 Azure 認知搜尋服務的私人鏈接資源詳細數據。
範例
範例 1
Get-AzSearchPrivateLinkResource -ResourceGroupName arjagann -Name arjagann-test-cuseuap | ConvertTo-Json
"Id": "/subscriptions/a4337210-c6b0-4de4-907a-688f1c120d9a/resourceGroups/arjagann/providers/Microsoft.Search/searchServices/arjagann-test-cuseuap/privateLinkResources/searchService",
"Type": "Microsoft.Search/searchServices/privateLinkResources",
"GroupId": "searchService",
"RequiredMembers": [
"searchService"
],
"RequiredZoneNames": [
"privatelink.search-dogfood.windows-int.net"
],
"ShareablePrivateLinkResourceTypes": [
{
"Name": "blob",
"Description": "Azure Cognitive Search indexers can connect to blobs in Azure Storage for reading data (data source), for writing intermediate results of indexer execution (annotation cache, preview) or for storing any knowledge store projections (preview)",
"Type": "Microsoft.Storage/storageAccounts",
"GroupId": "blob"
},
{
"Name": "table",
"Description": "Azure Cognitive Search indexers can connect to tables in Azure Storage for reading data (data source), for writing book-keeping information about intermediate results of indexer execution (annotation cache, preview) or for storing any knowledge store projections (preview)",
"Type": "Microsoft.Storage/storageAccounts",
"GroupId": "table"
},
{
"Name": "Sql",
"Description": "Azure Cognitive Search indexers can connect to CosmosDB using the SQL head for reading data (data source).",
"Type": "Microsoft.DocumentDB/databaseAccounts",
"GroupId": "Sql"
},
{
"Name": "plr",
"Description": "Azure Cognitive Search indexers can connect to AzureSQL databases in a SQL server for reading data (data source).",
"Type": "Microsoft.Sql/servers",
"GroupId": "sqlServer"
},
{
"Name": "vault",
"Description": "Azure Cognitive Search can access keys in Azure Key Vault to encrypt search index and synonym map data",
"Type": "Microsoft.KeyVault/vaults",
"GroupId": "vault"
}
]
}
此範例示範如何取得 Azure 認知搜尋服務的私人鏈接資源詳細數據(以 JSON 形式方便使用)。
參數
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Azure 認知搜尋服務輸入物件。
類型: | PSSearchService |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
Azure 認知搜尋服務名稱。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
Azure 認知搜尋服務資源標識碼。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None