Interface PrivateEndpointConnectionsClient
-
public interface PrivateEndpointConnectionsClient
An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,PrivateEndpointConnectionDescriptionInner>
beginCreateOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties)
Update the state of the specified private endpoint connection associated with the service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,PrivateEndpointConnectionDescriptionInner>
beginCreateOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties, com.azure.core.util.Context context)
Update the state of the specified private endpoint connection associated with the service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes a private endpoint connection.PrivateEndpointConnectionDescriptionInner
createOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties)
Update the state of the specified private endpoint connection associated with the service.PrivateEndpointConnectionDescriptionInner
createOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties, com.azure.core.util.Context context)
Update the state of the specified private endpoint connection associated with the service.void
delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.void
delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes a private endpoint connection.PrivateEndpointConnectionDescriptionInner
get(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the service.com.azure.core.http.rest.Response<PrivateEndpointConnectionDescriptionInner>
getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner>
listByService(String resourceGroupName, String resourceName)
Lists all private endpoint connections for a service.com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner>
listByService(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Lists all private endpoint connections for a service.
-
-
-
Method Detail
-
listByService
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner> listByService(String resourceGroupName, String resourceName)
Lists all private endpoint connections for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.- Returns:
- list of private endpoint connection associated with the specified storage account 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.
-
listByService
com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner> listByService(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Lists all private endpoint connections for a service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.context
- The context to associate with this operation.- Returns:
- list of private endpoint connection associated with the specified storage account 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.
-
get
PrivateEndpointConnectionDescriptionInner get(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Gets the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.- Returns:
- the specified private endpoint connection associated with the service.
- 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<PrivateEndpointConnectionDescriptionInner> getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Gets the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.context
- The context to associate with this operation.- Returns:
- the specified private endpoint connection associated with the service 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,PrivateEndpointConnectionDescriptionInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties)
Update the state of the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.properties
- The private endpoint connection properties.- Returns:
- the
SyncPoller
for polling of the Private Endpoint Connection 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,PrivateEndpointConnectionDescriptionInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties, com.azure.core.util.Context context)
Update the state of the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.properties
- The private endpoint connection properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the Private Endpoint Connection 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.
-
createOrUpdate
PrivateEndpointConnectionDescriptionInner createOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties)
Update the state of the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.properties
- The private endpoint connection properties.- Returns:
- the Private Endpoint Connection 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.
-
createOrUpdate
PrivateEndpointConnectionDescriptionInner createOrUpdate(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnection properties, com.azure.core.util.Context context)
Update the state of the specified private endpoint connection associated with the service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure resource.properties
- The private endpoint connection properties.context
- The context to associate with this operation.- Returns:
- the Private Endpoint Connection 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 resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure 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 resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure 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
void delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the 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.
-
delete
void delete(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Deletes a private endpoint connection.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.resourceName
- The name of the service instance.privateEndpointConnectionName
- The name of the private endpoint connection associated with the Azure 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.
-
-