Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CloudMigrations.getMigrationPlanAvailableShapes
Explore with Pulumi AI
This data source provides the list of Migration Plan Available Shapes 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 testMigrationPlanAvailableShapes = oci.CloudMigrations.getMigrationPlanAvailableShapes({
    migrationPlanId: testMigrationPlan.id,
    availabilityDomain: migrationPlanAvailableShapeAvailabilityDomain,
    compartmentId: compartmentId,
    dvhHostId: testDvhHost.id,
    reservedCapacityId: testReservedCapacity.id,
});
import pulumi
import pulumi_oci as oci
test_migration_plan_available_shapes = oci.CloudMigrations.get_migration_plan_available_shapes(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.GetMigrationPlanAvailableShapes(ctx, &cloudmigrations.GetMigrationPlanAvailableShapesArgs{
			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 testMigrationPlanAvailableShapes = Oci.CloudMigrations.GetMigrationPlanAvailableShapes.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.GetMigrationPlanAvailableShapesArgs;
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 testMigrationPlanAvailableShapes = CloudMigrationsFunctions.getMigrationPlanAvailableShapes(GetMigrationPlanAvailableShapesArgs.builder()
            .migrationPlanId(testMigrationPlan.id())
            .availabilityDomain(migrationPlanAvailableShapeAvailabilityDomain)
            .compartmentId(compartmentId)
            .dvhHostId(testDvhHost.id())
            .reservedCapacityId(testReservedCapacity.id())
            .build());
    }
}
variables:
  testMigrationPlanAvailableShapes:
    fn::invoke:
      function: oci:CloudMigrations:getMigrationPlanAvailableShapes
      arguments:
        migrationPlanId: ${testMigrationPlan.id}
        availabilityDomain: ${migrationPlanAvailableShapeAvailabilityDomain}
        compartmentId: ${compartmentId}
        dvhHostId: ${testDvhHost.id}
        reservedCapacityId: ${testReservedCapacity.id}
Using getMigrationPlanAvailableShapes
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 getMigrationPlanAvailableShapes(args: GetMigrationPlanAvailableShapesArgs, opts?: InvokeOptions): Promise<GetMigrationPlanAvailableShapesResult>
function getMigrationPlanAvailableShapesOutput(args: GetMigrationPlanAvailableShapesOutputArgs, opts?: InvokeOptions): Output<GetMigrationPlanAvailableShapesResult>def get_migration_plan_available_shapes(availability_domain: Optional[str] = None,
                                        compartment_id: Optional[str] = None,
                                        dvh_host_id: Optional[str] = None,
                                        filters: Optional[Sequence[GetMigrationPlanAvailableShapesFilter]] = None,
                                        migration_plan_id: Optional[str] = None,
                                        reserved_capacity_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetMigrationPlanAvailableShapesResult
def get_migration_plan_available_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                        compartment_id: Optional[pulumi.Input[str]] = None,
                                        dvh_host_id: Optional[pulumi.Input[str]] = None,
                                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMigrationPlanAvailableShapesFilterArgs]]]] = None,
                                        migration_plan_id: Optional[pulumi.Input[str]] = None,
                                        reserved_capacity_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetMigrationPlanAvailableShapesResult]func GetMigrationPlanAvailableShapes(ctx *Context, args *GetMigrationPlanAvailableShapesArgs, opts ...InvokeOption) (*GetMigrationPlanAvailableShapesResult, error)
func GetMigrationPlanAvailableShapesOutput(ctx *Context, args *GetMigrationPlanAvailableShapesOutputArgs, opts ...InvokeOption) GetMigrationPlanAvailableShapesResultOutput> Note: This function is named GetMigrationPlanAvailableShapes in the Go SDK.
public static class GetMigrationPlanAvailableShapes 
{
    public static Task<GetMigrationPlanAvailableShapesResult> InvokeAsync(GetMigrationPlanAvailableShapesArgs args, InvokeOptions? opts = null)
    public static Output<GetMigrationPlanAvailableShapesResult> Invoke(GetMigrationPlanAvailableShapesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMigrationPlanAvailableShapesResult> getMigrationPlanAvailableShapes(GetMigrationPlanAvailableShapesArgs args, InvokeOptions options)
public static Output<GetMigrationPlanAvailableShapesResult> getMigrationPlanAvailableShapes(GetMigrationPlanAvailableShapesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudMigrations/getMigrationPlanAvailableShapes:getMigrationPlanAvailableShapes
  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.
- Filters
List<GetMigration Plan Available Shapes Filter> 
- 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.
- Filters
[]GetMigration Plan Available Shapes Filter 
- 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.
- filters
List<GetMigration Plan Available Shapes Filter> 
- 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.
- filters
GetMigration Plan Available Shapes Filter[] 
- 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.
- filters
Sequence[GetMigration Plan Available Shapes Filter] 
- 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.
- filters List<Property Map>
- reservedCapacity StringId 
- The reserved capacity ID for which to list resources.
getMigrationPlanAvailableShapes Result
The following output properties are available:
- AvailableShapes List<GetCollections Migration Plan Available Shapes Available Shapes Collection> 
- The list of available_shapes_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- MigrationPlan stringId 
- AvailabilityDomain string
- Availability domain of the shape.
- CompartmentId string
- DvhHost stringId 
- Filters
List<GetMigration Plan Available Shapes Filter> 
- ReservedCapacity stringId 
- AvailableShapes []GetCollections Migration Plan Available Shapes Available Shapes Collection 
- The list of available_shapes_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- MigrationPlan stringId 
- AvailabilityDomain string
- Availability domain of the shape.
- CompartmentId string
- DvhHost stringId 
- Filters
[]GetMigration Plan Available Shapes Filter 
- ReservedCapacity stringId 
- availableShapes List<GetCollections Migration Plan Available Shapes Available Shapes Collection> 
- The list of available_shapes_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- migrationPlan StringId 
- availabilityDomain String
- Availability domain of the shape.
- compartmentId String
- dvhHost StringId 
- filters
List<GetMigration Plan Available Shapes Filter> 
- reservedCapacity StringId 
- availableShapes GetCollections Migration Plan Available Shapes Available Shapes Collection[] 
- The list of available_shapes_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- migrationPlan stringId 
- availabilityDomain string
- Availability domain of the shape.
- compartmentId string
- dvhHost stringId 
- filters
GetMigration Plan Available Shapes Filter[] 
- reservedCapacity stringId 
- available_shapes_ Sequence[Getcollections Migration Plan Available Shapes Available Shapes Collection] 
- The list of available_shapes_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- migration_plan_ strid 
- availability_domain str
- Availability domain of the shape.
- compartment_id str
- dvh_host_ strid 
- filters
Sequence[GetMigration Plan Available Shapes Filter] 
- reserved_capacity_ strid 
- availableShapes List<Property Map>Collections 
- The list of available_shapes_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- migrationPlan StringId 
- availabilityDomain String
- Availability domain of the shape.
- compartmentId String
- dvhHost StringId 
- filters List<Property Map>
- reservedCapacity StringId 
Supporting Types
GetMigrationPlanAvailableShapesAvailableShapesCollection       
- Items
List<GetMigration Plan Available Shapes Available Shapes Collection Item> 
- Available shapes list.
- Items
[]GetMigration Plan Available Shapes Available Shapes Collection Item 
- Available shapes list.
- items
List<GetMigration Plan Available Shapes Available Shapes Collection Item> 
- Available shapes list.
- items
GetMigration Plan Available Shapes Available Shapes Collection Item[] 
- Available shapes list.
- items
Sequence[GetMigration Plan Available Shapes Available Shapes Collection Item] 
- Available shapes list.
- items List<Property Map>
- Available shapes list.
GetMigrationPlanAvailableShapesAvailableShapesCollectionItem        
- 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"}
GetMigrationPlanAvailableShapesFilter     
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.