你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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>]
说明
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 认知搜索服务资源 ID。
类型: | String |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-WhatIf
显示运行该 cmdlet 时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输入
None