Class ConnectionArgs


  • public final class ConnectionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • annotations

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> annotations()
        Returns:
        Allows clients to store small amounts of arbitrary data. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
      • githubConfig

        public java.util.Optional<com.pulumi.core.Output<ConnectionGithubConfigArgs>> githubConfig()
        Returns:
        Configuration for connections to github.com.
      • githubEnterpriseConfig

        public java.util.Optional<com.pulumi.core.Output<ConnectionGithubEnterpriseConfigArgs>> githubEnterpriseConfig()
        Returns:
        Configuration for connections to an instance of GitHub Enterprise.
      • gitlabConfig

        public java.util.Optional<com.pulumi.core.Output<ConnectionGitlabConfigArgs>> gitlabConfig()
        Returns:
        Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
      • location

        public com.pulumi.core.Output<java.lang.String> location()
        Returns:
        The location for the resource
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The project for the resource