Interface PrivateEndpointConnections
-
public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateEndpointConnectionResource.DefinitionStages.Blank
define(String name)
Begins definition for a new PrivateEndpointConnectionResource resource.void
delete(String vaultName, String resourceGroupName, String privateEndpointConnectionName)
Delete Private Endpoint requests.void
delete(String vaultName, String resourceGroupName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Delete Private Endpoint requests.void
deleteById(String id)
Delete Private Endpoint requests.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete Private Endpoint requests.PrivateEndpointConnectionResource
get(String vaultName, String resourceGroupName, String privateEndpointConnectionName)
Get Private Endpoint Connection.PrivateEndpointConnectionResource
getById(String id)
Get Private Endpoint Connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionResource>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Get Private Endpoint Connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionResource>
getWithResponse(String vaultName, String resourceGroupName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Get Private Endpoint Connection.
-
-
-
Method Detail
-
get
PrivateEndpointConnectionResource get(String vaultName, String resourceGroupName, String privateEndpointConnectionName)
Get Private Endpoint Connection. This call is made by Backup Admin.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionResource> getWithResponse(String vaultName, String resourceGroupName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Get Private Endpoint Connection. This call is made by Backup Admin.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- 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.
-
delete
void delete(String vaultName, String resourceGroupName, String privateEndpointConnectionName)
Delete Private Endpoint requests. This call is made by Backup Admin.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.privateEndpointConnectionName
- The name of the 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.
-
delete
void delete(String vaultName, String resourceGroupName, String privateEndpointConnectionName, com.azure.core.util.Context context)
Delete Private Endpoint requests. This call is made by Backup Admin.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.privateEndpointConnectionName
- The name of the private endpoint connection.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.
-
getById
PrivateEndpointConnectionResource getById(String id)
Get Private Endpoint Connection. This call is made by Backup Admin.- Parameters:
id
- the resource ID.- Returns:
- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
Get Private Endpoint Connection. This call is made by Backup Admin.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- 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.
-
deleteById
void deleteById(String id)
Delete Private Endpoint requests. This call is made by Backup Admin.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete Private Endpoint requests. This call is made by Backup Admin.- Parameters:
id
- the resource ID.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.
-
define
PrivateEndpointConnectionResource.DefinitionStages.Blank define(String name)
Begins definition for a new PrivateEndpointConnectionResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateEndpointConnectionResource definition.
-
-