Show / Hide Table of Contents

Class PipelineScheduleVariable

This resource allows you to create and manage variables for pipeline schedules.

Example Usage

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
public MyStack()
{
    var examplePipelineSchedule = new GitLab.PipelineSchedule("examplePipelineSchedule", new GitLab.PipelineScheduleArgs
    {
        Project = "12345",
        Description = "Used to schedule builds",
        Ref = "master",
        Cron = "0 1 * * *",
    });
    var examplePipelineScheduleVariable = new GitLab.PipelineScheduleVariable("examplePipelineScheduleVariable", new GitLab.PipelineScheduleVariableArgs
    {
        Project = gitlab_pipeline_schedule.Project,
        PipelineScheduleId = gitlab_pipeline_schedule.Id,
        Key = "EXAMPLE_KEY",
        Value = "example",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
PipelineScheduleVariable
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class PipelineScheduleVariable : CustomResource

Constructors

View Source

PipelineScheduleVariable(String, PipelineScheduleVariableArgs, CustomResourceOptions)

Create a PipelineScheduleVariable resource with the given unique name, arguments, and options.

Declaration
public PipelineScheduleVariable(string name, PipelineScheduleVariableArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PipelineScheduleVariableArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Key

Name of the variable.

Declaration
public Output<string> Key { get; }
Property Value
Type Description
Output<System.String>
View Source

PipelineScheduleId

The id of the pipeline schedule.

Declaration
public Output<int> PipelineScheduleId { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Project

The id of the project to add the schedule to.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

Value

Value of the variable.

Declaration
public Output<string> Value { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, PipelineScheduleVariableState, CustomResourceOptions)

Get an existing PipelineScheduleVariable resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PipelineScheduleVariable Get(string name, Input<string> id, PipelineScheduleVariableState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PipelineScheduleVariableState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PipelineScheduleVariable
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.