Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ClusterPlacementGroups.getClusterPlacementGroup
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Cluster Placement Group resource in Oracle Cloud Infrastructure Cluster Placement Groups service.
Gets the specified cluster placement group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testClusterPlacementGroup = oci.ClusterPlacementGroups.getClusterPlacementGroup({
    clusterPlacementGroupId: testClusterPlacementGroupOciClusterPlacementGroupsClusterPlacementGroup.id,
});
import pulumi
import pulumi_oci as oci
test_cluster_placement_group = oci.ClusterPlacementGroups.get_cluster_placement_group(cluster_placement_group_id=test_cluster_placement_group_oci_cluster_placement_groups_cluster_placement_group["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/ClusterPlacementGroups"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ClusterPlacementGroups.GetClusterPlacementGroup(ctx, &clusterplacementgroups.GetClusterPlacementGroupArgs{
			ClusterPlacementGroupId: testClusterPlacementGroupOciClusterPlacementGroupsClusterPlacementGroup.Id,
		}, 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 testClusterPlacementGroup = Oci.ClusterPlacementGroups.GetClusterPlacementGroup.Invoke(new()
    {
        ClusterPlacementGroupId = testClusterPlacementGroupOciClusterPlacementGroupsClusterPlacementGroup.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ClusterPlacementGroups.ClusterPlacementGroupsFunctions;
import com.pulumi.oci.ClusterPlacementGroups.inputs.GetClusterPlacementGroupArgs;
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 testClusterPlacementGroup = ClusterPlacementGroupsFunctions.getClusterPlacementGroup(GetClusterPlacementGroupArgs.builder()
            .clusterPlacementGroupId(testClusterPlacementGroupOciClusterPlacementGroupsClusterPlacementGroup.id())
            .build());
    }
}
variables:
  testClusterPlacementGroup:
    fn::invoke:
      Function: oci:ClusterPlacementGroups:getClusterPlacementGroup
      Arguments:
        clusterPlacementGroupId: ${testClusterPlacementGroupOciClusterPlacementGroupsClusterPlacementGroup.id}
Using getClusterPlacementGroup
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 getClusterPlacementGroup(args: GetClusterPlacementGroupArgs, opts?: InvokeOptions): Promise<GetClusterPlacementGroupResult>
function getClusterPlacementGroupOutput(args: GetClusterPlacementGroupOutputArgs, opts?: InvokeOptions): Output<GetClusterPlacementGroupResult>def get_cluster_placement_group(cluster_placement_group_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetClusterPlacementGroupResult
def get_cluster_placement_group_output(cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetClusterPlacementGroupResult]func GetClusterPlacementGroup(ctx *Context, args *GetClusterPlacementGroupArgs, opts ...InvokeOption) (*GetClusterPlacementGroupResult, error)
func GetClusterPlacementGroupOutput(ctx *Context, args *GetClusterPlacementGroupOutputArgs, opts ...InvokeOption) GetClusterPlacementGroupResultOutput> Note: This function is named GetClusterPlacementGroup in the Go SDK.
public static class GetClusterPlacementGroup 
{
    public static Task<GetClusterPlacementGroupResult> InvokeAsync(GetClusterPlacementGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterPlacementGroupResult> Invoke(GetClusterPlacementGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterPlacementGroupResult> getClusterPlacementGroup(GetClusterPlacementGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:ClusterPlacementGroups/getClusterPlacementGroup:getClusterPlacementGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cluster
Placement stringGroup Id  - A unique cluster placement group identifier.
 
- Cluster
Placement stringGroup Id  - A unique cluster placement group identifier.
 
- cluster
Placement StringGroup Id  - A unique cluster placement group identifier.
 
- cluster
Placement stringGroup Id  - A unique cluster placement group identifier.
 
- cluster_
placement_ strgroup_ id  - A unique cluster placement group identifier.
 
- cluster
Placement StringGroup Id  - A unique cluster placement group identifier.
 
getClusterPlacementGroup Result
The following output properties are available:
- Availability
Domain string - The availability domain of the cluster placement group.
 - Capabilities
List<Get
Cluster Placement Group Capability>  - A list of resources that you can create in a cluster placement group.
 - Cluster
Placement stringGroup Id  - Cluster
Placement stringGroup Type  - The type of cluster placement group.
 - Compartment
Id string - The OCID of the compartment that contains the cluster placement group.
 - Dictionary<string, object>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Description string
 - A description of the cluster placement group.
 - Dictionary<string, object>
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The OCID of the cluster placement group.
 - Lifecycle
Details string - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - Name string
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - Opc
Dry boolRun  - Placement
Instructions List<GetCluster Placement Group Placement Instruction>  - Details that inform cluster placement group provisioning.
 - State string
 - The current state of the ClusterPlacementGroup.
 - Dictionary<string, object>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - Time
Updated string - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
- Availability
Domain string - The availability domain of the cluster placement group.
 - Capabilities
[]Get
Cluster Placement Group Capability  - A list of resources that you can create in a cluster placement group.
 - Cluster
Placement stringGroup Id  - Cluster
Placement stringGroup Type  - The type of cluster placement group.
 - Compartment
Id string - The OCID of the compartment that contains the cluster placement group.
 - map[string]interface{}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - Description string
 - A description of the cluster placement group.
 - map[string]interface{}
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - Id string
 - The OCID of the cluster placement group.
 - Lifecycle
Details string - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - Name string
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - Opc
Dry boolRun  - Placement
Instructions []GetCluster Placement Group Placement Instruction  - Details that inform cluster placement group provisioning.
 - State string
 - The current state of the ClusterPlacementGroup.
 - map[string]interface{}
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - Time
Updated string - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
- availability
Domain String - The availability domain of the cluster placement group.
 - capabilities
List<Get
Cluster Placement Group Capability>  - A list of resources that you can create in a cluster placement group.
 - cluster
Placement StringGroup Id  - cluster
Placement StringGroup Type  - The type of cluster placement group.
 - compartment
Id String - The OCID of the compartment that contains the cluster placement group.
 - Map<String,Object>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - description String
 - A description of the cluster placement group.
 - Map<String,Object>
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The OCID of the cluster placement group.
 - lifecycle
Details String - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - name String
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - opc
Dry BooleanRun  - placement
Instructions List<GetCluster Placement Group Placement Instruction>  - Details that inform cluster placement group provisioning.
 - state String
 - The current state of the ClusterPlacementGroup.
 - Map<String,Object>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - time
Updated String - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
- availability
Domain string - The availability domain of the cluster placement group.
 - capabilities
Get
Cluster Placement Group Capability[]  - A list of resources that you can create in a cluster placement group.
 - cluster
Placement stringGroup Id  - cluster
Placement stringGroup Type  - The type of cluster placement group.
 - compartment
Id string - The OCID of the compartment that contains the cluster placement group.
 - {[key: string]: any}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - description string
 - A description of the cluster placement group.
 - {[key: string]: any}
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id string
 - The OCID of the cluster placement group.
 - lifecycle
Details string - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - name string
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - opc
Dry booleanRun  - placement
Instructions GetCluster Placement Group Placement Instruction[]  - Details that inform cluster placement group provisioning.
 - state string
 - The current state of the ClusterPlacementGroup.
 - {[key: string]: any}
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - time
Updated string - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
- availability_
domain str - The availability domain of the cluster placement group.
 - capabilities
Sequence[clusterplacementgroups.
Get Cluster Placement Group Capability]  - A list of resources that you can create in a cluster placement group.
 - cluster_
placement_ strgroup_ id  - cluster_
placement_ strgroup_ type  - The type of cluster placement group.
 - compartment_
id str - The OCID of the compartment that contains the cluster placement group.
 - Mapping[str, Any]
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - description str
 - A description of the cluster placement group.
 - Mapping[str, Any]
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id str
 - The OCID of the cluster placement group.
 - lifecycle_
details str - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - name str
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - opc_
dry_ boolrun  - placement_
instructions Sequence[clusterplacementgroups.Get Cluster Placement Group Placement Instruction]  - Details that inform cluster placement group provisioning.
 - state str
 - The current state of the ClusterPlacementGroup.
 - Mapping[str, Any]
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - time_
updated str - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
- availability
Domain String - The availability domain of the cluster placement group.
 - capabilities List<Property Map>
 - A list of resources that you can create in a cluster placement group.
 - cluster
Placement StringGroup Id  - cluster
Placement StringGroup Type  - The type of cluster placement group.
 - compartment
Id String - The OCID of the compartment that contains the cluster placement group.
 - Map<Any>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"foo-namespace.bar-key": "value"} - description String
 - A description of the cluster placement group.
 - Map<Any>
 - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: 
{"bar-key": "value"} - id String
 - The OCID of the cluster placement group.
 - lifecycle
Details String - A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
 - name String
 - The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
 - opc
Dry BooleanRun  - placement
Instructions List<Property Map> - Details that inform cluster placement group provisioning.
 - state String
 - The current state of the ClusterPlacementGroup.
 - Map<Any>
 - System tags for this resource. Each key is predefined and scoped to a namespace. Example: 
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
 - time
Updated String - The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
 
Supporting Types
GetClusterPlacementGroupCapability    
- Items
List<Get
Cluster Placement Group Capability Item>  - The supported resources.
 
- Items
[]Get
Cluster Placement Group Capability Item  - The supported resources.
 
- items
List<Get
Cluster Placement Group Capability Item>  - The supported resources.
 
- items
Get
Cluster Placement Group Capability Item[]  - The supported resources.
 
- items
Sequence[clusterplacementgroups.
Get Cluster Placement Group Capability Item]  - The supported resources.
 
- items List<Property Map>
 - The supported resources.
 
GetClusterPlacementGroupCapabilityItem     
GetClusterPlacementGroupPlacementInstruction     
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider. 
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi