1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getDeployEnvironments
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.DevOps.getDeployEnvironments

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

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

Returns a list of deployment environments.

Example Usage

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

const testDeployEnvironments = oci.DevOps.getDeployEnvironments({
    compartmentId: compartmentId,
    displayName: deployEnvironmentDisplayName,
    id: deployEnvironmentId,
    projectId: testProject.id,
    state: deployEnvironmentState,
});
Copy
import pulumi
import pulumi_oci as oci

test_deploy_environments = oci.DevOps.get_deploy_environments(compartment_id=compartment_id,
    display_name=deploy_environment_display_name,
    id=deploy_environment_id,
    project_id=test_project["id"],
    state=deploy_environment_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.GetDeployEnvironments(ctx, &devops.GetDeployEnvironmentsArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(deployEnvironmentDisplayName),
			Id:            pulumi.StringRef(deployEnvironmentId),
			ProjectId:     pulumi.StringRef(testProject.Id),
			State:         pulumi.StringRef(deployEnvironmentState),
		}, 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 testDeployEnvironments = Oci.DevOps.GetDeployEnvironments.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = deployEnvironmentDisplayName,
        Id = deployEnvironmentId,
        ProjectId = testProject.Id,
        State = deployEnvironmentState,
    });

});
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.GetDeployEnvironmentsArgs;
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 testDeployEnvironments = DevOpsFunctions.getDeployEnvironments(GetDeployEnvironmentsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(deployEnvironmentDisplayName)
            .id(deployEnvironmentId)
            .projectId(testProject.id())
            .state(deployEnvironmentState)
            .build());

    }
}
Copy
variables:
  testDeployEnvironments:
    fn::invoke:
      function: oci:DevOps:getDeployEnvironments
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${deployEnvironmentDisplayName}
        id: ${deployEnvironmentId}
        projectId: ${testProject.id}
        state: ${deployEnvironmentState}
Copy

Using getDeployEnvironments

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 getDeployEnvironments(args: GetDeployEnvironmentsArgs, opts?: InvokeOptions): Promise<GetDeployEnvironmentsResult>
function getDeployEnvironmentsOutput(args: GetDeployEnvironmentsOutputArgs, opts?: InvokeOptions): Output<GetDeployEnvironmentsResult>
Copy
def get_deploy_environments(compartment_id: Optional[str] = None,
                            display_name: Optional[str] = None,
                            filters: Optional[Sequence[_devops.GetDeployEnvironmentsFilter]] = None,
                            id: Optional[str] = None,
                            project_id: Optional[str] = None,
                            state: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDeployEnvironmentsResult
def get_deploy_environments_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            display_name: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetDeployEnvironmentsFilterArgs]]]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            project_id: Optional[pulumi.Input[str]] = None,
                            state: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDeployEnvironmentsResult]
Copy
func GetDeployEnvironments(ctx *Context, args *GetDeployEnvironmentsArgs, opts ...InvokeOption) (*GetDeployEnvironmentsResult, error)
func GetDeployEnvironmentsOutput(ctx *Context, args *GetDeployEnvironmentsOutputArgs, opts ...InvokeOption) GetDeployEnvironmentsResultOutput
Copy

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

public static class GetDeployEnvironments 
{
    public static Task<GetDeployEnvironmentsResult> InvokeAsync(GetDeployEnvironmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetDeployEnvironmentsResult> Invoke(GetDeployEnvironmentsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDeployEnvironmentsResult> getDeployEnvironments(GetDeployEnvironmentsArgs args, InvokeOptions options)
public static Output<GetDeployEnvironmentsResult> getDeployEnvironments(GetDeployEnvironmentsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DevOps/getDeployEnvironments:getDeployEnvironments
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetDeployEnvironmentsFilter>
Id string
Unique identifier or OCID for listing a single resource by ID.
ProjectId string
unique project identifier
State string
A filter to return only DeployEnvironments that matches the given lifecycleState.
CompartmentId string
The OCID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetDeployEnvironmentsFilter
Id string
Unique identifier or OCID for listing a single resource by ID.
ProjectId string
unique project identifier
State string
A filter to return only DeployEnvironments that matches the given lifecycleState.
compartmentId String
The OCID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetDeployEnvironmentsFilter>
id String
Unique identifier or OCID for listing a single resource by ID.
projectId String
unique project identifier
state String
A filter to return only DeployEnvironments that matches the given lifecycleState.
compartmentId string
The OCID of the compartment in which to list resources.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetDeployEnvironmentsFilter[]
id string
Unique identifier or OCID for listing a single resource by ID.
projectId string
unique project identifier
state string
A filter to return only DeployEnvironments that matches the given lifecycleState.
compartment_id str
The OCID of the compartment in which to list resources.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[devops.GetDeployEnvironmentsFilter]
id str
Unique identifier or OCID for listing a single resource by ID.
project_id str
unique project identifier
state str
A filter to return only DeployEnvironments that matches the given lifecycleState.
compartmentId String
The OCID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Unique identifier or OCID for listing a single resource by ID.
projectId String
unique project identifier
state String
A filter to return only DeployEnvironments that matches the given lifecycleState.

getDeployEnvironments Result

The following output properties are available:

DeployEnvironmentCollections List<GetDeployEnvironmentsDeployEnvironmentCollection>
The list of deploy_environment_collection.
CompartmentId string
The OCID of a compartment.
DisplayName string
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
Filters List<GetDeployEnvironmentsFilter>
Id string
Unique identifier that is immutable on creation.
ProjectId string
The OCID of a project.
State string
The current state of the deployment environment.
DeployEnvironmentCollections []GetDeployEnvironmentsDeployEnvironmentCollection
The list of deploy_environment_collection.
CompartmentId string
The OCID of a compartment.
DisplayName string
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
Filters []GetDeployEnvironmentsFilter
Id string
Unique identifier that is immutable on creation.
ProjectId string
The OCID of a project.
State string
The current state of the deployment environment.
deployEnvironmentCollections List<GetDeployEnvironmentsDeployEnvironmentCollection>
The list of deploy_environment_collection.
compartmentId String
The OCID of a compartment.
displayName String
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters List<GetDeployEnvironmentsFilter>
id String
Unique identifier that is immutable on creation.
projectId String
The OCID of a project.
state String
The current state of the deployment environment.
deployEnvironmentCollections GetDeployEnvironmentsDeployEnvironmentCollection[]
The list of deploy_environment_collection.
compartmentId string
The OCID of a compartment.
displayName string
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters GetDeployEnvironmentsFilter[]
id string
Unique identifier that is immutable on creation.
projectId string
The OCID of a project.
state string
The current state of the deployment environment.
deploy_environment_collections Sequence[devops.GetDeployEnvironmentsDeployEnvironmentCollection]
The list of deploy_environment_collection.
compartment_id str
The OCID of a compartment.
display_name str
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters Sequence[devops.GetDeployEnvironmentsFilter]
id str
Unique identifier that is immutable on creation.
project_id str
The OCID of a project.
state str
The current state of the deployment environment.
deployEnvironmentCollections List<Property Map>
The list of deploy_environment_collection.
compartmentId String
The OCID of a compartment.
displayName String
Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters List<Property Map>
id String
Unique identifier that is immutable on creation.
projectId String
The OCID of a project.
state String
The current state of the deployment environment.

Supporting Types

GetDeployEnvironmentsDeployEnvironmentCollection

Items This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItem>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
Items This property is required. []GetDeployEnvironmentsDeployEnvironmentCollectionItem
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItem>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. GetDeployEnvironmentsDeployEnvironmentCollectionItem[]
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. Sequence[devops.GetDeployEnvironmentsDeployEnvironmentCollectionItem]
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. List<Property Map>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.

GetDeployEnvironmentsDeployEnvironmentCollectionItem

ClusterId This property is required. string
The OCID of the Kubernetes cluster.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
ComputeInstanceGroupSelectors This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector>
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
DeployEnvironmentType This property is required. string
Deployment environment type.
Description This property is required. string
Optional description about the deployment environment.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
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"}
FunctionId This property is required. string
The OCID of the Function.
Id This property is required. string
Unique identifier or OCID for listing a single resource by ID.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
NetworkChannels This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel>
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
ProjectId This property is required. string
unique project identifier
State This property is required. string
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
TimeUpdated This property is required. string
Time the deployment environment was updated. Format defined by RFC3339.
ClusterId This property is required. string
The OCID of the Kubernetes cluster.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
ComputeInstanceGroupSelectors This property is required. []GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
DeployEnvironmentType This property is required. string
Deployment environment type.
Description This property is required. string
Optional description about the deployment environment.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
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"}
FunctionId This property is required. string
The OCID of the Function.
Id This property is required. string
Unique identifier or OCID for listing a single resource by ID.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
NetworkChannels This property is required. []GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
ProjectId This property is required. string
unique project identifier
State This property is required. string
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
TimeUpdated This property is required. string
Time the deployment environment was updated. Format defined by RFC3339.
clusterId This property is required. String
The OCID of the Kubernetes cluster.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
computeInstanceGroupSelectors This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector>
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
deployEnvironmentType This property is required. String
Deployment environment type.
description This property is required. String
Optional description about the deployment environment.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
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"}
functionId This property is required. String
The OCID of the Function.
id This property is required. String
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
networkChannels This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel>
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
projectId This property is required. String
unique project identifier
state This property is required. String
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
timeUpdated This property is required. String
Time the deployment environment was updated. Format defined by RFC3339.
clusterId This property is required. string
The OCID of the Kubernetes cluster.
compartmentId This property is required. string
The OCID of the compartment in which to list resources.
computeInstanceGroupSelectors This property is required. GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector[]
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
deployEnvironmentType This property is required. string
Deployment environment type.
description This property is required. string
Optional description about the deployment environment.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
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"}
functionId This property is required. string
The OCID of the Function.
id This property is required. string
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
networkChannels This property is required. GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel[]
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
projectId This property is required. string
unique project identifier
state This property is required. string
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
timeUpdated This property is required. string
Time the deployment environment was updated. Format defined by RFC3339.
cluster_id This property is required. str
The OCID of the Kubernetes cluster.
compartment_id This property is required. str
The OCID of the compartment in which to list resources.
compute_instance_group_selectors This property is required. Sequence[devops.GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector]
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
deploy_environment_type This property is required. str
Deployment environment type.
description This property is required. str
Optional description about the deployment environment.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
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"}
function_id This property is required. str
The OCID of the Function.
id This property is required. str
Unique identifier or OCID for listing a single resource by ID.
lifecycle_details This property is required. str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
network_channels This property is required. Sequence[devops.GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel]
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
project_id This property is required. str
unique project identifier
state This property is required. str
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
time_updated This property is required. str
Time the deployment environment was updated. Format defined by RFC3339.
clusterId This property is required. String
The OCID of the Kubernetes cluster.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
computeInstanceGroupSelectors This property is required. List<Property Map>
A collection of selectors. The combination of instances matching the selectors are included in the instance group.
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"}
deployEnvironmentType This property is required. String
Deployment environment type.
description This property is required. String
Optional description about the deployment environment.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
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"}
functionId This property is required. String
The OCID of the Function.
id This property is required. String
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
networkChannels This property is required. List<Property Map>
Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
projectId This property is required. String
unique project identifier
state This property is required. String
A filter to return only DeployEnvironments that matches the given lifecycleState.
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
Time the deployment environment was created. Format defined by RFC3339.
timeUpdated This property is required. String
Time the deployment environment was updated. Format defined by RFC3339.

GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelector

Items This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
Items This property is required. []GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. List<GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem[]
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. Sequence[devops.GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem]
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.
items This property is required. List<Property Map>
A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector.

GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItem

ComputeInstanceIds This property is required. List<string>
Compute instance OCID identifiers that are members of this group.
Query This property is required. string
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
Region This property is required. string
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
SelectorType This property is required. string
Defines the type of the instance selector for the group.
ComputeInstanceIds This property is required. []string
Compute instance OCID identifiers that are members of this group.
Query This property is required. string
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
Region This property is required. string
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
SelectorType This property is required. string
Defines the type of the instance selector for the group.
computeInstanceIds This property is required. List<String>
Compute instance OCID identifiers that are members of this group.
query This property is required. String
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
region This property is required. String
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
selectorType This property is required. String
Defines the type of the instance selector for the group.
computeInstanceIds This property is required. string[]
Compute instance OCID identifiers that are members of this group.
query This property is required. string
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
region This property is required. string
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
selectorType This property is required. string
Defines the type of the instance selector for the group.
compute_instance_ids This property is required. Sequence[str]
Compute instance OCID identifiers that are members of this group.
query This property is required. str
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
region This property is required. str
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
selector_type This property is required. str
Defines the type of the instance selector for the group.
computeInstanceIds This property is required. List<String>
Compute instance OCID identifiers that are members of this group.
query This property is required. String
Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm
region This property is required. String
Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
selectorType This property is required. String
Defines the type of the instance selector for the group.

GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannel

NetworkChannelType This property is required. string
Network channel type.
NsgIds This property is required. List<string>
An array of network security group OCIDs.
SubnetId This property is required. string
The OCID of the subnet where VNIC resources will be created for private endpoint.
NetworkChannelType This property is required. string
Network channel type.
NsgIds This property is required. []string
An array of network security group OCIDs.
SubnetId This property is required. string
The OCID of the subnet where VNIC resources will be created for private endpoint.
networkChannelType This property is required. String
Network channel type.
nsgIds This property is required. List<String>
An array of network security group OCIDs.
subnetId This property is required. String
The OCID of the subnet where VNIC resources will be created for private endpoint.
networkChannelType This property is required. string
Network channel type.
nsgIds This property is required. string[]
An array of network security group OCIDs.
subnetId This property is required. string
The OCID of the subnet where VNIC resources will be created for private endpoint.
network_channel_type This property is required. str
Network channel type.
nsg_ids This property is required. Sequence[str]
An array of network security group OCIDs.
subnet_id This property is required. str
The OCID of the subnet where VNIC resources will be created for private endpoint.
networkChannelType This property is required. String
Network channel type.
nsgIds This property is required. List<String>
An array of network security group OCIDs.
subnetId This property is required. String
The OCID of the subnet where VNIC resources will be created for private endpoint.

GetDeployEnvironmentsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

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.32.0 published on Thursday, Apr 24, 2025 by Pulumi