All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datafactory.Pipeline Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.datafactory;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.datafactory.PipelineArgs;
import com.pulumi.azurenative.datafactory.outputs.AppendVariableActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.AzureDataExplorerCommandActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.AzureFunctionActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.AzureMLBatchExecutionActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.AzureMLExecutePipelineActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.AzureMLUpdateResourceActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ControlActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.CopyActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.CustomActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.DataLakeAnalyticsUSQLActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.DatabricksNotebookActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.DatabricksSparkJarActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.DatabricksSparkPythonActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.DeleteActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ExecuteDataFlowActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ExecutePipelineActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ExecuteSSISPackageActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ExecuteWranglingDataflowActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ExecutionActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.FailActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.FilterActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ForEachActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.GetMetadataActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.HDInsightHiveActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.HDInsightMapReduceActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.HDInsightPigActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.HDInsightSparkActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.HDInsightStreamingActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.IfConditionActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.LookupActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ParameterSpecificationResponse;
import com.pulumi.azurenative.datafactory.outputs.PipelinePolicyResponse;
import com.pulumi.azurenative.datafactory.outputs.PipelineResponseFolder;
import com.pulumi.azurenative.datafactory.outputs.ScriptActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.SetVariableActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.SqlServerStoredProcedureActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.SwitchActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.SynapseNotebookActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.SynapseSparkJobDefinitionActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.UntilActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.ValidationActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.VariableSpecificationResponse;
import com.pulumi.azurenative.datafactory.outputs.WaitActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.WebActivityResponse;
import com.pulumi.azurenative.datafactory.outputs.WebHookActivityResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Integer;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Pipeline resource type.
 * Azure REST API version: 2018-06-01. Prior API version in Azure Native 1.x: 2018-06-01.
 * 
 */
@ResourceType(type="azure-native:datafactory:Pipeline")
public class Pipeline extends com.pulumi.resources.CustomResource {
    /**
     * List of activities in pipeline.
     * 
     */
    @Export(name="activities", refs={List.class,Object.class}, tree="[0,1]")
    private Output> activities;

    /**
     * @return List of activities in pipeline.
     * 
     */
    public Output>> activities() {
        return Codegen.optional(this.activities);
    }
    /**
     * List of tags that can be used for describing the Pipeline.
     * 
     */
    @Export(name="annotations", refs={List.class,Object.class}, tree="[0,1]")
    private Output> annotations;

    /**
     * @return List of tags that can be used for describing the Pipeline.
     * 
     */
    public Output>> annotations() {
        return Codegen.optional(this.annotations);
    }
    /**
     * The max number of concurrent runs for the pipeline.
     * 
     */
    @Export(name="concurrency", refs={Integer.class}, tree="[0]")
    private Output concurrency;

    /**
     * @return The max number of concurrent runs for the pipeline.
     * 
     */
    public Output> concurrency() {
        return Codegen.optional(this.concurrency);
    }
    /**
     * The description of the pipeline.
     * 
     */
    @Export(name="description", refs={String.class}, tree="[0]")
    private Output description;

    /**
     * @return The description of the pipeline.
     * 
     */
    public Output> description() {
        return Codegen.optional(this.description);
    }
    /**
     * Etag identifies change in the resource.
     * 
     */
    @Export(name="etag", refs={String.class}, tree="[0]")
    private Output etag;

    /**
     * @return Etag identifies change in the resource.
     * 
     */
    public Output etag() {
        return this.etag;
    }
    /**
     * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
     * 
     */
    @Export(name="folder", refs={PipelineResponseFolder.class}, tree="[0]")
    private Output folder;

    /**
     * @return The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
     * 
     */
    public Output> folder() {
        return Codegen.optional(this.folder);
    }
    /**
     * The resource name.
     * 
     */
    @Export(name="name", refs={String.class}, tree="[0]")
    private Output name;

    /**
     * @return The resource name.
     * 
     */
    public Output name() {
        return this.name;
    }
    /**
     * List of parameters for pipeline.
     * 
     */
    @Export(name="parameters", refs={Map.class,String.class,ParameterSpecificationResponse.class}, tree="[0,1,2]")
    private Output> parameters;

    /**
     * @return List of parameters for pipeline.
     * 
     */
    public Output>> parameters() {
        return Codegen.optional(this.parameters);
    }
    /**
     * Pipeline Policy.
     * 
     */
    @Export(name="policy", refs={PipelinePolicyResponse.class}, tree="[0]")
    private Output policy;

    /**
     * @return Pipeline Policy.
     * 
     */
    public Output> policy() {
        return Codegen.optional(this.policy);
    }
    /**
     * Dimensions emitted by Pipeline.
     * 
     */
    @Export(name="runDimensions", refs={Map.class,String.class,Object.class}, tree="[0,1,2]")
    private Output> runDimensions;

    /**
     * @return Dimensions emitted by Pipeline.
     * 
     */
    public Output>> runDimensions() {
        return Codegen.optional(this.runDimensions);
    }
    /**
     * The resource type.
     * 
     */
    @Export(name="type", refs={String.class}, tree="[0]")
    private Output type;

    /**
     * @return The resource type.
     * 
     */
    public Output type() {
        return this.type;
    }
    /**
     * List of variables for pipeline.
     * 
     */
    @Export(name="variables", refs={Map.class,String.class,VariableSpecificationResponse.class}, tree="[0,1,2]")
    private Output> variables;

    /**
     * @return List of variables for pipeline.
     * 
     */
    public Output>> variables() {
        return Codegen.optional(this.variables);
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public Pipeline(java.lang.String name) {
        this(name, PipelineArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public Pipeline(java.lang.String name, PipelineArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public Pipeline(java.lang.String name, PipelineArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:datafactory:Pipeline", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
    }

    private Pipeline(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:datafactory:Pipeline", name, null, makeResourceOptions(options, id), false);
    }

    private static PipelineArgs makeArgs(PipelineArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        if (options != null && options.getUrn().isPresent()) {
            return null;
        }
        return args == null ? PipelineArgs.Empty : args;
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .aliases(List.of(
                Output.of(Alias.builder().type("azure-native:datafactory/v20170901preview:Pipeline").build()),
                Output.of(Alias.builder().type("azure-native:datafactory/v20180601:Pipeline").build())
            ))
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static Pipeline get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new Pipeline(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy