1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getRepositories
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DevOps.getRepositories

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Repositories in Oracle Cloud Infrastructure Devops service.

Returns a list of repositories given a compartment ID or a project ID.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testRepositories = oci.DevOps.getRepositories({
    compartmentId: compartmentId,
    name: repositoryName,
    projectId: testProject.id,
    repositoryId: testRepository.id,
    state: repositoryState,
});
Copy
import pulumi
import pulumi_oci as oci

test_repositories = oci.DevOps.get_repositories(compartment_id=compartment_id,
    name=repository_name,
    project_id=test_project["id"],
    repository_id=test_repository["id"],
    state=repository_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/devops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devops.GetRepositories(ctx, &devops.GetRepositoriesArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			Name:          pulumi.StringRef(repositoryName),
			ProjectId:     pulumi.StringRef(testProject.Id),
			RepositoryId:  pulumi.StringRef(testRepository.Id),
			State:         pulumi.StringRef(repositoryState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testRepositories = Oci.DevOps.GetRepositories.Invoke(new()
    {
        CompartmentId = compartmentId,
        Name = repositoryName,
        ProjectId = testProject.Id,
        RepositoryId = testRepository.Id,
        State = repositoryState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DevOpsFunctions;
import com.pulumi.oci.DevOps.inputs.GetRepositoriesArgs;
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) {
        final var testRepositories = DevOpsFunctions.getRepositories(GetRepositoriesArgs.builder()
            .compartmentId(compartmentId)
            .name(repositoryName)
            .projectId(testProject.id())
            .repositoryId(testRepository.id())
            .state(repositoryState)
            .build());

    }
}
Copy
variables:
  testRepositories:
    fn::invoke:
      function: oci:DevOps:getRepositories
      arguments:
        compartmentId: ${compartmentId}
        name: ${repositoryName}
        projectId: ${testProject.id}
        repositoryId: ${testRepository.id}
        state: ${repositoryState}
Copy

Using getRepositories

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRepositories(args: GetRepositoriesArgs, opts?: InvokeOptions): Promise<GetRepositoriesResult>
function getRepositoriesOutput(args: GetRepositoriesOutputArgs, opts?: InvokeOptions): Output<GetRepositoriesResult>
Copy
def get_repositories(compartment_id: Optional[str] = None,
                     filters: Optional[Sequence[_devops.GetRepositoriesFilter]] = None,
                     name: Optional[str] = None,
                     project_id: Optional[str] = None,
                     repository_id: Optional[str] = None,
                     state: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRepositoriesResult
def get_repositories_output(compartment_id: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetRepositoriesFilterArgs]]]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     project_id: Optional[pulumi.Input[str]] = None,
                     repository_id: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRepositoriesResult]
Copy
func GetRepositories(ctx *Context, args *GetRepositoriesArgs, opts ...InvokeOption) (*GetRepositoriesResult, error)
func GetRepositoriesOutput(ctx *Context, args *GetRepositoriesOutputArgs, opts ...InvokeOption) GetRepositoriesResultOutput
Copy

> Note: This function is named GetRepositories in the Go SDK.

public static class GetRepositories 
{
    public static Task<GetRepositoriesResult> InvokeAsync(GetRepositoriesArgs args, InvokeOptions? opts = null)
    public static Output<GetRepositoriesResult> Invoke(GetRepositoriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
public static Output<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DevOps/getRepositories:getRepositories
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. List<GetRepositoriesFilter>
Name string
A filter to return only resources that match the entire name given.
ProjectId string
unique project identifier
RepositoryId string
Unique repository identifier.
State string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
CompartmentId string
The OCID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. []GetRepositoriesFilter
Name string
A filter to return only resources that match the entire name given.
ProjectId string
unique project identifier
RepositoryId string
Unique repository identifier.
State string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
compartmentId String
The OCID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<GetRepositoriesFilter>
name String
A filter to return only resources that match the entire name given.
projectId String
unique project identifier
repositoryId String
Unique repository identifier.
state String
A filter to return only resources whose lifecycle state matches the given lifecycle state.
compartmentId string
The OCID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. GetRepositoriesFilter[]
name string
A filter to return only resources that match the entire name given.
projectId string
unique project identifier
repositoryId string
Unique repository identifier.
state string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
compartment_id str
The OCID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. Sequence[devops.GetRepositoriesFilter]
name str
A filter to return only resources that match the entire name given.
project_id str
unique project identifier
repository_id str
Unique repository identifier.
state str
A filter to return only resources whose lifecycle state matches the given lifecycle state.
compartmentId String
The OCID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<Property Map>
name String
A filter to return only resources that match the entire name given.
projectId String
unique project identifier
repositoryId String
Unique repository identifier.
state String
A filter to return only resources whose lifecycle state matches the given lifecycle state.

getRepositories Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
RepositoryCollections List<GetRepositoriesRepositoryCollection>
The list of repository_collection.
CompartmentId string
The OCID of the repository's compartment.
Filters List<GetRepositoriesFilter>
Name string
Name of the repository. Should be unique within the project. This value is mutable.
ProjectId string
The OCID of the DevOps project containing the repository.
RepositoryId string
State string
The current state of the repository.
Id string
The provider-assigned unique ID for this managed resource.
RepositoryCollections []GetRepositoriesRepositoryCollection
The list of repository_collection.
CompartmentId string
The OCID of the repository's compartment.
Filters []GetRepositoriesFilter
Name string
Name of the repository. Should be unique within the project. This value is mutable.
ProjectId string
The OCID of the DevOps project containing the repository.
RepositoryId string
State string
The current state of the repository.
id String
The provider-assigned unique ID for this managed resource.
repositoryCollections List<GetRepositoriesRepositoryCollection>
The list of repository_collection.
compartmentId String
The OCID of the repository's compartment.
filters List<GetRepositoriesFilter>
name String
Name of the repository. Should be unique within the project. This value is mutable.
projectId String
The OCID of the DevOps project containing the repository.
repositoryId String
state String
The current state of the repository.
id string
The provider-assigned unique ID for this managed resource.
repositoryCollections GetRepositoriesRepositoryCollection[]
The list of repository_collection.
compartmentId string
The OCID of the repository's compartment.
filters GetRepositoriesFilter[]
name string
Name of the repository. Should be unique within the project. This value is mutable.
projectId string
The OCID of the DevOps project containing the repository.
repositoryId string
state string
The current state of the repository.
id str
The provider-assigned unique ID for this managed resource.
repository_collections Sequence[devops.GetRepositoriesRepositoryCollection]
The list of repository_collection.
compartment_id str
The OCID of the repository's compartment.
filters Sequence[devops.GetRepositoriesFilter]
name str
Name of the repository. Should be unique within the project. This value is mutable.
project_id str
The OCID of the DevOps project containing the repository.
repository_id str
state str
The current state of the repository.
id String
The provider-assigned unique ID for this managed resource.
repositoryCollections List<Property Map>
The list of repository_collection.
compartmentId String
The OCID of the repository's compartment.
filters List<Property Map>
name String
Name of the repository. Should be unique within the project. This value is mutable.
projectId String
The OCID of the DevOps project containing the repository.
repositoryId String
state String
The current state of the repository.

Supporting Types

GetRepositoriesFilter

Name This property is required. string
A filter to return only resources that match the entire name given.
Values This property is required. List<string>
Regex bool
Name This property is required. string
A filter to return only resources that match the entire name given.
Values This property is required. []string
Regex bool
name This property is required. String
A filter to return only resources that match the entire name given.
values This property is required. List<String>
regex Boolean
name This property is required. string
A filter to return only resources that match the entire name given.
values This property is required. string[]
regex boolean
name This property is required. str
A filter to return only resources that match the entire name given.
values This property is required. Sequence[str]
regex bool
name This property is required. String
A filter to return only resources that match the entire name given.
values This property is required. List<String>
regex Boolean

GetRepositoriesRepositoryCollection

items This property is required. List<Property Map>

GetRepositoriesRepositoryCollectionItem

BranchCount This property is required. int
The count of the branches present in the repository.
CommitCount This property is required. int
The count of the commits present in the repository.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
DefaultBranch This property is required. string
The default branch of the repository.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Details of the repository. Avoid entering confidential information.
FreeformTags This property is required. Dictionary<string, string>
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"}
HttpUrl This property is required. string
HTTP URL that you use to git clone, pull and push.
Id This property is required. string
The OCID of the repository. This value is unique and immutable.
LifecycleDetails This property is required. string
MirrorRepositoryConfig This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
Configuration information for mirroring the repository.
Name This property is required. string
A filter to return only resources that match the entire name given.
Namespace This property is required. string
Tenancy unique namespace.
ParentRepositoryId This property is required. string
The OCID of the parent repository.
ProjectId This property is required. string
unique project identifier
ProjectName This property is required. string
Unique project name in a namespace.
RepositoryType This property is required. string
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
SizeInBytes This property is required. string
The size of the repository in bytes.
SshUrl This property is required. string
SSH URL that you use to git clone, pull and push.
State This property is required. string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time the repository was created. Format defined by RFC3339.
TimeUpdated This property is required. string
The time the repository was updated. Format defined by RFC3339.
TriggerBuildEvents This property is required. List<string>
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
BranchCount This property is required. int
The count of the branches present in the repository.
CommitCount This property is required. int
The count of the commits present in the repository.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
DefaultBranch This property is required. string
The default branch of the repository.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Details of the repository. Avoid entering confidential information.
FreeformTags This property is required. map[string]string
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"}
HttpUrl This property is required. string
HTTP URL that you use to git clone, pull and push.
Id This property is required. string
The OCID of the repository. This value is unique and immutable.
LifecycleDetails This property is required. string
MirrorRepositoryConfig This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
Configuration information for mirroring the repository.
Name This property is required. string
A filter to return only resources that match the entire name given.
Namespace This property is required. string
Tenancy unique namespace.
ParentRepositoryId This property is required. string
The OCID of the parent repository.
ProjectId This property is required. string
unique project identifier
ProjectName This property is required. string
Unique project name in a namespace.
RepositoryType This property is required. string
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
SizeInBytes This property is required. string
The size of the repository in bytes.
SshUrl This property is required. string
SSH URL that you use to git clone, pull and push.
State This property is required. string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time the repository was created. Format defined by RFC3339.
TimeUpdated This property is required. string
The time the repository was updated. Format defined by RFC3339.
TriggerBuildEvents This property is required. []string
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
branchCount This property is required. Integer
The count of the branches present in the repository.
commitCount This property is required. Integer
The count of the commits present in the repository.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
defaultBranch This property is required. String
The default branch of the repository.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Details of the repository. Avoid entering confidential information.
freeformTags This property is required. Map<String,String>
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"}
httpUrl This property is required. String
HTTP URL that you use to git clone, pull and push.
id This property is required. String
The OCID of the repository. This value is unique and immutable.
lifecycleDetails This property is required. String
mirrorRepositoryConfig This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
Configuration information for mirroring the repository.
name This property is required. String
A filter to return only resources that match the entire name given.
namespace This property is required. String
Tenancy unique namespace.
parentRepositoryId This property is required. String
The OCID of the parent repository.
projectId This property is required. String
unique project identifier
projectName This property is required. String
Unique project name in a namespace.
repositoryType This property is required. String
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
sizeInBytes This property is required. String
The size of the repository in bytes.
sshUrl This property is required. String
SSH URL that you use to git clone, pull and push.
state This property is required. String
A filter to return only resources whose lifecycle state matches the given lifecycle state.
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time the repository was created. Format defined by RFC3339.
timeUpdated This property is required. String
The time the repository was updated. Format defined by RFC3339.
triggerBuildEvents This property is required. List<String>
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
branchCount This property is required. number
The count of the branches present in the repository.
commitCount This property is required. number
The count of the commits present in the repository.
compartmentId This property is required. string
The OCID of the compartment in which to list resources.
defaultBranch This property is required. string
The default branch of the repository.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
description This property is required. string
Details of the repository. Avoid entering confidential information.
freeformTags This property is required. {[key: string]: string}
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"}
httpUrl This property is required. string
HTTP URL that you use to git clone, pull and push.
id This property is required. string
The OCID of the repository. This value is unique and immutable.
lifecycleDetails This property is required. string
mirrorRepositoryConfig This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
Configuration information for mirroring the repository.
name This property is required. string
A filter to return only resources that match the entire name given.
namespace This property is required. string
Tenancy unique namespace.
parentRepositoryId This property is required. string
The OCID of the parent repository.
projectId This property is required. string
unique project identifier
projectName This property is required. string
Unique project name in a namespace.
repositoryType This property is required. string
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
sizeInBytes This property is required. string
The size of the repository in bytes.
sshUrl This property is required. string
SSH URL that you use to git clone, pull and push.
state This property is required. string
A filter to return only resources whose lifecycle state matches the given lifecycle state.
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The time the repository was created. Format defined by RFC3339.
timeUpdated This property is required. string
The time the repository was updated. Format defined by RFC3339.
triggerBuildEvents This property is required. string[]
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
branch_count This property is required. int
The count of the branches present in the repository.
commit_count This property is required. int
The count of the commits present in the repository.
compartment_id This property is required. str
The OCID of the compartment in which to list resources.
default_branch This property is required. str
The default branch of the repository.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
description This property is required. str
Details of the repository. Avoid entering confidential information.
freeform_tags This property is required. Mapping[str, str]
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"}
http_url This property is required. str
HTTP URL that you use to git clone, pull and push.
id This property is required. str
The OCID of the repository. This value is unique and immutable.
lifecycle_details This property is required. str
mirror_repository_config This property is required. devops.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
Configuration information for mirroring the repository.
name This property is required. str
A filter to return only resources that match the entire name given.
namespace This property is required. str
Tenancy unique namespace.
parent_repository_id This property is required. str
The OCID of the parent repository.
project_id This property is required. str
unique project identifier
project_name This property is required. str
Unique project name in a namespace.
repository_type This property is required. str
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
size_in_bytes This property is required. str
The size of the repository in bytes.
ssh_url This property is required. str
SSH URL that you use to git clone, pull and push.
state This property is required. str
A filter to return only resources whose lifecycle state matches the given lifecycle state.
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The time the repository was created. Format defined by RFC3339.
time_updated This property is required. str
The time the repository was updated. Format defined by RFC3339.
trigger_build_events This property is required. Sequence[str]
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.
branchCount This property is required. Number
The count of the branches present in the repository.
commitCount This property is required. Number
The count of the commits present in the repository.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
defaultBranch This property is required. String
The default branch of the repository.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Details of the repository. Avoid entering confidential information.
freeformTags This property is required. Map<String>
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"}
httpUrl This property is required. String
HTTP URL that you use to git clone, pull and push.
id This property is required. String
The OCID of the repository. This value is unique and immutable.
lifecycleDetails This property is required. String
mirrorRepositoryConfig This property is required. Property Map
Configuration information for mirroring the repository.
name This property is required. String
A filter to return only resources that match the entire name given.
namespace This property is required. String
Tenancy unique namespace.
parentRepositoryId This property is required. String
The OCID of the parent repository.
projectId This property is required. String
unique project identifier
projectName This property is required. String
Unique project name in a namespace.
repositoryType This property is required. String
Type of repository: MIRRORED - Repository created by mirroring an existing repository. HOSTED - Repository created and hosted using Oracle Cloud Infrastructure DevOps code repository. FORKED - Repository created by forking an existing repository.
sizeInBytes This property is required. String
The size of the repository in bytes.
sshUrl This property is required. String
SSH URL that you use to git clone, pull and push.
state This property is required. String
A filter to return only resources whose lifecycle state matches the given lifecycle state.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time the repository was created. Format defined by RFC3339.
timeUpdated This property is required. String
The time the repository was updated. Format defined by RFC3339.
triggerBuildEvents This property is required. List<String>
Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.

GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig

ConnectorId This property is required. string
Upstream git repository connection identifier.
RepositoryUrl This property is required. string
URL of external repository you want to mirror.
TriggerSchedule This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
ConnectorId This property is required. string
Upstream git repository connection identifier.
RepositoryUrl This property is required. string
URL of external repository you want to mirror.
TriggerSchedule This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
connectorId This property is required. String
Upstream git repository connection identifier.
repositoryUrl This property is required. String
URL of external repository you want to mirror.
triggerSchedule This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
connectorId This property is required. string
Upstream git repository connection identifier.
repositoryUrl This property is required. string
URL of external repository you want to mirror.
triggerSchedule This property is required. GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
connector_id This property is required. str
Upstream git repository connection identifier.
repository_url This property is required. str
URL of external repository you want to mirror.
trigger_schedule This property is required. devops.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
Specifies a trigger schedule. Timing information for when to initiate automated syncs.
connectorId This property is required. String
Upstream git repository connection identifier.
repositoryUrl This property is required. String
URL of external repository you want to mirror.
triggerSchedule This property is required. Property Map
Specifies a trigger schedule. Timing information for when to initiate automated syncs.

GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule

CustomSchedule This property is required. string
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
ScheduleType This property is required. string
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
CustomSchedule This property is required. string
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
ScheduleType This property is required. string
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
customSchedule This property is required. String
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
scheduleType This property is required. String
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
customSchedule This property is required. string
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
scheduleType This property is required. string
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
custom_schedule This property is required. str
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
schedule_type This property is required. str
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
customSchedule This property is required. String
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
scheduleType This property is required. String
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi