Interface PrivateEndpointsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<PrivateEndpointInner>,InnerSupportsListing<PrivateEndpointInner>
public interface PrivateEndpointsClient
extends InnerSupportsGet<PrivateEndpointInner>, InnerSupportsListing<PrivateEndpointInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in PrivateEndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters, com.azure.core.util.Context context) Creates or updates an private endpoint in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateEndpointInner>, PrivateEndpointInner> beginCreateOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.beginDelete(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.beginDelete(String resourceGroupName, String privateEndpointName, com.azure.core.util.Context context) Deletes the specified private endpoint.beginDeleteAsync(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.createOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.createOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters, com.azure.core.util.Context context) Creates or updates an private endpoint in the specified resource group.createOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.voidDeletes the specified private endpoint.voidDeletes the specified private endpoint.deleteAsync(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.getByResourceGroup(String resourceGroupName, String privateEndpointName) Gets the specified private endpoint by resource group.getByResourceGroupAsync(String resourceGroupName, String privateEndpointName) Gets the specified private endpoint by resource group.com.azure.core.http.rest.Response<PrivateEndpointInner> getByResourceGroupWithResponse(String resourceGroupName, String privateEndpointName, String expand, com.azure.core.util.Context context) Gets the specified private endpoint by resource group.Mono<com.azure.core.http.rest.Response<PrivateEndpointInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String privateEndpointName, String expand) Gets the specified private endpoint by resource group.com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> list()Gets all private endpoints in a subscription.com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> list(com.azure.core.util.Context context) Gets all private endpoints in a subscription.com.azure.core.http.rest.PagedFlux<PrivateEndpointInner> Gets all private endpoints in a subscription.com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByResourceGroup(String resourceGroupName) Gets all private endpoints in a resource group.com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all private endpoints in a resource group.com.azure.core.http.rest.PagedFlux<PrivateEndpointInner> listByResourceGroupAsync(String resourceGroupName) Gets all private endpoints in a resource group.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateEndpointName) Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateEndpointName, com.azure.core.util.Context context) Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the specified private endpoint.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String privateEndpointName, com.azure.core.util.Context context) Deletes the specified private endpoint.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<PrivateEndpointInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String privateEndpointName, String expand) Gets the specified private endpoint by resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.expand- Expands referenced resources.- Returns:
- the specified private endpoint by resource group along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<PrivateEndpointInner> getByResourceGroupAsync(String resourceGroupName, String privateEndpointName) Gets the specified private endpoint by resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<PrivateEndpointInner>- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- the specified private endpoint by resource group on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<PrivateEndpointInner> getByResourceGroupWithResponse(String resourceGroupName, String privateEndpointName, String expand, com.azure.core.util.Context context) Gets the specified private endpoint by resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified private endpoint by resource group along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets the specified private endpoint by resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<PrivateEndpointInner>- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.- Returns:
- the specified private endpoint by resource group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.- Returns:
- private endpoint resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,PrivateEndpointInner> beginCreateOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.- Returns:
- the
PollerFluxfor polling of private endpoint resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.- Returns:
- the
SyncPollerfor polling of private endpoint resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters, com.azure.core.util.Context context) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of private endpoint resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<PrivateEndpointInner> createOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.- Returns:
- private endpoint resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.- Returns:
- private endpoint resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters, com.azure.core.util.Context context) Creates or updates an private endpoint in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.privateEndpointName- The name of the private endpoint.parameters- Parameters supplied to the create or update private endpoint operation.context- The context to associate with this operation.- Returns:
- private endpoint resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<PrivateEndpointInner> listByResourceGroupAsync(String resourceGroupName) Gets all private endpoints in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<PrivateEndpointInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all private endpoints in a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByResourceGroup(String resourceGroupName) Gets all private endpoints in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<PrivateEndpointInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all private endpoints in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all private endpoints in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all private endpoints in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<PrivateEndpointInner> listAsync()Gets all private endpoints in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<PrivateEndpointInner>- Returns:
- all private endpoints in a subscription as paginated response with
PagedFlux. - Throws:
ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> list()Gets all private endpoints in a subscription.- Specified by:
listin interfaceInnerSupportsListing<PrivateEndpointInner>- Returns:
- all private endpoints in a subscription as paginated response with
PagedIterable. - Throws:
ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> list(com.azure.core.util.Context context) Gets all private endpoints in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all private endpoints in a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-