Get-AzSearchPrivateLinkResource
Hämtar resursinformation för privat länk för Azure Cognitive tjänsten Search.
Syntax
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
Cmdleten Get-AzSearchPrivateLinkResource hämtar resursinformation om privata länkar för Azure Cognitive tjänsten Search.
Exempel
Exempel 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"
}
]
}
Exemplet visar hur du hämtar resursinformationen för den privata länken (i JSON-formulär för enkelhetens skull) för Azure Cognitive tjänsten Search.
Parametrar
-Confirm
Uppmanar dig att bekräfta innan du kör cmdleten.
Typ: | SwitchParameter |
Alias: | cf |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-InputObject
Indataobjekt för Azure Cognitive Search-tjänsten.
Typ: | PSSearchService |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Name
Azure Cognitive Search Service-namn.
Typ: | String |
Position: | 1 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ResourceGroupName
Resursgruppsnamn.
Typ: | String |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ResourceId
Resurs-ID för Azure Cognitive Search-tjänsten.
Typ: | String |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-WhatIf
Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.
Typ: | SwitchParameter |
Alias: | wi |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
Indata
None