
com.azure.resourcemanager.datafactory.fluent.DataFlowsClient 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.datafactory.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.util.Context;
import com.azure.resourcemanager.datafactory.fluent.models.DataFlowResourceInner;
/**
* An instance of this class provides access to all the operations defined in DataFlowsClient.
*/
public interface DataFlowsClient {
/**
* Creates or updates a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @param dataFlow Data flow resource definition.
* @param ifMatch ETag of the data flow entity. Should only be specified for update, for which it should match
* existing entity or can be * for unconditional update.
* @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 data flow resource type along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateWithResponse(String resourceGroupName, String factoryName,
String dataFlowName, DataFlowResourceInner dataFlow, String ifMatch, Context context);
/**
* Creates or updates a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @param dataFlow Data flow resource definition.
* @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 data flow resource type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DataFlowResourceInner createOrUpdate(String resourceGroupName, String factoryName, String dataFlowName,
DataFlowResourceInner dataFlow);
/**
* Gets a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @param ifNoneMatch ETag of the data flow 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.
* @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 a data flow along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String factoryName, String dataFlowName,
String ifNoneMatch, Context context);
/**
* Gets a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @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 a data flow.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DataFlowResourceInner get(String resourceGroupName, String factoryName, String dataFlowName);
/**
* Deletes a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @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 Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String factoryName, String dataFlowName,
Context context);
/**
* Deletes a data flow.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @param dataFlowName The data flow name.
* @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 factoryName, String dataFlowName);
/**
* Lists data flows.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @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 a list of data flow resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByFactory(String resourceGroupName, String factoryName);
/**
* Lists data flows.
*
* @param resourceGroupName The resource group name.
* @param factoryName The factory name.
* @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 a list of data flow resources as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByFactory(String resourceGroupName, String factoryName, Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy