Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getBootVolumeReplicas

This data source provides the list of Boot Volume Replicas in Oracle Cloud Infrastructure Core service.

Lists the boot volume replicas in the specified compartment and availability domain.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testBootVolumeReplicas = Output.Create(Oci.Core.GetBootVolumeReplicas.InvokeAsync(new Oci.Core.GetBootVolumeReplicasArgs
        {
            AvailabilityDomain = @var.Boot_volume_replica_availability_domain,
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Boot_volume_replica_display_name,
            State = @var.Boot_volume_replica_state,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.GetBootVolumeReplicas(ctx, &core.GetBootVolumeReplicasArgs{
			AvailabilityDomain: _var.Boot_volume_replica_availability_domain,
			CompartmentId:      _var.Compartment_id,
			DisplayName:        pulumi.StringRef(_var.Boot_volume_replica_display_name),
			State:              pulumi.StringRef(_var.Boot_volume_replica_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_boot_volume_replicas = oci.Core.get_boot_volume_replicas(availability_domain=var["boot_volume_replica_availability_domain"],
    compartment_id=var["compartment_id"],
    display_name=var["boot_volume_replica_display_name"],
    state=var["boot_volume_replica_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testBootVolumeReplicas = oci.Core.getBootVolumeReplicas({
    availabilityDomain: _var.boot_volume_replica_availability_domain,
    compartmentId: _var.compartment_id,
    displayName: _var.boot_volume_replica_display_name,
    state: _var.boot_volume_replica_state,
});

Coming soon!

Using getBootVolumeReplicas

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 getBootVolumeReplicas(args: GetBootVolumeReplicasArgs, opts?: InvokeOptions): Promise<GetBootVolumeReplicasResult>
function getBootVolumeReplicasOutput(args: GetBootVolumeReplicasOutputArgs, opts?: InvokeOptions): Output<GetBootVolumeReplicasResult>
def get_boot_volume_replicas(availability_domain: Optional[str] = None,
                             compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[_core.GetBootVolumeReplicasFilter]] = None,
                             state: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetBootVolumeReplicasResult
def get_boot_volume_replicas_output(availability_domain: Optional[pulumi.Input[str]] = None,
                             compartment_id: Optional[pulumi.Input[str]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetBootVolumeReplicasFilterArgs]]]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetBootVolumeReplicasResult]
func GetBootVolumeReplicas(ctx *Context, args *GetBootVolumeReplicasArgs, opts ...InvokeOption) (*GetBootVolumeReplicasResult, error)
func GetBootVolumeReplicasOutput(ctx *Context, args *GetBootVolumeReplicasOutputArgs, opts ...InvokeOption) GetBootVolumeReplicasResultOutput

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

public static class GetBootVolumeReplicas 
{
    public static Task<GetBootVolumeReplicasResult> InvokeAsync(GetBootVolumeReplicasArgs args, InvokeOptions? opts = null)
    public static Output<GetBootVolumeReplicasResult> Invoke(GetBootVolumeReplicasInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBootVolumeReplicasResult> getBootVolumeReplicas(GetBootVolumeReplicasArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Core/getBootVolumeReplicas:getBootVolumeReplicas
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

CompartmentId string

The OCID of the compartment.

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters List<GetBootVolumeReplicasFilter>
State string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

CompartmentId string

The OCID of the compartment.

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters []GetBootVolumeReplicasFilter
State string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId String

The OCID of the compartment.

displayName String

A filter to return only resources that match the given display name exactly.

filters List<GetBootVolumeReplicasFilter>
state String

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

availabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId string

The OCID of the compartment.

displayName string

A filter to return only resources that match the given display name exactly.

filters GetBootVolumeReplicasFilter[]
state string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

availability_domain str

The name of the availability domain. Example: Uocm:PHX-AD-1

compartment_id str

The OCID of the compartment.

display_name str

A filter to return only resources that match the given display name exactly.

filters GetBootVolumeReplicasFilter]
state str

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId String

The OCID of the compartment.

displayName String

A filter to return only resources that match the given display name exactly.

filters List<Property Map>
state String

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

getBootVolumeReplicas Result

The following output properties are available:

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BootVolumeReplicas List<GetBootVolumeReplicasBootVolumeReplica>

The list of boot_volume_replicas.

CompartmentId string

The OCID of the compartment that contains the boot volume replica.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters List<GetBootVolumeReplicasFilter>
State string

The current state of a boot volume replica.

AvailabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

BootVolumeReplicas []GetBootVolumeReplicasBootVolumeReplica

The list of boot_volume_replicas.

CompartmentId string

The OCID of the compartment that contains the boot volume replica.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters []GetBootVolumeReplicasFilter
State string

The current state of a boot volume replica.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicas List<GetBootVolumeReplicasBootVolumeReplica>

The list of boot_volume_replicas.

compartmentId String

The OCID of the compartment that contains the boot volume replica.

id String

The provider-assigned unique ID for this managed resource.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<GetBootVolumeReplicasFilter>
state String

The current state of a boot volume replica.

availabilityDomain string

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicas GetBootVolumeReplicasBootVolumeReplica[]

The list of boot_volume_replicas.

compartmentId string

The OCID of the compartment that contains the boot volume replica.

id string

The provider-assigned unique ID for this managed resource.

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetBootVolumeReplicasFilter[]
state string

The current state of a boot volume replica.

availability_domain str

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

boot_volume_replicas GetBootVolumeReplicasBootVolumeReplica]

The list of boot_volume_replicas.

compartment_id str

The OCID of the compartment that contains the boot volume replica.

id str

The provider-assigned unique ID for this managed resource.

display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetBootVolumeReplicasFilter]
state str

The current state of a boot volume replica.

availabilityDomain String

The availability domain of the boot volume replica. Example: Uocm:PHX-AD-1

bootVolumeReplicas List<Property Map>

The list of boot_volume_replicas.

compartmentId String

The OCID of the compartment that contains the boot volume replica.

id String

The provider-assigned unique ID for this managed resource.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<Property Map>
state String

The current state of a boot volume replica.

Supporting Types

GetBootVolumeReplicasBootVolumeReplica

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

BootVolumeId string

The OCID of the source boot volume.

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FreeformTags Dictionary<string, object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The boot volume replica's Oracle ID (OCID).

ImageId string

The image OCID used to create the boot volume the replica is replicated from.

SizeInGbs string

The size of the source boot volume, in GBs.

State string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

TimeCreated string

The date and time the boot volume replica was created. Format defined by RFC3339.

TimeLastSynced string

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

VolumeGroupReplicaId string
AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

BootVolumeId string

The OCID of the source boot volume.

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FreeformTags map[string]interface{}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The boot volume replica's Oracle ID (OCID).

ImageId string

The image OCID used to create the boot volume the replica is replicated from.

SizeInGbs string

The size of the source boot volume, in GBs.

State string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

TimeCreated string

The date and time the boot volume replica was created. Format defined by RFC3339.

TimeLastSynced string

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

VolumeGroupReplicaId string
availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

bootVolumeId String

The OCID of the source boot volume.

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

freeformTags Map<String,Object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The boot volume replica's Oracle ID (OCID).

imageId String

The image OCID used to create the boot volume the replica is replicated from.

sizeInGbs String

The size of the source boot volume, in GBs.

state String

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

timeCreated String

The date and time the boot volume replica was created. Format defined by RFC3339.

timeLastSynced String

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

volumeGroupReplicaId String
availabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

bootVolumeId string

The OCID of the source boot volume.

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A filter to return only resources that match the given display name exactly.

freeformTags {[key: string]: any}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The boot volume replica's Oracle ID (OCID).

imageId string

The image OCID used to create the boot volume the replica is replicated from.

sizeInGbs string

The size of the source boot volume, in GBs.

state string

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

timeCreated string

The date and time the boot volume replica was created. Format defined by RFC3339.

timeLastSynced string

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

volumeGroupReplicaId string
availability_domain str

The name of the availability domain. Example: Uocm:PHX-AD-1

boot_volume_id str

The OCID of the source boot volume.

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

A filter to return only resources that match the given display name exactly.

freeform_tags Mapping[str, Any]

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The boot volume replica's Oracle ID (OCID).

image_id str

The image OCID used to create the boot volume the replica is replicated from.

size_in_gbs str

The size of the source boot volume, in GBs.

state str

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

time_created str

The date and time the boot volume replica was created. Format defined by RFC3339.

time_last_synced str

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

volume_group_replica_id str
availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

bootVolumeId String

The OCID of the source boot volume.

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

freeformTags Map<Any>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The boot volume replica's Oracle ID (OCID).

imageId String

The image OCID used to create the boot volume the replica is replicated from.

sizeInGbs String

The size of the source boot volume, in GBs.

state String

A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

timeCreated String

The date and time the boot volume replica was created. Format defined by RFC3339.

timeLastSynced String

The date and time the boot volume replica was last synced from the source boot volume. Format defined by RFC3339.

volumeGroupReplicaId String

GetBootVolumeReplicasFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.