New-AzSearchSharedPrivateLinkResource
	
	
	
	语法
	
		Default (默认值)
	
	
		New-AzSearchSharedPrivateLinkResource
    [-ResourceGroupName] <String>
    [-ServiceName] <String>
    [-Name] <String>
    -PrivateLinkResourceId <String>
    -GroupId <String>
    -RequestMessage <String>
    [-ResourceRegion <String>]
    [-AsJob]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
	 
	说明
	
		
              New-AzSearchSharedPrivateLinkResource 为Azure 认知搜索服务创建共享专用链接资源。
	 
	示例
	示例 1
	
		New-AzSearchSharedPrivateLinkResource -ResourceGroupName arjagann -ServiceName arjagann-test-cuseuap -Name blob-pe -PrivateLinkResourceId /subscriptions/a4337210-c6b0-4de4-907a-688f1c120d9a/resourcegroups/PETesting/providers/Microsoft.Storage/storageAccounts/petesting -GroupId blob -RequestMessage "Please approve"
Id                    : /subscriptions/a4337210-c6b0-4de4-907a-688f1c120d9a/resourceGroups/arjagann/providers/Microsoft.Search/searchServices/arjagann-test-cuseuap/sharedPrivateLinkResources/blob-pe
Type                  : Microsoft.Search/searchServices/sharedPrivateLinkResources
Status                : Pending
Name                  : blob-pe
GroupId               : blob
PrivateLinkResourceId : /subscriptions/a4337210-c6b0-4de4-907a-688f1c120d9a/resourcegroups/PETesting/providers/Microsoft.Storage/storageAccounts/petesting
ProvisioningState     : Succeeded
RequestMessage        : Please approve
ResourceRegion        :
此示例为 Azure 认知搜索 服务创建存储帐户的 blob 服务的共享专用链接资源。
	 
	参数
		-AsJob
		在后台运行 cmdlet
		参数属性
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | False | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-Confirm
		在运行 cmdlet 之前,提示你进行确认。
		参数属性
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | False | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-DefaultProfile
		用于与 Azure 通信的凭据、帐户、租户和订阅。
		参数属性
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | False | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-GroupId
		共享专用链接资源组 ID
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-Name
		Azure 认知搜索共享专用链接资源
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | 2 | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-PrivateLinkResourceId
		共享专用链接目标资源 ID
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-RequestMessage
		共享专用链接资源请求消息
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-ResourceGroupName
		资源组名称。
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | 0 | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-ResourceRegion
		(可选)共享专用链接资源区域
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | False | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-ServiceName
		Azure 认知搜索服务名称。
		参数属性
		
				| 类型: | String | 
				| 默认值: | None | 
				| 支持通配符: | False | 
				| 不显示: | False | 
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | 1 | 
						| 必需: | True | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		-WhatIf
		显示 cmdlet 运行时会发生什么情况。
命令脚本未运行。
		参数属性
		
		参数集
			
				
					(All) 
					
						
					
				
				
						| Position: | Named | 
						| 必需: | False | 
						| 来自管道的值: | False | 
						| 来自管道的值(按属性名称): | False | 
						| 来自剩余参数的值: | False | 
				
			 
		CommonParameters
		
			此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
		 
	
			None
			
				
			
	输出