Data Source: oci_devops_repository_protected_branches

This data source provides the list of Repository Protected Branches in Oracle Cloud Infrastructure Devops service.

Returns a list of Protected Branches.

Example Usage

data "oci_devops_repository_protected_branches" "test_repository_protected_branches" {
	#Required
	repository_id = oci_devops_repository.test_repository.id

	#Optional
	name = var.repository_protected_branch_name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

RepositoryProtectedBranch Reference

The following attributes are exported: