1. Packages
  2. Github Provider
  3. API Docs
  4. getActionsOrganizationVariables
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

github.getActionsOrganizationVariables

Explore with Pulumi AI

github logo
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

    Use this data source to retrieve the list of variables of the organization.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const example = github.getActionsOrganizationVariables({});
    
    import pulumi
    import pulumi_github as github
    
    example = github.get_actions_organization_variables()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-github/sdk/v6/go/github"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := github.GetActionsOrganizationVariables(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Github = Pulumi.Github;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Github.GetActionsOrganizationVariables.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.github.GithubFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = GithubFunctions.getActionsOrganizationVariables();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: github:getActionsOrganizationVariables
          Arguments: {}
    

    Using getActionsOrganizationVariables

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getActionsOrganizationVariables(opts?: InvokeOptions): Promise<GetActionsOrganizationVariablesResult>
    function getActionsOrganizationVariablesOutput(opts?: InvokeOptions): Output<GetActionsOrganizationVariablesResult>
    def get_actions_organization_variables(opts: Optional[InvokeOptions] = None) -> GetActionsOrganizationVariablesResult
    def get_actions_organization_variables_output(opts: Optional[InvokeOptions] = None) -> Output[GetActionsOrganizationVariablesResult]
    func GetActionsOrganizationVariables(ctx *Context, opts ...InvokeOption) (*GetActionsOrganizationVariablesResult, error)
    func GetActionsOrganizationVariablesOutput(ctx *Context, opts ...InvokeOption) GetActionsOrganizationVariablesResultOutput

    > Note: This function is named GetActionsOrganizationVariables in the Go SDK.

    public static class GetActionsOrganizationVariables 
    {
        public static Task<GetActionsOrganizationVariablesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetActionsOrganizationVariablesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetActionsOrganizationVariablesResult> getActionsOrganizationVariables(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: github:index/getActionsOrganizationVariables:getActionsOrganizationVariables
      arguments:
        # arguments dictionary

    getActionsOrganizationVariables Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Variables List<GetActionsOrganizationVariablesVariable>
    list of variables for the repository
    Id string
    The provider-assigned unique ID for this managed resource.
    Variables []GetActionsOrganizationVariablesVariable
    list of variables for the repository
    id String
    The provider-assigned unique ID for this managed resource.
    variables List<GetActionsOrganizationVariablesVariable>
    list of variables for the repository
    id string
    The provider-assigned unique ID for this managed resource.
    variables GetActionsOrganizationVariablesVariable[]
    list of variables for the repository
    id str
    The provider-assigned unique ID for this managed resource.
    variables Sequence[GetActionsOrganizationVariablesVariable]
    list of variables for the repository
    id String
    The provider-assigned unique ID for this managed resource.
    variables List<Property Map>
    list of variables for the repository

    Supporting Types

    GetActionsOrganizationVariablesVariable

    CreatedAt string
    Timestamp of the variable creation
    Name string
    Name of the variable
    UpdatedAt string
    Timestamp of the variable last update
    Value string
    Value of the variable
    Visibility string
    Visibility of the variable
    CreatedAt string
    Timestamp of the variable creation
    Name string
    Name of the variable
    UpdatedAt string
    Timestamp of the variable last update
    Value string
    Value of the variable
    Visibility string
    Visibility of the variable
    createdAt String
    Timestamp of the variable creation
    name String
    Name of the variable
    updatedAt String
    Timestamp of the variable last update
    value String
    Value of the variable
    visibility String
    Visibility of the variable
    createdAt string
    Timestamp of the variable creation
    name string
    Name of the variable
    updatedAt string
    Timestamp of the variable last update
    value string
    Value of the variable
    visibility string
    Visibility of the variable
    created_at str
    Timestamp of the variable creation
    name str
    Name of the variable
    updated_at str
    Timestamp of the variable last update
    value str
    Value of the variable
    visibility str
    Visibility of the variable
    createdAt String
    Timestamp of the variable creation
    name String
    Name of the variable
    updatedAt String
    Timestamp of the variable last update
    value String
    Value of the variable
    visibility String
    Visibility of the variable

    Package Details

    Repository
    GitHub pulumi/pulumi-github
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the github Terraform Provider.
    github logo
    GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi