Interface ManagedPrivateEndpoints
public interface ManagedPrivateEndpoints
Resource collection API of ManagedPrivateEndpoints.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ManagedPrivateEndpointResource resource.voiddelete(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) Deletes a managed private endpoint.voiddeleteById(String id) Deletes a managed private endpoint.com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a managed private endpoint.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, com.azure.core.util.Context context) Deletes a managed private endpoint.get(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) Gets a managed private endpoint.Gets a managed private endpoint.com.azure.core.http.rest.Response<ManagedPrivateEndpointResource>getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context) Gets a managed private endpoint.com.azure.core.http.rest.Response<ManagedPrivateEndpointResource>getWithResponse(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch, com.azure.core.util.Context context) Gets a managed private endpoint.com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointResource>listByFactory(String resourceGroupName, String factoryName, String managedVirtualNetworkName) Lists managed private endpoints.com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointResource>listByFactory(String resourceGroupName, String factoryName, String managedVirtualNetworkName, com.azure.core.util.Context context) Lists managed private endpoints.
-
Method Details
-
listByFactory
com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointResource> listByFactory(String resourceGroupName, String factoryName, String managedVirtualNetworkName) Lists managed private endpoints.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.- Returns:
- a list of managed private endpoint resources 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.
-
listByFactory
com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpointResource> listByFactory(String resourceGroupName, String factoryName, String managedVirtualNetworkName, com.azure.core.util.Context context) Lists managed private endpoints.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.context- The context to associate with this operation.- Returns:
- a list of managed private endpoint resources 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<ManagedPrivateEndpointResource> getWithResponse(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName, String ifNoneMatch, com.azure.core.util.Context context) Gets a managed private endpoint.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.managedPrivateEndpointName- Managed private endpoint name.ifNoneMatch- ETag of the managed private endpoint 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 managed private endpoint 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
ManagedPrivateEndpointResource get(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) Gets a managed private endpoint.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.managedPrivateEndpointName- Managed private endpoint name.- Returns:
- a managed private endpoint.
- 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 managedVirtualNetworkName, String managedPrivateEndpointName, com.azure.core.util.Context context) Deletes a managed private endpoint.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.managedPrivateEndpointName- Managed private endpoint 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
void delete(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String managedPrivateEndpointName) Deletes a managed private endpoint.- Parameters:
resourceGroupName- The resource group name.factoryName- The factory name.managedVirtualNetworkName- Managed virtual network name.managedPrivateEndpointName- Managed private endpoint 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.
-
getById
Gets a managed private endpoint.- Parameters:
id- the resource ID.- Returns:
- a managed private endpoint 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<ManagedPrivateEndpointResource> getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context) Gets a managed private endpoint.- Parameters:
id- the resource ID.ifNoneMatch- ETag of the managed private endpoint 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 managed private endpoint 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
Deletes a managed private endpoint.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a managed private endpoint.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new ManagedPrivateEndpointResource resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new ManagedPrivateEndpointResource definition.
-