Interface PrivateEndpointConnectionOperationsClient
public interface PrivateEndpointConnectionOperationsClient
An instance of this class provides access to all the operations defined in PrivateEndpointConnectionOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String factoryName, String privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper) Approves or rejects a private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionResourceInner>createOrUpdateWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper, String ifMatch, com.azure.core.util.Context context) Approves or rejects a private endpoint connection.voidDeletes a private endpoint connection.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection.Gets a private endpoint connection.com.azure.core.http.rest.Response<PrivateEndpointConnectionResourceInner>getWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, String ifNoneMatch, com.azure.core.util.Context context) Gets a private endpoint connection.
-
Method Details
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionResourceInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper, String ifMatch, com.azure.core.util.Context context) Approves or rejects a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.privateEndpointWrapper- Private Endpoint Connection Approval ARM resource.ifMatch- ETag of the private endpoint connection entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.context- The context to associate with this operation.- Returns:
- private Endpoint Connection ARM 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.
-
createOrUpdate
PrivateEndpointConnectionResourceInner createOrUpdate(String resourceGroupName, String factoryName, String privateEndpointConnectionName, PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper) Approves or rejects a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.privateEndpointWrapper- Private Endpoint Connection Approval ARM resource.- Returns:
- private Endpoint Connection ARM 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.
-
getWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionResourceInner> getWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, String ifNoneMatch, com.azure.core.util.Context context) Gets a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.ifNoneMatch- ETag of the private endpoint connection entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.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
PrivateEndpointConnectionResourceInner get(String resourceGroupName, String factoryName, String privateEndpointConnectionName) Gets a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String privateEndpointConnectionName, com.azure.core.util.Context context) Deletes a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.context- The context to associate with this operation.- Returns:
- the
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
Deletes a private endpoint connection.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.privateEndpointConnectionName- The private endpoint connection name.- 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.
-