UNPKG

@pulumi/github

Version:

A Pulumi package for creating and managing github cloud resources.

45 lines (44 loc) 1.53 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve a GitHub Actions organization registration token. This token can then be used to register a self-hosted runner. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsOrganizationRegistrationToken({}); * ``` */ export declare function getActionsOrganizationRegistrationToken(opts?: pulumi.InvokeOptions): Promise<GetActionsOrganizationRegistrationTokenResult>; /** * A collection of values returned by getActionsOrganizationRegistrationToken. */ export interface GetActionsOrganizationRegistrationTokenResult { /** * The token expiration date. */ readonly expiresAt: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The token that has been retrieved. */ readonly token: string; } /** * Use this data source to retrieve a GitHub Actions organization registration token. This token can then be used to register a self-hosted runner. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsOrganizationRegistrationToken({}); * ``` */ export declare function getActionsOrganizationRegistrationTokenOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActionsOrganizationRegistrationTokenResult>;