public interface Pipelines
| Modifier and Type | Method and Description |
|---|---|
CreateRunResponse |
createRun(String resourceGroupName,
String factoryName,
String pipelineName)
Creates a run of a pipeline.
|
com.azure.core.http.rest.Response<CreateRunResponse> |
createRunWithResponse(String resourceGroupName,
String factoryName,
String pipelineName,
String referencePipelineRunId,
Boolean isRecovery,
String startActivityName,
Boolean startFromFailure,
Map<String,Object> parameters,
com.azure.core.util.Context context)
Creates a run of a pipeline.
|
PipelineResource.DefinitionStages.Blank |
define(String name)
Begins definition for a new PipelineResource resource.
|
void |
delete(String resourceGroupName,
String factoryName,
String pipelineName)
Deletes a pipeline.
|
void |
deleteById(String id)
Deletes a pipeline.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a pipeline.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String factoryName,
String pipelineName,
com.azure.core.util.Context context)
Deletes a pipeline.
|
PipelineResource |
get(String resourceGroupName,
String factoryName,
String pipelineName)
Gets a pipeline.
|
PipelineResource |
getById(String id)
Gets a pipeline.
|
com.azure.core.http.rest.Response<PipelineResource> |
getByIdWithResponse(String id,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a pipeline.
|
com.azure.core.http.rest.Response<PipelineResource> |
getWithResponse(String resourceGroupName,
String factoryName,
String pipelineName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a pipeline.
|
com.azure.core.http.rest.PagedIterable<PipelineResource> |
listByFactory(String resourceGroupName,
String factoryName)
Lists pipelines.
|
com.azure.core.http.rest.PagedIterable<PipelineResource> |
listByFactory(String resourceGroupName,
String factoryName,
com.azure.core.util.Context context)
Lists pipelines.
|
com.azure.core.http.rest.PagedIterable<PipelineResource> listByFactory(String resourceGroupName, String factoryName)
resourceGroupName - The resource group name.factoryName - The factory name.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.com.azure.core.http.rest.PagedIterable<PipelineResource> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.context - The context to associate with this operation.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.PipelineResource get(String resourceGroupName, String factoryName, String pipelineName)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.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.com.azure.core.http.rest.Response<PipelineResource> getWithResponse(String resourceGroupName, String factoryName, String pipelineName, String ifNoneMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.ifNoneMatch - ETag of the pipeline 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.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.void delete(String resourceGroupName, String factoryName, String pipelineName)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String pipelineName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.context - The context to associate with this operation.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.CreateRunResponse createRun(String resourceGroupName, String factoryName, String pipelineName)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.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.com.azure.core.http.rest.Response<CreateRunResponse> createRunWithResponse(String resourceGroupName, String factoryName, String pipelineName, String referencePipelineRunId, Boolean isRecovery, String startActivityName, Boolean startFromFailure, Map<String,Object> parameters, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.pipelineName - The pipeline name.referencePipelineRunId - The pipeline run identifier. If run ID is specified the parameters of the specified
run will be used to create a new run.isRecovery - Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and
the new run will be grouped under the same groupId.startActivityName - In recovery mode, the rerun will start from this activity. If not specified, all
activities will run.startFromFailure - In recovery mode, if set to true, the rerun will start from failed activities. The
property will be used only if startActivityName is not specified.parameters - Parameters of the pipeline run. These parameters will be used only if the runId is not
specified.context - The context to associate with this operation.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.PipelineResource getById(String id)
id - the resource ID.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.com.azure.core.http.rest.Response<PipelineResource> getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context)
id - the resource ID.ifNoneMatch - ETag of the pipeline 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.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.void deleteById(String id)
id - the resource ID.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.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.context - The context to associate with this operation.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.PipelineResource.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.