Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DevOps.getRepositories
Explore with Pulumi AI
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)
public static Output<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
fn::invoke:
function: oci:DevOps/getRepositories:getRepositories
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
Changes to this property will trigger replacement.
Repositories Filter> - Name string
- A filter to return only resources that match the entire name given.
- Project
Id string - unique project identifier
- Repository
Id string - Unique repository identifier.
- State string
- A filter to return only resources whose lifecycle state matches the given lifecycle state.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
Changes to this property will trigger replacement.
Repositories Filter - Name string
- A filter to return only resources that match the entire name given.
- Project
Id string - unique project identifier
- Repository
Id string - Unique repository identifier.
- State string
- A filter to return only resources whose lifecycle state matches the given lifecycle state.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
Repositories Filter> - name String
- A filter to return only resources that match the entire name given.
- project
Id String - unique project identifier
- repository
Id String - Unique repository identifier.
- state String
- A filter to return only resources whose lifecycle state matches the given lifecycle state.
- compartment
Id string - The OCID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
Repositories Filter[] - name string
- A filter to return only resources that match the entire name given.
- project
Id string - unique project identifier
- repository
Id 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.
Get Repositories Filter] - 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.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
- name String
- A filter to return only resources that match the entire name given.
- project
Id String - unique project identifier
- repository
Id 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.
- Repository
Collections List<GetRepositories Repository Collection> - The list of repository_collection.
- Compartment
Id string - The OCID of the repository's compartment.
- Filters
List<Get
Repositories Filter> - Name string
- Name of the repository. Should be unique within the project. This value is mutable.
- Project
Id string - The OCID of the DevOps project containing the repository.
- Repository
Id string - State string
- The current state of the repository.
- Id string
- The provider-assigned unique ID for this managed resource.
- Repository
Collections []GetRepositories Repository Collection - The list of repository_collection.
- Compartment
Id string - The OCID of the repository's compartment.
- Filters
[]Get
Repositories Filter - Name string
- Name of the repository. Should be unique within the project. This value is mutable.
- Project
Id string - The OCID of the DevOps project containing the repository.
- Repository
Id string - State string
- The current state of the repository.
- id String
- The provider-assigned unique ID for this managed resource.
- repository
Collections List<GetRepositories Repository Collection> - The list of repository_collection.
- compartment
Id String - The OCID of the repository's compartment.
- filters
List<Get
Repositories Filter> - name String
- Name of the repository. Should be unique within the project. This value is mutable.
- project
Id String - The OCID of the DevOps project containing the repository.
- repository
Id String - state String
- The current state of the repository.
- id string
- The provider-assigned unique ID for this managed resource.
- repository
Collections GetRepositories Repository Collection[] - The list of repository_collection.
- compartment
Id string - The OCID of the repository's compartment.
- filters
Get
Repositories Filter[] - name string
- Name of the repository. Should be unique within the project. This value is mutable.
- project
Id string - The OCID of the DevOps project containing the repository.
- repository
Id string - state string
- The current state of the repository.
- id str
- The provider-assigned unique ID for this managed resource.
- repository_
collections Sequence[devops.Get Repositories Repository Collection] - The list of repository_collection.
- compartment_
id str - The OCID of the repository's compartment.
- filters
Sequence[devops.
Get Repositories Filter] - 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.
- repository
Collections List<Property Map> - The list of repository_collection.
- compartment
Id 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.
- project
Id String - The OCID of the DevOps project containing the repository.
- repository
Id String - state String
- The current state of the repository.
Supporting Types
GetRepositoriesFilter
GetRepositoriesRepositoryCollection
- Items
This property is required. List<GetRepositories Repository Collection Item>
- Items
This property is required. []GetRepositories Repository Collection Item
- items
This property is required. List<GetRepositories Repository Collection Item>
- items
This property is required. GetRepositories Repository Collection Item[]
- items
This property is required. Sequence[devops.Get Repositories Repository Collection Item]
- items
This property is required. List<Property Map>
GetRepositoriesRepositoryCollectionItem
- 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. string - The OCID of the compartment in which to list resources.
- Default
Branch This property is required. string - The default branch of the repository.
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.
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"}
- Http
Url 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.
- Lifecycle
Details This property is required. string - Mirror
Repository Config This property is required. GetRepositories Repository Collection Item Mirror Repository Config - 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.
- Parent
Repository Id This property is required. string - The OCID of the parent repository.
- Project
Id This property is required. string - unique project identifier
- Project
Name This property is required. string - Unique project name in a namespace.
- Repository
Type 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.
- Size
In Bytes This property is required. string - The size of the repository in bytes.
- Ssh
Url 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.
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"}
- Time
Created This property is required. string - The time the repository was created. Format defined by RFC3339.
- Time
Updated This property is required. string - The time the repository was updated. Format defined by RFC3339.
- Trigger
Build Events 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.
- 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. string - The OCID of the compartment in which to list resources.
- Default
Branch This property is required. string - The default branch of the repository.
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.
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"}
- Http
Url 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.
- Lifecycle
Details This property is required. string - Mirror
Repository Config This property is required. GetRepositories Repository Collection Item Mirror Repository Config - 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.
- Parent
Repository Id This property is required. string - The OCID of the parent repository.
- Project
Id This property is required. string - unique project identifier
- Project
Name This property is required. string - Unique project name in a namespace.
- Repository
Type 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.
- Size
In Bytes This property is required. string - The size of the repository in bytes.
- Ssh
Url 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.
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"}
- Time
Created This property is required. string - The time the repository was created. Format defined by RFC3339.
- Time
Updated This property is required. string - The time the repository was updated. Format defined by RFC3339.
- Trigger
Build Events 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. Integer - The count of the branches present in the repository.
- commit
Count This property is required. Integer - The count of the commits present in the repository.
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
- default
Branch This property is required. String - The default branch of the repository.
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.
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"}
- http
Url 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.
- lifecycle
Details This property is required. String - mirror
Repository Config This property is required. GetRepositories Repository Collection Item Mirror Repository Config - 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.
- parent
Repository Id This property is required. String - The OCID of the parent repository.
- project
Id This property is required. String - unique project identifier
- project
Name This property is required. String - Unique project name in a namespace.
- repository
Type 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.
- size
In Bytes This property is required. String - The size of the repository in bytes.
- ssh
Url 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.
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"}
- time
Created This property is required. String - The time the repository was created. Format defined by RFC3339.
- time
Updated This property is required. String - The time the repository was updated. Format defined by RFC3339.
- trigger
Build Events 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.
- branch
Count This property is required. number - The count of the branches present in the repository.
- commit
Count This property is required. number - The count of the commits present in the repository.
- compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
- default
Branch This property is required. string - The default branch of the repository.
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.
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"}
- http
Url 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.
- lifecycle
Details This property is required. string - mirror
Repository Config This property is required. GetRepositories Repository Collection Item Mirror Repository Config - 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.
- parent
Repository Id This property is required. string - The OCID of the parent repository.
- project
Id This property is required. string - unique project identifier
- project
Name This property is required. string - Unique project name in a namespace.
- repository
Type 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.
- size
In Bytes This property is required. string - The size of the repository in bytes.
- ssh
Url 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.
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"}
- time
Created This property is required. string - The time the repository was created. Format defined by RFC3339.
- time
Updated This property is required. string - The time the repository was updated. Format defined by RFC3339.
- trigger
Build Events 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.
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.
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.Get Repositories Repository Collection Item Mirror Repository Config - 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.
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.
- branch
Count This property is required. Number - The count of the branches present in the repository.
- commit
Count This property is required. Number - The count of the commits present in the repository.
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
- default
Branch This property is required. String - The default branch of the repository.
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.
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"}
- http
Url 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.
- lifecycle
Details This property is required. String - mirror
Repository Config 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.
- parent
Repository Id This property is required. String - The OCID of the parent repository.
- project
Id This property is required. String - unique project identifier
- project
Name This property is required. String - Unique project name in a namespace.
- repository
Type 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.
- size
In Bytes This property is required. String - The size of the repository in bytes.
- ssh
Url 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.
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"}
- time
Created This property is required. String - The time the repository was created. Format defined by RFC3339.
- time
Updated This property is required. String - The time the repository was updated. Format defined by RFC3339.
- trigger
Build Events 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
- Connector
Id This property is required. string - Upstream git repository connection identifier.
- Repository
Url This property is required. string - URL of external repository you want to mirror.
- Trigger
Schedule This property is required. GetRepositories Repository Collection Item Mirror Repository Config Trigger Schedule - Specifies a trigger schedule. Timing information for when to initiate automated syncs.
- Connector
Id This property is required. string - Upstream git repository connection identifier.
- Repository
Url This property is required. string - URL of external repository you want to mirror.
- Trigger
Schedule This property is required. GetRepositories Repository Collection Item Mirror Repository Config Trigger Schedule - Specifies a trigger schedule. Timing information for when to initiate automated syncs.
- connector
Id This property is required. String - Upstream git repository connection identifier.
- repository
Url This property is required. String - URL of external repository you want to mirror.
- trigger
Schedule This property is required. GetRepositories Repository Collection Item Mirror Repository Config Trigger Schedule - Specifies a trigger schedule. Timing information for when to initiate automated syncs.
- connector
Id This property is required. string - Upstream git repository connection identifier.
- repository
Url This property is required. string - URL of external repository you want to mirror.
- trigger
Schedule This property is required. GetRepositories Repository Collection Item Mirror Repository Config Trigger Schedule - 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.Get Repositories Repository Collection Item Mirror Repository Config Trigger Schedule - Specifies a trigger schedule. Timing information for when to initiate automated syncs.
- connector
Id This property is required. String - Upstream git repository connection identifier.
- repository
Url This property is required. String - URL of external repository you want to mirror.
- trigger
Schedule This property is required. Property Map - Specifies a trigger schedule. Timing information for when to initiate automated syncs.
GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerSchedule
- Custom
Schedule 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.
- Schedule
Type 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. 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.
- Schedule
Type 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. 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.
- schedule
Type 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. 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.
- schedule
Type 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.
- custom
Schedule 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.
- schedule
Type 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.