PrivateLinkServices interface
表示 PrivateLinkServices 的接口。
方法
方法详细信息
beginCheckPrivateLinkServiceVisibility(string, CheckPrivateLinkServiceVisibilityRequest, PrivateLinkServicesCheckPrivateLinkServiceVisibilityOptionalParams)
检查订阅是否对专用链接服务可见。
function beginCheckPrivateLinkServiceVisibility(location: string, parameters: CheckPrivateLinkServiceVisibilityRequest, options?: PrivateLinkServicesCheckPrivateLinkServiceVisibilityOptionalParams): Promise<SimplePollerLike<OperationState<PrivateLinkServiceVisibility>, PrivateLinkServiceVisibility>>
参数
- location
-
string
域名的位置。
- parameters
- CheckPrivateLinkServiceVisibilityRequest
CheckPrivateLinkService API 调用的请求正文。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<PrivateLinkServiceVisibility>, PrivateLinkServiceVisibility>>
beginCheckPrivateLinkServiceVisibilityAndWait(string, CheckPrivateLinkServiceVisibilityRequest, PrivateLinkServicesCheckPrivateLinkServiceVisibilityOptionalParams)
检查订阅是否对专用链接服务可见。
function beginCheckPrivateLinkServiceVisibilityAndWait(location: string, parameters: CheckPrivateLinkServiceVisibilityRequest, options?: PrivateLinkServicesCheckPrivateLinkServiceVisibilityOptionalParams): Promise<PrivateLinkServiceVisibility>
参数
- location
-
string
域名的位置。
- parameters
- CheckPrivateLinkServiceVisibilityRequest
CheckPrivateLinkService API 调用的请求正文。
返回
Promise<PrivateLinkServiceVisibility>
beginCheckPrivateLinkServiceVisibilityByResourceGroup(string, string, CheckPrivateLinkServiceVisibilityRequest, PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupOptionalParams)
检查订阅是否对指定资源组中的专用链接服务可见。
function beginCheckPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: CheckPrivateLinkServiceVisibilityRequest, options?: PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<PrivateLinkServiceVisibility>, PrivateLinkServiceVisibility>>
参数
- location
-
string
域名的位置。
- resourceGroupName
-
string
资源组的名称。
- parameters
- CheckPrivateLinkServiceVisibilityRequest
CheckPrivateLinkService API 调用的请求正文。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<PrivateLinkServiceVisibility>, PrivateLinkServiceVisibility>>
beginCheckPrivateLinkServiceVisibilityByResourceGroupAndWait(string, string, CheckPrivateLinkServiceVisibilityRequest, PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupOptionalParams)
检查订阅是否对指定资源组中的专用链接服务可见。
function beginCheckPrivateLinkServiceVisibilityByResourceGroupAndWait(location: string, resourceGroupName: string, parameters: CheckPrivateLinkServiceVisibilityRequest, options?: PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupOptionalParams): Promise<PrivateLinkServiceVisibility>
参数
- location
-
string
域名的位置。
- resourceGroupName
-
string
资源组的名称。
- parameters
- CheckPrivateLinkServiceVisibilityRequest
CheckPrivateLinkService API 调用的请求正文。
返回
Promise<PrivateLinkServiceVisibility>
beginCreateOrUpdate(string, string, PrivateLinkService, PrivateLinkServicesCreateOrUpdateOptionalParams)
在指定的资源组中创建或更新专用链接服务。
function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, parameters: PrivateLinkService, options?: PrivateLinkServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateLinkService>, PrivateLinkService>>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- parameters
- PrivateLinkService
提供给创建或更新专用链接服务作的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<PrivateLinkService>, PrivateLinkService>>
beginCreateOrUpdateAndWait(string, string, PrivateLinkService, PrivateLinkServicesCreateOrUpdateOptionalParams)
在指定的资源组中创建或更新专用链接服务。
function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, parameters: PrivateLinkService, options?: PrivateLinkServicesCreateOrUpdateOptionalParams): Promise<PrivateLinkService>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- parameters
- PrivateLinkService
提供给创建或更新专用链接服务作的参数。
选项参数。
返回
Promise<PrivateLinkService>
beginDelete(string, string, PrivateLinkServicesDeleteOptionalParams)
删除指定的专用链接服务。
function beginDelete(resourceGroupName: string, serviceName: string, options?: PrivateLinkServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, PrivateLinkServicesDeleteOptionalParams)
删除指定的专用链接服务。
function beginDeleteAndWait(resourceGroupName: string, serviceName: string, options?: PrivateLinkServicesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
选项参数。
返回
Promise<void>
beginDeletePrivateEndpointConnection(string, string, string, PrivateLinkServicesDeletePrivateEndpointConnectionOptionalParams)
删除订阅中专用链接服务的专用终结点连接。
function beginDeletePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, options?: PrivateLinkServicesDeletePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- peConnectionName
-
string
专用终结点连接的名称。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeletePrivateEndpointConnectionAndWait(string, string, string, PrivateLinkServicesDeletePrivateEndpointConnectionOptionalParams)
删除订阅中专用链接服务的专用终结点连接。
function beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, serviceName: string, peConnectionName: string, options?: PrivateLinkServicesDeletePrivateEndpointConnectionOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- peConnectionName
-
string
专用终结点连接的名称。
返回
Promise<void>
get(string, string, PrivateLinkServicesGetOptionalParams)
按资源组获取指定的专用链接服务。
function get(resourceGroupName: string, serviceName: string, options?: PrivateLinkServicesGetOptionalParams): Promise<PrivateLinkService>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
选项参数。
返回
Promise<PrivateLinkService>
getPrivateEndpointConnection(string, string, string, PrivateLinkServicesGetPrivateEndpointConnectionOptionalParams)
通过资源组中的特定专用链接服务获取特定的专用终结点连接。
function getPrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, options?: PrivateLinkServicesGetPrivateEndpointConnectionOptionalParams): Promise<PrivateEndpointConnection>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- peConnectionName
-
string
专用终结点连接的名称。
返回
Promise<PrivateEndpointConnection>
list(string, PrivateLinkServicesListOptionalParams)
获取资源组中的所有专用链接服务。
function list(resourceGroupName: string, options?: PrivateLinkServicesListOptionalParams): PagedAsyncIterableIterator<PrivateLinkService, PrivateLinkService[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
选项参数。
返回
listAutoApprovedPrivateLinkServices(string, PrivateLinkServicesListAutoApprovedPrivateLinkServicesOptionalParams)
返回所有专用链接服务 ID,这些 ID 可以链接到在此区域中此订阅中自动批准的专用终结点。
function listAutoApprovedPrivateLinkServices(location: string, options?: PrivateLinkServicesListAutoApprovedPrivateLinkServicesOptionalParams): PagedAsyncIterableIterator<AutoApprovedPrivateLinkService, AutoApprovedPrivateLinkService[], PageSettings>
参数
- location
-
string
域名的位置。
返回
listAutoApprovedPrivateLinkServicesByResourceGroup(string, string, PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupOptionalParams)
返回所有专用链接服务 ID,这些 ID 可以链接到在此区域中此订阅中自动批准的专用终结点。
function listAutoApprovedPrivateLinkServicesByResourceGroup(location: string, resourceGroupName: string, options?: PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutoApprovedPrivateLinkService, AutoApprovedPrivateLinkService[], PageSettings>
参数
- location
-
string
域名的位置。
- resourceGroupName
-
string
资源组的名称。
返回
listBySubscription(PrivateLinkServicesListBySubscriptionOptionalParams)
获取订阅中的所有专用链接服务。
function listBySubscription(options?: PrivateLinkServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PrivateLinkService, PrivateLinkService[], PageSettings>
参数
选项参数。
返回
listPrivateEndpointConnections(string, string, PrivateLinkServicesListPrivateEndpointConnectionsOptionalParams)
获取特定专用链接服务的所有专用终结点连接。
function listPrivateEndpointConnections(resourceGroupName: string, serviceName: string, options?: PrivateLinkServicesListPrivateEndpointConnectionsOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection, PrivateEndpointConnection[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
返回
updatePrivateEndpointConnection(string, string, string, PrivateEndpointConnection, PrivateLinkServicesUpdatePrivateEndpointConnectionOptionalParams)
批准或拒绝订阅中专用链接服务的专用终结点连接。
function updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateLinkServicesUpdatePrivateEndpointConnectionOptionalParams): Promise<PrivateEndpointConnection>
参数
- resourceGroupName
-
string
资源组的名称。
- serviceName
-
string
专用链接服务的名称。
- peConnectionName
-
string
专用终结点连接的名称。
- parameters
- PrivateEndpointConnection
提供用于批准或拒绝专用终结点连接的参数。
返回
Promise<PrivateEndpointConnection>