Interface ManagedPrivateEndpoints
-
public interface ManagedPrivateEndpoints
Resource collection API of ManagedPrivateEndpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckNameResult
checkNameAvailability(String resourceGroupName, String clusterName, ManagedPrivateEndpointsCheckNameRequest resourceName)
Checks that the managed private endpoints resource name is valid and is not already in use.com.azure.core.http.rest.Response<CheckNameResult>
checkNameAvailabilityWithResponse(String resourceGroupName, String clusterName, ManagedPrivateEndpointsCheckNameRequest resourceName, com.azure.core.util.Context context)
Checks that the managed private endpoints resource name is valid and is not already in use.ManagedPrivateEndpoint.DefinitionStages.Blank
define(String name)
Begins definition for a new ManagedPrivateEndpoint resource.void
delete(String resourceGroupName, String clusterName, String managedPrivateEndpointName)
Deletes a managed private endpoint.void
delete(String resourceGroupName, String clusterName, String managedPrivateEndpointName, com.azure.core.util.Context context)
Deletes a managed private endpoint.void
deleteById(String id)
Deletes a managed private endpoint.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes a managed private endpoint.ManagedPrivateEndpoint
get(String resourceGroupName, String clusterName, String managedPrivateEndpointName)
Gets a managed private endpoint.ManagedPrivateEndpoint
getById(String id)
Gets a managed private endpoint.com.azure.core.http.rest.Response<ManagedPrivateEndpoint>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets a managed private endpoint.com.azure.core.http.rest.Response<ManagedPrivateEndpoint>
getWithResponse(String resourceGroupName, String clusterName, String managedPrivateEndpointName, com.azure.core.util.Context context)
Gets a managed private endpoint.com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpoint>
list(String resourceGroupName, String clusterName)
Returns the list of managed private endpoints.com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpoint>
list(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
Returns the list of managed private endpoints.
-
-
-
Method Detail
-
checkNameAvailability
CheckNameResult checkNameAvailability(String resourceGroupName, String clusterName, ManagedPrivateEndpointsCheckNameRequest resourceName)
Checks that the managed private endpoints resource name is valid and is not already in use.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.resourceName
- The name of the resource.- Returns:
- the result returned from a check name availability request.
- 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.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameResult> checkNameAvailabilityWithResponse(String resourceGroupName, String clusterName, ManagedPrivateEndpointsCheckNameRequest resourceName, com.azure.core.util.Context context)
Checks that the managed private endpoints resource name is valid and is not already in use.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- the result returned from a check name availability request 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.
-
list
com.azure.core.http.rest.PagedIterable<ManagedPrivateEndpoint> list(String resourceGroupName, String clusterName)
Returns the list of managed private endpoints.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.- Returns:
- the list managed private endpoints operation response 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<ManagedPrivateEndpoint> list(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
Returns the list of managed private endpoints.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.context
- The context to associate with this operation.- Returns:
- the list managed private endpoints operation response 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
ManagedPrivateEndpoint get(String resourceGroupName, String clusterName, String managedPrivateEndpointName)
Gets a managed private endpoint.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.managedPrivateEndpointName
- The name of the managed private endpoint.- 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.
-
getWithResponse
com.azure.core.http.rest.Response<ManagedPrivateEndpoint> getWithResponse(String resourceGroupName, String clusterName, String managedPrivateEndpointName, com.azure.core.util.Context context)
Gets a managed private endpoint.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.managedPrivateEndpointName
- The name of the managed private endpoint.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.
-
delete
void delete(String resourceGroupName, String clusterName, String managedPrivateEndpointName)
Deletes a managed private endpoint.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.managedPrivateEndpointName
- The name of the 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.
-
delete
void delete(String resourceGroupName, String clusterName, String managedPrivateEndpointName, com.azure.core.util.Context context)
Deletes a managed private endpoint.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.managedPrivateEndpointName
- The name of the managed private endpoint.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
ManagedPrivateEndpoint getById(String id)
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<ManagedPrivateEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets a managed private endpoint.- Parameters:
id
- the resource ID.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
void deleteById(String id)
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
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.- 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
ManagedPrivateEndpoint.DefinitionStages.Blank define(String name)
Begins definition for a new ManagedPrivateEndpoint resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ManagedPrivateEndpoint definition.
-
-