getGithubEnterpriseConfig function

Future<GetGithubEnterpriseConfigResult> getGithubEnterpriseConfig(
  1. GetGithubEnterpriseConfigArgs args, {
  2. InvokeOptions? options,
})

Retrieve a GitHubEnterpriseConfig. args Arguments passed to this invoke. Arguments for getGithubEnterpriseConfig. options Invoke options controlling this call.

Implementation

Future<GetGithubEnterpriseConfigResult> getGithubEnterpriseConfig(
  GetGithubEnterpriseConfigArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:cloudbuild/v1:getGithubEnterpriseConfig',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetGithubEnterpriseConfigResult.fromMap(result);
}