1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getRepositories
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DevOps.getRepositories

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testRepositories:
        fn::invoke:
          Function: oci:DevOps:getRepositories
          Arguments:
            compartmentId: ${compartmentId}
            name: ${repositoryName}
            projectId: ${testProject.id}
            repositoryId: ${testRepository.id}
            state: ${repositoryState}
    

    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>
    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]
    func GetRepositories(ctx *Context, args *GetRepositoriesArgs, opts ...InvokeOption) (*GetRepositoriesResult, error)
    func GetRepositoriesOutput(ctx *Context, args *GetRepositoriesOutputArgs, opts ...InvokeOption) GetRepositoriesResultOutput

    > 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)
    }
    public static CompletableFuture<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DevOps/getRepositories:getRepositories
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    Filters 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 []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 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 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 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 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 string
    A filter to return only resources that match the entire name given.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the entire name given.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the entire name given.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the entire name given.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean

    GetRepositoriesRepositoryCollection

    GetRepositoriesRepositoryCollectionItem

    BranchCount int
    The count of the branches present in the repository.
    CommitCount int
    The count of the commits present in the repository.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefaultBranch string
    The default branch of the repository.
    DefinedTags 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 string
    Details of the repository. Avoid entering confidential information.
    FreeformTags 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 string
    HTTP URL that you use to git clone, pull and push.
    Id string
    The OCID of the repository. This value is unique and immutable.
    LifecycleDetails string
    MirrorRepositoryConfig GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
    Configuration information for mirroring the repository.
    Name string
    A filter to return only resources that match the entire name given.
    Namespace string
    Tenancy unique namespace.
    ParentRepositoryId string
    The OCID of the parent repository.
    ProjectId string
    unique project identifier
    ProjectName string
    Unique project name in a namespace.
    RepositoryType 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 string
    The size of the repository in bytes.
    SshUrl string
    SSH URL that you use to git clone, pull and push.
    State string
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    SystemTags 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 string
    The time the repository was created. Format defined by RFC3339.
    TimeUpdated string
    The time the repository was updated. Format defined by RFC3339.
    TriggerBuildEvents 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 int
    The count of the branches present in the repository.
    CommitCount int
    The count of the commits present in the repository.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefaultBranch string
    The default branch of the repository.
    DefinedTags 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 string
    Details of the repository. Avoid entering confidential information.
    FreeformTags 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 string
    HTTP URL that you use to git clone, pull and push.
    Id string
    The OCID of the repository. This value is unique and immutable.
    LifecycleDetails string
    MirrorRepositoryConfig GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
    Configuration information for mirroring the repository.
    Name string
    A filter to return only resources that match the entire name given.
    Namespace string
    Tenancy unique namespace.
    ParentRepositoryId string
    The OCID of the parent repository.
    ProjectId string
    unique project identifier
    ProjectName string
    Unique project name in a namespace.
    RepositoryType 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 string
    The size of the repository in bytes.
    SshUrl string
    SSH URL that you use to git clone, pull and push.
    State string
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    SystemTags 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 string
    The time the repository was created. Format defined by RFC3339.
    TimeUpdated string
    The time the repository was updated. Format defined by RFC3339.
    TriggerBuildEvents []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 Integer
    The count of the branches present in the repository.
    commitCount Integer
    The count of the commits present in the repository.
    compartmentId String
    The OCID of the compartment in which to list resources.
    defaultBranch String
    The default branch of the repository.
    definedTags 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 String
    Details of the repository. Avoid entering confidential information.
    freeformTags 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 String
    HTTP URL that you use to git clone, pull and push.
    id String
    The OCID of the repository. This value is unique and immutable.
    lifecycleDetails String
    mirrorRepositoryConfig GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
    Configuration information for mirroring the repository.
    name String
    A filter to return only resources that match the entire name given.
    namespace String
    Tenancy unique namespace.
    parentRepositoryId String
    The OCID of the parent repository.
    projectId String
    unique project identifier
    projectName String
    Unique project name in a namespace.
    repositoryType 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 String
    The size of the repository in bytes.
    sshUrl String
    SSH URL that you use to git clone, pull and push.
    state String
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    systemTags 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 String
    The time the repository was created. Format defined by RFC3339.
    timeUpdated String
    The time the repository was updated. Format defined by RFC3339.
    triggerBuildEvents 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 number
    The count of the branches present in the repository.
    commitCount number
    The count of the commits present in the repository.
    compartmentId string
    The OCID of the compartment in which to list resources.
    defaultBranch string
    The default branch of the repository.
    definedTags {[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 string
    Details of the repository. Avoid entering confidential information.
    freeformTags {[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 string
    HTTP URL that you use to git clone, pull and push.
    id string
    The OCID of the repository. This value is unique and immutable.
    lifecycleDetails string
    mirrorRepositoryConfig GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
    Configuration information for mirroring the repository.
    name string
    A filter to return only resources that match the entire name given.
    namespace string
    Tenancy unique namespace.
    parentRepositoryId string
    The OCID of the parent repository.
    projectId string
    unique project identifier
    projectName string
    Unique project name in a namespace.
    repositoryType 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 string
    The size of the repository in bytes.
    sshUrl string
    SSH URL that you use to git clone, pull and push.
    state string
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    systemTags {[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 string
    The time the repository was created. Format defined by RFC3339.
    timeUpdated string
    The time the repository was updated. Format defined by RFC3339.
    triggerBuildEvents 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 int
    The count of the branches present in the repository.
    commit_count int
    The count of the commits present in the repository.
    compartment_id str
    The OCID of the compartment in which to list resources.
    default_branch str
    The default branch of the repository.
    defined_tags 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 str
    Details of the repository. Avoid entering confidential information.
    freeform_tags 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 str
    HTTP URL that you use to git clone, pull and push.
    id str
    The OCID of the repository. This value is unique and immutable.
    lifecycle_details str
    mirror_repository_config devops.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfig
    Configuration information for mirroring the repository.
    name str
    A filter to return only resources that match the entire name given.
    namespace str
    Tenancy unique namespace.
    parent_repository_id str
    The OCID of the parent repository.
    project_id str
    unique project identifier
    project_name str
    Unique project name in a namespace.
    repository_type 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 str
    The size of the repository in bytes.
    ssh_url str
    SSH URL that you use to git clone, pull and push.
    state str
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    system_tags 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 str
    The time the repository was created. Format defined by RFC3339.
    time_updated str
    The time the repository was updated. Format defined by RFC3339.
    trigger_build_events 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 Number
    The count of the branches present in the repository.
    commitCount Number
    The count of the commits present in the repository.
    compartmentId String
    The OCID of the compartment in which to list resources.
    defaultBranch String
    The default branch of the repository.
    definedTags 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 String
    Details of the repository. Avoid entering confidential information.
    freeformTags 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 String
    HTTP URL that you use to git clone, pull and push.
    id String
    The OCID of the repository. This value is unique and immutable.
    lifecycleDetails String
    mirrorRepositoryConfig Property Map
    Configuration information for mirroring the repository.
    name String
    A filter to return only resources that match the entire name given.
    namespace String
    Tenancy unique namespace.
    parentRepositoryId String
    The OCID of the parent repository.
    projectId String
    unique project identifier
    projectName String
    Unique project name in a namespace.
    repositoryType 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 String
    The size of the repository in bytes.
    sshUrl String
    SSH URL that you use to git clone, pull and push.
    state String
    A filter to return only resources whose lifecycle state matches the given lifecycle state.
    systemTags 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 String
    The time the repository was created. Format defined by RFC3339.
    timeUpdated String
    The time the repository was updated. Format defined by RFC3339.
    triggerBuildEvents 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 string
    Upstream git repository connection identifier.
    RepositoryUrl string
    URL of external repository you want to mirror.
    TriggerSchedule GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.
    ConnectorId string
    Upstream git repository connection identifier.
    RepositoryUrl string
    URL of external repository you want to mirror.
    TriggerSchedule GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.
    connectorId String
    Upstream git repository connection identifier.
    repositoryUrl String
    URL of external repository you want to mirror.
    triggerSchedule GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.
    connectorId string
    Upstream git repository connection identifier.
    repositoryUrl string
    URL of external repository you want to mirror.
    triggerSchedule GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.
    connector_id str
    Upstream git repository connection identifier.
    repository_url str
    URL of external repository you want to mirror.
    trigger_schedule devops.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.
    connectorId String
    Upstream git repository connection identifier.
    repositoryUrl String
    URL of external repository you want to mirror.
    triggerSchedule Property Map
    Specifies a trigger schedule. Timing information for when to initiate automated syncs.

    GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule

    CustomSchedule 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 string
    Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
    CustomSchedule 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 string
    Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
    customSchedule 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 String
    Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
    customSchedule 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 string
    Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
    custom_schedule 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 str
    Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
    customSchedule 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 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi