共用方式為


Remove-AzSearchSharedPrivateLinkResource

從 Azure 認知搜尋 服務中移除共用的私人鏈接資源。

語法

Remove-AzSearchSharedPrivateLinkResource
      [-ResourceGroupName] <String>
      [-ServiceName] <String>
      [-Name] <String>
      [-Force]
      [-PassThru]
      [-AsJob]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzSearchSharedPrivateLinkResource
      [-ParentObject] <PSSearchService>
      [-Name] <String>
      [-Force]
      [-PassThru]
      [-AsJob]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzSearchSharedPrivateLinkResource
      [-ResourceId] <String>
      [-Force]
      [-PassThru]
      [-AsJob]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzSearchSharedPrivateLinkResource
      [-InputObject] <PSSharedPrivateLinkResource>
      [-Force]
      [-PassThru]
      [-AsJob]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Remove-AzSearchSharedPrivateLinkResource Cmdlet 會從 Azure 認知搜尋 服務中移除共用的私人鏈接資源。

範例

範例 1

Remove-AzSearchSharedPrivateLinkResource -ResourceGroupName arjagann -ServiceName arjagann-test-cuseuap -Name blob-pe

Confirm
Remove Shared Private Link Resource 'blob-pe'.
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y

此範例會依 Azure 認知搜尋 服務的名稱刪除共用私人鏈接資源。

參數

-AsJob

在背景執行 Cmdlet

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Confirm

執行 Cmdlet 之前先提示您確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Force

請勿要求確認。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

共用私人鏈接資源輸入物件

類型:PSSharedPrivateLinkResource
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

Azure 認知搜尋 共用私人鏈接資源

類型:String
Position:2
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ParentObject

Azure 認知搜尋 服務輸入物件。

類型:PSSearchService
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-PassThru

此 Cmdlet 預設不會傳回 物件。 如果指定此參數,如果成功,則會傳回 true。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源組名。

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceId

共用私人鏈接資源識別碼

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ServiceName

Azure 認知搜尋 服務名稱。

類型:String
Position:1
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

Boolean