GithubEnterpriseConfig constructor

GithubEnterpriseConfig(
  1. String name, {
  2. GithubEnterpriseConfigArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new GithubEnterpriseConfig. name The Pulumi resource name. args Arguments used to configure this GithubEnterpriseConfig. The set of arguments for GithubEnterpriseConfig. options Resource options controlling this resource's behavior.

Implementation

GithubEnterpriseConfig(
  String name, {
  GithubEnterpriseConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:cloudbuild/v1:GithubEnterpriseConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  appId = registerOutput<String>('appId');
  createTime = registerOutput<String>('createTime');
  displayName = registerOutput<String>('displayName');
  gheConfigId = registerOutput<String?>('gheConfigId');
  hostUrl = registerOutput<String>('hostUrl');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  peeredNetwork = registerOutput<String>('peeredNetwork');
  project = registerOutput<String>('project');
  projectId = registerOutput<String?>('projectId');
  secrets = registerOutput<GitHubEnterpriseSecretsResponse>('secrets', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GitHubEnterpriseSecretsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  sslCa = registerOutput<String>('sslCa');
  webhookKey = registerOutput<String>('webhookKey');
}