Interface ManagedInstancePrivateEndpointConnectionsClient
public interface ManagedInstancePrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in
ManagedInstancePrivateEndpointConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstancePrivateEndpointConnectionInner>, ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstancePrivateEndpointConnectionInner>, ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstancePrivateEndpointConnectionInner>, ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.beginDelete(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.beginDelete(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.beginDeleteAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.createOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.createOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.voidDeletes a private endpoint connection with a given name.voiddelete(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.deleteAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.Gets a private endpoint connection.getAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Gets a private endpoint connection.com.azure.core.http.rest.Response<ManagedInstancePrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets a private endpoint connection.Mono<com.azure.core.http.rest.Response<ManagedInstancePrivateEndpointConnectionInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Gets a private endpoint connection.com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstance(String resourceGroupName, String managedInstanceName) Gets all private endpoint connections on a server.com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets all private endpoint connections on a server.com.azure.core.http.rest.PagedFlux<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName) Gets all private endpoint connections on a server.
-
Method Details
-
listByManagedInstanceAsync
com.azure.core.http.rest.PagedFlux<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName) Gets all private endpoint connections on a server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- all private endpoint connections on a server as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedInstance
com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstance(String resourceGroupName, String managedInstanceName) Gets all private endpoint connections on a server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- all private endpoint connections on a server as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByManagedInstance
com.azure.core.http.rest.PagedIterable<ManagedInstancePrivateEndpointConnectionInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets all private endpoint connections on a server.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.context- The context to associate with this operation.- Returns:
- all private endpoint connections on a server as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedInstancePrivateEndpointConnectionInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Gets a private endpoint connection.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The name of the private endpoint connection.- Returns:
- a private endpoint connection along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ManagedInstancePrivateEndpointConnectionInner> getAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Gets a private endpoint connection.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The name of the private endpoint connection.- Returns:
- a private endpoint connection on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ManagedInstancePrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Gets a private endpoint connection.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The name of the private endpoint connection.context- The context to associate with this operation.- Returns:
- a private endpoint connection along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
ManagedInstancePrivateEndpointConnectionInner get(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Gets a private endpoint connection.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The name of the private endpoint connection.- Returns:
- a private endpoint connection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.- Returns:
- a private endpoint connection along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ManagedInstancePrivateEndpointConnectionInner>,ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.- Returns:
- the
PollerFluxfor polling of a private endpoint connection. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ManagedInstancePrivateEndpointConnectionInner>,ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.- Returns:
- the
SyncPollerfor polling of a private endpoint connection. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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<ManagedInstancePrivateEndpointConnectionInner>,ManagedInstancePrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a private endpoint connection. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ManagedInstancePrivateEndpointConnectionInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.- Returns:
- a private endpoint connection on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedInstancePrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.- Returns:
- a private endpoint connection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedInstancePrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName, ManagedInstancePrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Approve or reject a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.parameters- The parameters parameter.context- The context to associate with this operation.- Returns:
- a private endpoint connection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- 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 managedInstanceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection with a given name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.privateEndpointConnectionName- The privateEndpointConnectionName parameter.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-