public final class DataFlowClient extends Object
Modifier and Type | Method and Description |
---|---|
DataFlowResource |
createOrUpdateDataFlow(String dataFlowName,
DataFlowResource dataFlow)
Creates or updates a data flow.
|
DataFlowResource |
createOrUpdateDataFlow(String dataFlowName,
DataFlowResource dataFlow,
String ifMatch)
Creates or updates a data flow.
|
com.azure.core.http.rest.Response<DataFlowResource> |
createOrUpdateDataFlowWithResponse(String dataFlowName,
DataFlowResource dataFlow,
String ifMatch,
com.azure.core.util.Context context)
Creates or updates a data flow.
|
void |
deleteDataFlow(String dataFlowName)
Deletes a data flow.
|
com.azure.core.http.rest.Response<Void> |
deleteDataFlowWithResponse(String dataFlowName,
com.azure.core.util.Context context)
Deletes a data flow.
|
DataFlowResource |
getDataFlow(String dataFlowName)
Gets a data flow.
|
DataFlowResource |
getDataFlow(String dataFlowName,
String ifNoneMatch)
Gets a data flow.
|
com.azure.core.http.rest.PagedIterable<DataFlowResource> |
getDataFlowsByWorkspace()
Lists data flows.
|
com.azure.core.http.rest.PagedIterable<DataFlowResource> |
getDataFlowsByWorkspace(com.azure.core.util.Context context)
Lists data flows.
|
com.azure.core.http.rest.Response<DataFlowResource> |
getDataFlowWithResponse(String dataFlowName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a data flow.
|
void |
renameDataFlow(String dataFlowName,
ArtifactRenameRequest request)
Renames a dataflow.
|
com.azure.core.http.rest.Response<Void> |
renameDataFlowWithResponse(String dataFlowName,
ArtifactRenameRequest request,
com.azure.core.util.Context context)
Renames a dataflow.
|
public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowResource dataFlow, String ifMatch)
dataFlowName
- The data flow name.dataFlow
- Data flow resource definition.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.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public DataFlowResource createOrUpdateDataFlow(String dataFlowName, DataFlowResource dataFlow)
dataFlowName
- The data flow name.dataFlow
- Data flow resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<DataFlowResource> createOrUpdateDataFlowWithResponse(String dataFlowName, DataFlowResource dataFlow, String ifMatch, com.azure.core.util.Context context)
dataFlowName
- The data flow name.dataFlow
- Data flow resource definition.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.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public DataFlowResource getDataFlow(String dataFlowName, String ifNoneMatch)
dataFlowName
- The data flow name.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.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public DataFlowResource getDataFlow(String dataFlowName)
dataFlowName
- The data flow name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<DataFlowResource> getDataFlowWithResponse(String dataFlowName, String ifNoneMatch, com.azure.core.util.Context context)
dataFlowName
- The data flow name.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.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void deleteDataFlow(String dataFlowName)
dataFlowName
- The data flow name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<Void> deleteDataFlowWithResponse(String dataFlowName, com.azure.core.util.Context context)
dataFlowName
- The data flow name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void renameDataFlow(String dataFlowName, ArtifactRenameRequest request)
dataFlowName
- The data flow name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<Void> renameDataFlowWithResponse(String dataFlowName, ArtifactRenameRequest request, com.azure.core.util.Context context)
dataFlowName
- The data flow name.request
- proposed new name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedIterable<DataFlowResource> getDataFlowsByWorkspace()
CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedIterable<DataFlowResource> getDataFlowsByWorkspace(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.