Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CloudMigrations.getMigrationPlanAvailableShape
Explore with Pulumi AI
This data source provides details about a specific Migration Plan Available Shape resource in Oracle Cloud Infrastructure Cloud Migrations service.
List of shapes by parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMigrationPlanAvailableShape = oci.CloudMigrations.getMigrationPlanAvailableShape({
    migrationPlanId: testMigrationPlan.id,
    availabilityDomain: migrationPlanAvailableShapeAvailabilityDomain,
    compartmentId: compartmentId,
    dvhHostId: testDvhHost.id,
    reservedCapacityId: testReservedCapacity.id,
});
import pulumi
import pulumi_oci as oci
test_migration_plan_available_shape = oci.CloudMigrations.get_migration_plan_available_shape(migration_plan_id=test_migration_plan["id"],
    availability_domain=migration_plan_available_shape_availability_domain,
    compartment_id=compartment_id,
    dvh_host_id=test_dvh_host["id"],
    reserved_capacity_id=test_reserved_capacity["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/cloudmigrations"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudmigrations.GetMigrationPlanAvailableShape(ctx, &cloudmigrations.GetMigrationPlanAvailableShapeArgs{
			MigrationPlanId:    testMigrationPlan.Id,
			AvailabilityDomain: pulumi.StringRef(migrationPlanAvailableShapeAvailabilityDomain),
			CompartmentId:      pulumi.StringRef(compartmentId),
			DvhHostId:          pulumi.StringRef(testDvhHost.Id),
			ReservedCapacityId: pulumi.StringRef(testReservedCapacity.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 testMigrationPlanAvailableShape = Oci.CloudMigrations.GetMigrationPlanAvailableShape.Invoke(new()
    {
        MigrationPlanId = testMigrationPlan.Id,
        AvailabilityDomain = migrationPlanAvailableShapeAvailabilityDomain,
        CompartmentId = compartmentId,
        DvhHostId = testDvhHost.Id,
        ReservedCapacityId = testReservedCapacity.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudMigrations.CloudMigrationsFunctions;
import com.pulumi.oci.CloudMigrations.inputs.GetMigrationPlanAvailableShapeArgs;
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 testMigrationPlanAvailableShape = CloudMigrationsFunctions.getMigrationPlanAvailableShape(GetMigrationPlanAvailableShapeArgs.builder()
            .migrationPlanId(testMigrationPlan.id())
            .availabilityDomain(migrationPlanAvailableShapeAvailabilityDomain)
            .compartmentId(compartmentId)
            .dvhHostId(testDvhHost.id())
            .reservedCapacityId(testReservedCapacity.id())
            .build());
    }
}
variables:
  testMigrationPlanAvailableShape:
    fn::invoke:
      function: oci:CloudMigrations:getMigrationPlanAvailableShape
      arguments:
        migrationPlanId: ${testMigrationPlan.id}
        availabilityDomain: ${migrationPlanAvailableShapeAvailabilityDomain}
        compartmentId: ${compartmentId}
        dvhHostId: ${testDvhHost.id}
        reservedCapacityId: ${testReservedCapacity.id}
Using getMigrationPlanAvailableShape
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 getMigrationPlanAvailableShape(args: GetMigrationPlanAvailableShapeArgs, opts?: InvokeOptions): Promise<GetMigrationPlanAvailableShapeResult>
function getMigrationPlanAvailableShapeOutput(args: GetMigrationPlanAvailableShapeOutputArgs, opts?: InvokeOptions): Output<GetMigrationPlanAvailableShapeResult>def get_migration_plan_available_shape(availability_domain: Optional[str] = None,
                                       compartment_id: Optional[str] = None,
                                       dvh_host_id: Optional[str] = None,
                                       migration_plan_id: Optional[str] = None,
                                       reserved_capacity_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetMigrationPlanAvailableShapeResult
def get_migration_plan_available_shape_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                       compartment_id: Optional[pulumi.Input[str]] = None,
                                       dvh_host_id: Optional[pulumi.Input[str]] = None,
                                       migration_plan_id: Optional[pulumi.Input[str]] = None,
                                       reserved_capacity_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetMigrationPlanAvailableShapeResult]func GetMigrationPlanAvailableShape(ctx *Context, args *GetMigrationPlanAvailableShapeArgs, opts ...InvokeOption) (*GetMigrationPlanAvailableShapeResult, error)
func GetMigrationPlanAvailableShapeOutput(ctx *Context, args *GetMigrationPlanAvailableShapeOutputArgs, opts ...InvokeOption) GetMigrationPlanAvailableShapeResultOutput> Note: This function is named GetMigrationPlanAvailableShape in the Go SDK.
public static class GetMigrationPlanAvailableShape 
{
    public static Task<GetMigrationPlanAvailableShapeResult> InvokeAsync(GetMigrationPlanAvailableShapeArgs args, InvokeOptions? opts = null)
    public static Output<GetMigrationPlanAvailableShapeResult> Invoke(GetMigrationPlanAvailableShapeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMigrationPlanAvailableShapeResult> getMigrationPlanAvailableShape(GetMigrationPlanAvailableShapeArgs args, InvokeOptions options)
public static Output<GetMigrationPlanAvailableShapeResult> getMigrationPlanAvailableShape(GetMigrationPlanAvailableShapeArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudMigrations/getMigrationPlanAvailableShape:getMigrationPlanAvailableShape
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MigrationPlan stringId 
- Unique migration plan identifier
- AvailabilityDomain string
- The availability domain in which to list resources.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DvhHost stringId 
- The ID of the Dvh in which to list resources.
- ReservedCapacity stringId 
- The reserved capacity ID for which to list resources.
- MigrationPlan stringId 
- Unique migration plan identifier
- AvailabilityDomain string
- The availability domain in which to list resources.
- CompartmentId string
- The ID of the compartment in which to list resources.
- DvhHost stringId 
- The ID of the Dvh in which to list resources.
- ReservedCapacity stringId 
- The reserved capacity ID for which to list resources.
- migrationPlan StringId 
- Unique migration plan identifier
- availabilityDomain String
- The availability domain in which to list resources.
- compartmentId String
- The ID of the compartment in which to list resources.
- dvhHost StringId 
- The ID of the Dvh in which to list resources.
- reservedCapacity StringId 
- The reserved capacity ID for which to list resources.
- migrationPlan stringId 
- Unique migration plan identifier
- availabilityDomain string
- The availability domain in which to list resources.
- compartmentId string
- The ID of the compartment in which to list resources.
- dvhHost stringId 
- The ID of the Dvh in which to list resources.
- reservedCapacity stringId 
- The reserved capacity ID for which to list resources.
- migration_plan_ strid 
- Unique migration plan identifier
- availability_domain str
- The availability domain in which to list resources.
- compartment_id str
- The ID of the compartment in which to list resources.
- dvh_host_ strid 
- The ID of the Dvh in which to list resources.
- reserved_capacity_ strid 
- The reserved capacity ID for which to list resources.
- migrationPlan StringId 
- Unique migration plan identifier
- availabilityDomain String
- The availability domain in which to list resources.
- compartmentId String
- The ID of the compartment in which to list resources.
- dvhHost StringId 
- The ID of the Dvh in which to list resources.
- reservedCapacity StringId 
- The reserved capacity ID for which to list resources.
getMigrationPlanAvailableShape Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<GetMigration Plan Available Shape Item> 
- Available shapes list.
- MigrationPlan stringId 
- AvailabilityDomain string
- Availability domain of the shape.
- CompartmentId string
- DvhHost stringId 
- ReservedCapacity stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]GetMigration Plan Available Shape Item 
- Available shapes list.
- MigrationPlan stringId 
- AvailabilityDomain string
- Availability domain of the shape.
- CompartmentId string
- DvhHost stringId 
- ReservedCapacity stringId 
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<GetMigration Plan Available Shape Item> 
- Available shapes list.
- migrationPlan StringId 
- availabilityDomain String
- Availability domain of the shape.
- compartmentId String
- dvhHost StringId 
- reservedCapacity StringId 
- id string
- The provider-assigned unique ID for this managed resource.
- items
GetMigration Plan Available Shape Item[] 
- Available shapes list.
- migrationPlan stringId 
- availabilityDomain string
- Availability domain of the shape.
- compartmentId string
- dvhHost stringId 
- reservedCapacity stringId 
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[GetMigration Plan Available Shape Item] 
- Available shapes list.
- migration_plan_ strid 
- availability_domain str
- Availability domain of the shape.
- compartment_id str
- dvh_host_ strid 
- reserved_capacity_ strid 
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Available shapes list.
- migrationPlan StringId 
- availabilityDomain String
- Availability domain of the shape.
- compartmentId String
- dvhHost StringId 
- reservedCapacity StringId 
Supporting Types
GetMigrationPlanAvailableShapeItem     
- AvailabilityDomain string
- The availability domain in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- GpuDescription string
- Description of the GPUs.
- Gpus int
- Number of GPUs.
- LocalDisk stringDescription 
- Description of local disks.
- LocalDisks int
- Number of local disks.
- LocalDisks doubleTotal Size In Gbs 
- Total size of local disks for shape.
- MaxVnic intAttachments 
- Maximum number of virtual network interfaces that can be attached.
- MemoryIn doubleGbs 
- Amount of memory for the shape.
- MinTotal doubleBaseline Ocpus Required 
- Minimum CPUs required.
- NetworkingBandwidth doubleIn Gbps 
- Shape bandwidth.
- Ocpus double
- Number of CPUs.
- PaginationToken string
- Shape name and availability domain. Used for pagination.
- ProcessorDescription string
- Description of the processor.
- Shape string
- Name of the shape.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- AvailabilityDomain string
- The availability domain in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- GpuDescription string
- Description of the GPUs.
- Gpus int
- Number of GPUs.
- LocalDisk stringDescription 
- Description of local disks.
- LocalDisks int
- Number of local disks.
- LocalDisks float64Total Size In Gbs 
- Total size of local disks for shape.
- MaxVnic intAttachments 
- Maximum number of virtual network interfaces that can be attached.
- MemoryIn float64Gbs 
- Amount of memory for the shape.
- MinTotal float64Baseline Ocpus Required 
- Minimum CPUs required.
- NetworkingBandwidth float64In Gbps 
- Shape bandwidth.
- Ocpus float64
- Number of CPUs.
- PaginationToken string
- Shape name and availability domain. Used for pagination.
- ProcessorDescription string
- Description of the processor.
- Shape string
- Name of the shape.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- availabilityDomain String
- The availability domain in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- gpuDescription String
- Description of the GPUs.
- gpus Integer
- Number of GPUs.
- localDisk StringDescription 
- Description of local disks.
- localDisks Integer
- Number of local disks.
- localDisks DoubleTotal Size In Gbs 
- Total size of local disks for shape.
- maxVnic IntegerAttachments 
- Maximum number of virtual network interfaces that can be attached.
- memoryIn DoubleGbs 
- Amount of memory for the shape.
- minTotal DoubleBaseline Ocpus Required 
- Minimum CPUs required.
- networkingBandwidth DoubleIn Gbps 
- Shape bandwidth.
- ocpus Double
- Number of CPUs.
- paginationToken String
- Shape name and availability domain. Used for pagination.
- processorDescription String
- Description of the processor.
- shape String
- Name of the shape.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- availabilityDomain string
- The availability domain in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- gpuDescription string
- Description of the GPUs.
- gpus number
- Number of GPUs.
- localDisk stringDescription 
- Description of local disks.
- localDisks number
- Number of local disks.
- localDisks numberTotal Size In Gbs 
- Total size of local disks for shape.
- maxVnic numberAttachments 
- Maximum number of virtual network interfaces that can be attached.
- memoryIn numberGbs 
- Amount of memory for the shape.
- minTotal numberBaseline Ocpus Required 
- Minimum CPUs required.
- networkingBandwidth numberIn Gbps 
- Shape bandwidth.
- ocpus number
- Number of CPUs.
- paginationToken string
- Shape name and availability domain. Used for pagination.
- processorDescription string
- Description of the processor.
- shape string
- Name of the shape.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- availability_domain str
- The availability domain in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- gpu_description str
- Description of the GPUs.
- gpus int
- Number of GPUs.
- local_disk_ strdescription 
- Description of local disks.
- local_disks int
- Number of local disks.
- local_disks_ floattotal_ size_ in_ gbs 
- Total size of local disks for shape.
- max_vnic_ intattachments 
- Maximum number of virtual network interfaces that can be attached.
- memory_in_ floatgbs 
- Amount of memory for the shape.
- min_total_ floatbaseline_ ocpus_ required 
- Minimum CPUs required.
- networking_bandwidth_ floatin_ gbps 
- Shape bandwidth.
- ocpus float
- Number of CPUs.
- pagination_token str
- Shape name and availability domain. Used for pagination.
- processor_description str
- Description of the processor.
- shape str
- Name of the shape.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- availabilityDomain String
- The availability domain in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {"bar-key": "value"}
- gpuDescription String
- Description of the GPUs.
- gpus Number
- Number of GPUs.
- localDisk StringDescription 
- Description of local disks.
- localDisks Number
- Number of local disks.
- localDisks NumberTotal Size In Gbs 
- Total size of local disks for shape.
- maxVnic NumberAttachments 
- Maximum number of virtual network interfaces that can be attached.
- memoryIn NumberGbs 
- Amount of memory for the shape.
- minTotal NumberBaseline Ocpus Required 
- Minimum CPUs required.
- networkingBandwidth NumberIn Gbps 
- Shape bandwidth.
- ocpus Number
- Number of CPUs.
- paginationToken String
- Shape name and availability domain. Used for pagination.
- processorDescription String
- Description of the processor.
- shape String
- Name of the shape.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.