oci.DevOps.Connection
This resource provides the Connection resource in Oracle Cloud Infrastructure Devops service.
Creates a new connection.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testConnection = new Oci.DevOps.Connection("testConnection", new()
{
ConnectionType = @var.Connection_connection_type,
ProjectId = oci_devops_project.Test_project.Id,
AccessToken = @var.Connection_access_token,
AppPassword = @var.Connection_app_password,
BaseUrl = @var.Connection_base_url,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = @var.Connection_description,
DisplayName = @var.Connection_display_name,
FreeformTags =
{
{ "bar-key", "value" },
},
TlsVerifyConfig = new Oci.DevOps.Inputs.ConnectionTlsVerifyConfigArgs
{
CaCertificateBundleId = oci_devops_ca_certificate_bundle.Test_ca_certificate_bundle.Id,
TlsVerifyMode = @var.Connection_tls_verify_config_tls_verify_mode,
},
Username = @var.Connection_username,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DevOps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DevOps.NewConnection(ctx, "testConnection", &DevOps.ConnectionArgs{
ConnectionType: pulumi.Any(_var.Connection_connection_type),
ProjectId: pulumi.Any(oci_devops_project.Test_project.Id),
AccessToken: pulumi.Any(_var.Connection_access_token),
AppPassword: pulumi.Any(_var.Connection_app_password),
BaseUrl: pulumi.Any(_var.Connection_base_url),
DefinedTags: pulumi.AnyMap{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(_var.Connection_description),
DisplayName: pulumi.Any(_var.Connection_display_name),
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
TlsVerifyConfig: &devops.ConnectionTlsVerifyConfigArgs{
CaCertificateBundleId: pulumi.Any(oci_devops_ca_certificate_bundle.Test_ca_certificate_bundle.Id),
TlsVerifyMode: pulumi.Any(_var.Connection_tls_verify_config_tls_verify_mode),
},
Username: pulumi.Any(_var.Connection_username),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.Connection;
import com.pulumi.oci.DevOps.ConnectionArgs;
import com.pulumi.oci.DevOps.inputs.ConnectionTlsVerifyConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testConnection = new Connection("testConnection", ConnectionArgs.builder()
.connectionType(var_.connection_connection_type())
.projectId(oci_devops_project.test_project().id())
.accessToken(var_.connection_access_token())
.appPassword(var_.connection_app_password())
.baseUrl(var_.connection_base_url())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(var_.connection_description())
.displayName(var_.connection_display_name())
.freeformTags(Map.of("bar-key", "value"))
.tlsVerifyConfig(ConnectionTlsVerifyConfigArgs.builder()
.caCertificateBundleId(oci_devops_ca_certificate_bundle.test_ca_certificate_bundle().id())
.tlsVerifyMode(var_.connection_tls_verify_config_tls_verify_mode())
.build())
.username(var_.connection_username())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_connection = oci.dev_ops.Connection("testConnection",
connection_type=var["connection_connection_type"],
project_id=oci_devops_project["test_project"]["id"],
access_token=var["connection_access_token"],
app_password=var["connection_app_password"],
base_url=var["connection_base_url"],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=var["connection_description"],
display_name=var["connection_display_name"],
freeform_tags={
"bar-key": "value",
},
tls_verify_config=oci.dev_ops.ConnectionTlsVerifyConfigArgs(
ca_certificate_bundle_id=oci_devops_ca_certificate_bundle["test_ca_certificate_bundle"]["id"],
tls_verify_mode=var["connection_tls_verify_config_tls_verify_mode"],
),
username=var["connection_username"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConnection = new oci.devops.Connection("testConnection", {
connectionType: _var.connection_connection_type,
projectId: oci_devops_project.test_project.id,
accessToken: _var.connection_access_token,
appPassword: _var.connection_app_password,
baseUrl: _var.connection_base_url,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: _var.connection_description,
displayName: _var.connection_display_name,
freeformTags: {
"bar-key": "value",
},
tlsVerifyConfig: {
caCertificateBundleId: oci_devops_ca_certificate_bundle.test_ca_certificate_bundle.id,
tlsVerifyMode: _var.connection_tls_verify_config_tls_verify_mode,
},
username: _var.connection_username,
});
resources:
testConnection:
type: oci:DevOps:Connection
properties:
#Required
connectionType: ${var.connection_connection_type}
projectId: ${oci_devops_project.test_project.id}
#Optional
accessToken: ${var.connection_access_token}
appPassword: ${var.connection_app_password}
baseUrl: ${var.connection_base_url}
definedTags:
foo-namespace.bar-key: value
description: ${var.connection_description}
displayName: ${var.connection_display_name}
freeformTags:
bar-key: value
tlsVerifyConfig:
caCertificateBundleId: ${oci_devops_ca_certificate_bundle.test_ca_certificate_bundle.id}
tlsVerifyMode: ${var.connection_tls_verify_config_tls_verify_mode}
username: ${var.connection_username}
Create Connection Resource
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
app_password: Optional[str] = None,
base_url: Optional[str] = None,
connection_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
project_id: Optional[str] = None,
tls_verify_config: Optional[_devops.ConnectionTlsVerifyConfigArgs] = None,
username: Optional[str] = None)
@overload
def Connection(resource_name: str,
args: ConnectionArgs,
opts: Optional[ResourceOptions] = None)
func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)
public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: oci:DevOps:Connection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Connection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Connection resource accepts the following input properties:
- Connection
Type string (Updatable) The type of connection.
- Project
Id string The OCID of the DevOps project.
- Access
Token string (Updatable) The OCID of personal access token saved in secret store.
- App
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- Base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) Optional description about the connection.
- Display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- Username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- Connection
Type string (Updatable) The type of connection.
- Project
Id string The OCID of the DevOps project.
- Access
Token string (Updatable) The OCID of personal access token saved in secret store.
- App
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- Base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) Optional description about the connection.
- Display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- Username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- connection
Type String (Updatable) The type of connection.
- project
Id String The OCID of the DevOps project.
- access
Token String (Updatable) The OCID of personal access token saved in secret store.
- app
Password String (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url String (Updatable) The Base URL of the hosted BitbucketServer.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) Optional description about the connection.
- display
Name String (Updatable) Optional connection display name. Avoid entering confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username String
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- connection
Type string (Updatable) The type of connection.
- project
Id string The OCID of the DevOps project.
- access
Token string (Updatable) The OCID of personal access token saved in secret store.
- app
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description string
(Updatable) Optional description about the connection.
- display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- connection_
type str (Updatable) The type of connection.
- project_
id str The OCID of the DevOps project.
- access_
token str (Updatable) The OCID of personal access token saved in secret store.
- app_
password str (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base_
url str (Updatable) The Base URL of the hosted BitbucketServer.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description str
(Updatable) Optional description about the connection.
- display_
name str (Updatable) Optional connection display name. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- tls_
verify_ Connectionconfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username str
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- connection
Type String (Updatable) The type of connection.
- project
Id String The OCID of the DevOps project.
- access
Token String (Updatable) The OCID of personal access token saved in secret store.
- app
Password String (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url String (Updatable) The Base URL of the hosted BitbucketServer.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) Optional description about the connection.
- display
Name String (Updatable) Optional connection display name. Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- tls
Verify Property MapConfig (Updatable) TLS configuration used by build service to verify TLS connection.
- username String
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Compartment
Id string The OCID of the compartment containing the connection.
- Id string
The provider-assigned unique ID for this managed resource.
- State string
The current state of the connection.
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the connection was created. Format defined by RFC3339.
- Time
Updated string The time the connection was updated. Format defined by RFC3339.
- Compartment
Id string The OCID of the compartment containing the connection.
- Id string
The provider-assigned unique ID for this managed resource.
- State string
The current state of the connection.
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the connection was created. Format defined by RFC3339.
- Time
Updated string The time the connection was updated. Format defined by RFC3339.
- compartment
Id String The OCID of the compartment containing the connection.
- id String
The provider-assigned unique ID for this managed resource.
- state String
The current state of the connection.
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the connection was created. Format defined by RFC3339.
- time
Updated String The time the connection was updated. Format defined by RFC3339.
- compartment
Id string The OCID of the compartment containing the connection.
- id string
The provider-assigned unique ID for this managed resource.
- state string
The current state of the connection.
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The time the connection was created. Format defined by RFC3339.
- time
Updated string The time the connection was updated. Format defined by RFC3339.
- compartment_
id str The OCID of the compartment containing the connection.
- id str
The provider-assigned unique ID for this managed resource.
- state str
The current state of the connection.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The time the connection was created. Format defined by RFC3339.
- time_
updated str The time the connection was updated. Format defined by RFC3339.
- compartment
Id String The OCID of the compartment containing the connection.
- id String
The provider-assigned unique ID for this managed resource.
- state String
The current state of the connection.
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the connection was created. Format defined by RFC3339.
- time
Updated String The time the connection was updated. Format defined by RFC3339.
Look up Existing Connection Resource
Get an existing Connection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectionState, opts?: CustomResourceOptions): Connection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
app_password: Optional[str] = None,
base_url: Optional[str] = None,
compartment_id: Optional[str] = None,
connection_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
project_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
tls_verify_config: Optional[_devops.ConnectionTlsVerifyConfigArgs] = None,
username: Optional[str] = None) -> Connection
func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)
public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)
public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Token string (Updatable) The OCID of personal access token saved in secret store.
- App
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- Base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- Compartment
Id string The OCID of the compartment containing the connection.
- Connection
Type string (Updatable) The type of connection.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) Optional description about the connection.
- Display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Project
Id string The OCID of the DevOps project.
- State string
The current state of the connection.
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the connection was created. Format defined by RFC3339.
- Time
Updated string The time the connection was updated. Format defined by RFC3339.
- Tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- Username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- Access
Token string (Updatable) The OCID of personal access token saved in secret store.
- App
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- Base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- Compartment
Id string The OCID of the compartment containing the connection.
- Connection
Type string (Updatable) The type of connection.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
(Updatable) Optional description about the connection.
- Display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Project
Id string The OCID of the DevOps project.
- State string
The current state of the connection.
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the connection was created. Format defined by RFC3339.
- Time
Updated string The time the connection was updated. Format defined by RFC3339.
- Tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- Username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- access
Token String (Updatable) The OCID of personal access token saved in secret store.
- app
Password String (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url String (Updatable) The Base URL of the hosted BitbucketServer.
- compartment
Id String The OCID of the compartment containing the connection.
- connection
Type String (Updatable) The type of connection.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) Optional description about the connection.
- display
Name String (Updatable) Optional connection display name. Avoid entering confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- project
Id String The OCID of the DevOps project.
- state String
The current state of the connection.
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the connection was created. Format defined by RFC3339.
- time
Updated String The time the connection was updated. Format defined by RFC3339.
- tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username String
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- access
Token string (Updatable) The OCID of personal access token saved in secret store.
- app
Password string (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url string (Updatable) The Base URL of the hosted BitbucketServer.
- compartment
Id string The OCID of the compartment containing the connection.
- connection
Type string (Updatable) The type of connection.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description string
(Updatable) Optional description about the connection.
- display
Name string (Updatable) Optional connection display name. Avoid entering confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- project
Id string The OCID of the DevOps project.
- state string
The current state of the connection.
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The time the connection was created. Format defined by RFC3339.
- time
Updated string The time the connection was updated. Format defined by RFC3339.
- tls
Verify ConnectionConfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username string
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- access_
token str (Updatable) The OCID of personal access token saved in secret store.
- app_
password str (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base_
url str (Updatable) The Base URL of the hosted BitbucketServer.
- compartment_
id str The OCID of the compartment containing the connection.
- connection_
type str (Updatable) The type of connection.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description str
(Updatable) Optional description about the connection.
- display_
name str (Updatable) Optional connection display name. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- project_
id str The OCID of the DevOps project.
- state str
The current state of the connection.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The time the connection was created. Format defined by RFC3339.
- time_
updated str The time the connection was updated. Format defined by RFC3339.
- tls_
verify_ Connectionconfig Tls Verify Config Args (Updatable) TLS configuration used by build service to verify TLS connection.
- username str
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
- access
Token String (Updatable) The OCID of personal access token saved in secret store.
- app
Password String (Updatable) OCID of personal Bitbucket Cloud AppPassword saved in secret store
- base
Url String (Updatable) The Base URL of the hosted BitbucketServer.
- compartment
Id String The OCID of the compartment containing the connection.
- connection
Type String (Updatable) The type of connection.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
(Updatable) Optional description about the connection.
- display
Name String (Updatable) Optional connection display name. Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- project
Id String The OCID of the DevOps project.
- state String
The current state of the connection.
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the connection was created. Format defined by RFC3339.
- time
Updated String The time the connection was updated. Format defined by RFC3339.
- tls
Verify Property MapConfig (Updatable) TLS configuration used by build service to verify TLS connection.
- username String
(Updatable) Public Bitbucket Cloud Username in plain text(not more than 30 characters)
Supporting Types
ConnectionTlsVerifyConfig
- Ca
Certificate stringBundle Id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- Tls
Verify stringMode (Updatable) The type of TLS verification.
- Ca
Certificate stringBundle Id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- Tls
Verify stringMode (Updatable) The type of TLS verification.
- ca
Certificate StringBundle Id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- tls
Verify StringMode (Updatable) The type of TLS verification.
- ca
Certificate stringBundle Id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- tls
Verify stringMode (Updatable) The type of TLS verification.
- ca_
certificate_ strbundle_ id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- tls_
verify_ strmode (Updatable) The type of TLS verification.
- ca
Certificate StringBundle Id (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle.
- tls
Verify StringMode (Updatable) The type of TLS verification.
Import
Connections can be imported using the id
, e.g.
$ pulumi import oci:DevOps/connection:Connection test_connection "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.