github.getEnterprise
Use this data source to retrieve basic information about a GitHub enterprise.
Using getEnterprise
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 getEnterprise(args: GetEnterpriseArgs, opts?: InvokeOptions): Promise<GetEnterpriseResult>
function getEnterpriseOutput(args: GetEnterpriseOutputArgs, opts?: InvokeOptions): Output<GetEnterpriseResult>
def get_enterprise(slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnterpriseResult
def get_enterprise_output(slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnterpriseResult]
func GetEnterprise(ctx *Context, args *GetEnterpriseArgs, opts ...InvokeOption) (*GetEnterpriseResult, error)
func GetEnterpriseOutput(ctx *Context, args *GetEnterpriseOutputArgs, opts ...InvokeOption) GetEnterpriseResultOutput
> Note: This function is named GetEnterprise
in the Go SDK.
public static class GetEnterprise
{
public static Task<GetEnterpriseResult> InvokeAsync(GetEnterpriseArgs args, InvokeOptions? opts = null)
public static Output<GetEnterpriseResult> Invoke(GetEnterpriseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnterpriseResult> getEnterprise(GetEnterpriseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: github:index/getEnterprise:getEnterprise
arguments:
# arguments dictionary
The following arguments are supported:
- Slug string
The URL slug identifying the enterprise.
- Slug string
The URL slug identifying the enterprise.
- slug String
The URL slug identifying the enterprise.
- slug string
The URL slug identifying the enterprise.
- slug str
The URL slug identifying the enterprise.
- slug String
The URL slug identifying the enterprise.
getEnterprise Result
The following output properties are available:
- created_
at str The time the enterprise was created.
- description str
The description of the enterpise.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the enteprise.
- slug str
The URL slug identifying the enterprise.
- url str
The url for the enterprise.
Package Details
- Repository
- GitHub pulumi/pulumi-github
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
github
Terraform Provider.