import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new `BitbucketServerConfig`. This API is experimental. */ export declare class BitbucketServerConfig extends pulumi.CustomResource { /** * Get an existing BitbucketServerConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BitbucketServerConfig; /** * Returns true if the given object is an instance of BitbucketServerConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BitbucketServerConfig; /** * Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. */ readonly apiKey: pulumi.Output; /** * Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */ readonly bitbucketServerConfigId: pulumi.Output; /** * Connected Bitbucket Server repositories for this config. */ readonly connectedRepositories: pulumi.Output; /** * Time when the config was created. */ readonly createTime: pulumi.Output; /** * Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. */ readonly hostUri: pulumi.Output; readonly location: pulumi.Output; /** * The resource name for the config. */ readonly name: pulumi.Output; /** * Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */ readonly peeredNetwork: pulumi.Output; /** * Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set. */ readonly peeredNetworkIpRange: pulumi.Output; readonly project: pulumi.Output; /** * Secret Manager secrets needed by the config. */ readonly secrets: pulumi.Output; /** * Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt. */ readonly sslCa: pulumi.Output; /** * Username of the account Cloud Build will use on Bitbucket Server. */ readonly username: pulumi.Output; /** * UUID included in webhook requests. The UUID is used to look up the corresponding config. */ readonly webhookKey: pulumi.Output; /** * Create a BitbucketServerConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BitbucketServerConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a BitbucketServerConfig resource. */ export interface BitbucketServerConfigArgs { /** * Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. */ apiKey: pulumi.Input; /** * Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character. */ bitbucketServerConfigId?: pulumi.Input; /** * Time when the config was created. */ createTime?: pulumi.Input; /** * Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. */ hostUri: pulumi.Input; location?: pulumi.Input; /** * The resource name for the config. */ name?: pulumi.Input; /** * Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */ peeredNetwork?: pulumi.Input; /** * Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set. */ peeredNetworkIpRange?: pulumi.Input; project?: pulumi.Input; /** * Secret Manager secrets needed by the config. */ secrets: pulumi.Input; /** * Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt. */ sslCa?: pulumi.Input; /** * Username of the account Cloud Build will use on Bitbucket Server. */ username?: pulumi.Input; }