com.azure.resourcemanager.elasticsan.fluent.PrivateEndpointConnectionsClient Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elasticsan.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.elasticsan.fluent.models.PrivateEndpointConnectionInner;
/**
* An instance of this class provides access to all the operations defined in PrivateEndpointConnectionsClient.
*/
public interface PrivateEndpointConnectionsClient {
/**
* Update the state of specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param parameters Private Endpoint Connection Approval object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of response for PrivateEndpoint Connection object.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PrivateEndpointConnectionInner> beginCreate(
String resourceGroupName, String elasticSanName, String privateEndpointConnectionName,
PrivateEndpointConnectionInner parameters);
/**
* Update the state of specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param parameters Private Endpoint Connection Approval object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of response for PrivateEndpoint Connection object.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PrivateEndpointConnectionInner> beginCreate(
String resourceGroupName, String elasticSanName, String privateEndpointConnectionName,
PrivateEndpointConnectionInner parameters, Context context);
/**
* Update the state of specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param parameters Private Endpoint Connection Approval object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response for PrivateEndpoint Connection object.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PrivateEndpointConnectionInner create(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters);
/**
* Update the state of specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param parameters Private Endpoint Connection Approval object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response for PrivateEndpoint Connection object.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PrivateEndpointConnectionInner create(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, Context context);
/**
* Gets the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the specified private endpoint connection associated with the Elastic San along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName, Context context);
/**
* Gets the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the specified private endpoint connection associated with the Elastic San.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PrivateEndpointConnectionInner get(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName);
/**
* Deletes the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName);
/**
* Deletes the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginDelete(String resourceGroupName, String elasticSanName,
String privateEndpointConnectionName, Context context);
/**
* Deletes the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String elasticSanName, String privateEndpointConnectionName);
/**
* Deletes the specified private endpoint connection associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param privateEndpointConnectionName The name of the Private Endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String elasticSanName, String privateEndpointConnectionName, Context context);
/**
* List all Private Endpoint Connections associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of private endpoint connections associated with SAN as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String elasticSanName);
/**
* List all Private Endpoint Connections associated with the Elastic San.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param elasticSanName The name of the ElasticSan.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of private endpoint connections associated with SAN as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String elasticSanName,
Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy