你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrivateEndpointConnections interface

Interface representing a PrivateEndpointConnections.

Methods

beginCreateOrUpdate(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)

Update the state of the specified private endpoint connection associated with the service.

beginCreateOrUpdateAndWait(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)

Update the state of the specified private endpoint connection associated with the service.

beginDelete(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)

Deletes a private endpoint connection.

beginDeleteAndWait(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)

Deletes a private endpoint connection.

get(string, string, string, PrivateEndpointConnectionsGetOptionalParams)

Gets the specified private endpoint connection associated with the service.

listByService(string, string, PrivateEndpointConnectionsListByServiceOptionalParams)

Lists all private endpoint connections for a service.

Method Details

beginCreateOrUpdate(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)

Update the state of the specified private endpoint connection associated with the service.

function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionDescription>, PrivateEndpointConnectionDescription>>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

privateEndpointConnectionName

string

The name of the private endpoint connection associated with the Azure resource

properties
PrivateEndpointConnection

The private endpoint connection properties.

Returns

beginCreateOrUpdateAndWait(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)

Update the state of the specified private endpoint connection associated with the service.

function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionDescription>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

privateEndpointConnectionName

string

The name of the private endpoint connection associated with the Azure resource

properties
PrivateEndpointConnection

The private endpoint connection properties.

Returns

beginDelete(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)

Deletes a private endpoint connection.

function beginDelete(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

privateEndpointConnectionName

string

The name of the private endpoint connection associated with the Azure resource

options
PrivateEndpointConnectionsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)

Deletes a private endpoint connection.

function beginDeleteAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

privateEndpointConnectionName

string

The name of the private endpoint connection associated with the Azure resource

options
PrivateEndpointConnectionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, PrivateEndpointConnectionsGetOptionalParams)

Gets the specified private endpoint connection associated with the service.

function get(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionDescription>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

privateEndpointConnectionName

string

The name of the private endpoint connection associated with the Azure resource

options
PrivateEndpointConnectionsGetOptionalParams

The options parameters.

Returns

listByService(string, string, PrivateEndpointConnectionsListByServiceOptionalParams)

Lists all private endpoint connections for a service.

function listByService(resourceGroupName: string, resourceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionDescription, PrivateEndpointConnectionDescription[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the service instance.

resourceName

string

The name of the service instance.

Returns