PrivateEndpoints interface
Interface representing a PrivateEndpoints.
Methods
begin |
Creates or updates an private endpoint in the specified resource group. |
begin |
Creates or updates an private endpoint in the specified resource group. |
begin |
Deletes the specified private endpoint. |
begin |
Deletes the specified private endpoint. |
get(string, string, Private |
Gets the specified private endpoint by resource group. |
list(string, Private |
Gets all private endpoints in a resource group. |
list |
Gets all private endpoints in a subscription. |
Method Details
beginCreateOrUpdate(string, string, PrivateEndpoint, PrivateEndpointsCreateOrUpdateOptionalParams)
Creates or updates an private endpoint in the specified resource group.
function beginCreateOrUpdate(resourceGroupName: string, privateEndpointName: string, parameters: PrivateEndpoint, options?: PrivateEndpointsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpoint>, PrivateEndpoint>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- privateEndpointName
-
string
The name of the private endpoint.
- parameters
- PrivateEndpoint
Parameters supplied to the create or update private endpoint operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PrivateEndpoint>, PrivateEndpoint>>
beginCreateOrUpdateAndWait(string, string, PrivateEndpoint, PrivateEndpointsCreateOrUpdateOptionalParams)
Creates or updates an private endpoint in the specified resource group.
function beginCreateOrUpdateAndWait(resourceGroupName: string, privateEndpointName: string, parameters: PrivateEndpoint, options?: PrivateEndpointsCreateOrUpdateOptionalParams): Promise<PrivateEndpoint>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- privateEndpointName
-
string
The name of the private endpoint.
- parameters
- PrivateEndpoint
Parameters supplied to the create or update private endpoint operation.
The options parameters.
Returns
Promise<PrivateEndpoint>
beginDelete(string, string, PrivateEndpointsDeleteOptionalParams)
Deletes the specified private endpoint.
function beginDelete(resourceGroupName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- privateEndpointName
-
string
The name of the private endpoint.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, PrivateEndpointsDeleteOptionalParams)
Deletes the specified private endpoint.
function beginDeleteAndWait(resourceGroupName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- privateEndpointName
-
string
The name of the private endpoint.
The options parameters.
Returns
Promise<void>
get(string, string, PrivateEndpointsGetOptionalParams)
Gets the specified private endpoint by resource group.
function get(resourceGroupName: string, privateEndpointName: string, options?: PrivateEndpointsGetOptionalParams): Promise<PrivateEndpoint>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- privateEndpointName
-
string
The name of the private endpoint.
The options parameters.
Returns
Promise<PrivateEndpoint>
list(string, PrivateEndpointsListOptionalParams)
Gets all private endpoints in a resource group.
function list(resourceGroupName: string, options?: PrivateEndpointsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpoint, PrivateEndpoint[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listBySubscription(PrivateEndpointsListBySubscriptionOptionalParams)
Gets all private endpoints in a subscription.
function listBySubscription(options?: PrivateEndpointsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PrivateEndpoint, PrivateEndpoint[], PageSettings>
Parameters
The options parameters.