Interface WebPubSubPrivateEndpointConnectionsClient
public interface WebPubSubPrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in WebPubSubPrivateEndpointConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete
(String privateEndpointConnectionName, String resourceGroupName, String resourceName) Delete the specified private endpoint connection.beginDelete
(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete the specified private endpoint connection.void
Delete the specified private endpoint connection.void
delete
(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete the specified private endpoint connection.Get the specified private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
getWithResponse
(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Get the specified private endpoint connection.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
List private endpoint connections.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner>
List private endpoint connections.update
(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters) Update the state of specified private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
updateWithResponse
(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Update the state of specified private endpoint connection.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String resourceName) List private endpoint connections.- 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.resourceName
- The name of the resource.- Returns:
- a list of private endpoint connections 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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connections.- 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.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- a list of private endpoint connections 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.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getWithResponse(String privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Get the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- the specified 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
PrivateEndpointConnectionInner get(String privateEndpointConnectionName, String resourceGroupName, String resourceName) Get the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.- Returns:
- the specified 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.
-
updateWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> updateWithResponse(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context) Update the state of specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.parameters
- The resource of private endpoint and its properties.context
- The context to associate with this operation.- Returns:
- a private endpoint connection to an azure resource 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.
-
update
PrivateEndpointConnectionInner update(String privateEndpointConnectionName, String resourceGroupName, String resourceName, PrivateEndpointConnectionInner parameters) Update the state of specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.parameters
- The resource of private endpoint and its properties.- Returns:
- a private endpoint connection to an azure resource.
- 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 privateEndpointConnectionName, String resourceGroupName, String resourceName) Delete the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.- Returns:
- the
SyncPoller
for 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 privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for 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.
-
delete
Delete the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.- 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 privateEndpointConnectionName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete the specified private endpoint connection.- Parameters:
privateEndpointConnectionName
- The name of the private endpoint connection.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.resourceName
- The name of the resource.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.
-