github.getActionsOrganizationVariables
Explore with Pulumi AI
Use this data source to retrieve the list of variables of the organization.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Github = Pulumi.Github;
return await Deployment.RunAsync(() =>
{
var example = Github.GetActionsOrganizationVariables.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-github/sdk/v5/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := github.GetActionsOrganizationVariables(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
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();
}
}
import pulumi
import pulumi_github as github
example = github.get_actions_organization_variables()
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const example = github.getActionsOrganizationVariables({});
variables:
example:
fn::invoke:
Function: github:getActionsOrganizationVariables
Arguments: {}
Using getActionsOrganizationVariables
function getActionsOrganizationVariables(opts?: InvokeOptions): Promise<GetActionsOrganizationVariablesResult>
def get_actions_organization_variables(opts: Optional[InvokeOptions] = None) -> GetActionsOrganizationVariablesResult
func GetActionsOrganizationVariables(ctx *Context, opts ...InvokeOption) (*GetActionsOrganizationVariablesResult, error)
> Note: This function is named GetActionsOrganizationVariables
in the Go SDK.
public static class GetActionsOrganizationVariables
{
public static Task<GetActionsOrganizationVariablesResult> InvokeAsync(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<Get
Actions Organization Variables Variable> list of variables for the repository
- Id string
The provider-assigned unique ID for this managed resource.
- Variables
[]Get
Actions Organization Variables Variable list of variables for the repository
- id String
The provider-assigned unique ID for this managed resource.
- variables
List<Get
Actions Organization Variables Variable> list of variables for the repository
- id string
The provider-assigned unique ID for this managed resource.
- variables
Get
Actions Organization Variables Variable[] list of variables for the repository
- id str
The provider-assigned unique ID for this managed resource.
- variables
Sequence[Get
Actions Organization Variables Variable] 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
- Created
At string Timestamp of the variable creation
- Name string
Name of the variable
- Updated
At string Timestamp of the variable last update
- Value string
Value of the variable
- Visibility string
Visibility of the variable
- Created
At string Timestamp of the variable creation
- Name string
Name of the variable
- Updated
At string Timestamp of the variable last update
- Value string
Value of the variable
- Visibility string
Visibility of the variable
- created
At String Timestamp of the variable creation
- name String
Name of the variable
- updated
At String Timestamp of the variable last update
- value String
Value of the variable
- visibility String
Visibility of the variable
- created
At string Timestamp of the variable creation
- name string
Name of the variable
- updated
At 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
- created
At String Timestamp of the variable creation
- name String
Name of the variable
- updated
At 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.