1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getShape
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Core.getShape

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    Using getShape

    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 getShape(args: GetShapeArgs, opts?: InvokeOptions): Promise<GetShapeResult>
    function getShapeOutput(args: GetShapeOutputArgs, opts?: InvokeOptions): Output<GetShapeResult>
    def get_shape(availability_domain: Optional[str] = None,
                  compartment_id: Optional[str] = None,
                  filters: Optional[Sequence[_core.GetShapeFilter]] = None,
                  image_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetShapeResult
    def get_shape_output(availability_domain: Optional[pulumi.Input[str]] = None,
                  compartment_id: Optional[pulumi.Input[str]] = None,
                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetShapeFilterArgs]]]] = None,
                  image_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetShapeResult]
    func GetShape(ctx *Context, args *GetShapeArgs, opts ...InvokeOption) (*GetShapeResult, error)
    func GetShapeOutput(ctx *Context, args *GetShapeOutputArgs, opts ...InvokeOption) GetShapeResultOutput

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

    public static class GetShape 
    {
        public static Task<GetShapeResult> InvokeAsync(GetShapeArgs args, InvokeOptions? opts = null)
        public static Output<GetShapeResult> Invoke(GetShapeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetShapeResult> getShape(GetShapeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getShape:getShape
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getShape Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Shapes List<GetShapeShape>
    AvailabilityDomain string
    Filters List<GetShapeFilter>
    ImageId string
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Shapes []GetShapeShape
    AvailabilityDomain string
    Filters []GetShapeFilter
    ImageId string
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    shapes List<GetShapeShape>
    availabilityDomain String
    filters List<GetShapeFilter>
    imageId String
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    shapes GetShapeShape[]
    availabilityDomain string
    filters GetShapeFilter[]
    imageId string
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    shapes Sequence[core.GetShapeShape]
    availability_domain str
    filters Sequence[core.GetShapeFilter]
    image_id str
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    shapes List<Property Map>
    availabilityDomain String
    filters List<Property Map>
    imageId String

    Supporting Types

    GetShapeFilter

    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

    GetShapeShape

    BaselineOcpuUtilizations List<string>
    BillingType string
    GpuDescription string
    Gpus int
    IsBilledForStoppedInstance bool
    IsFlexible bool
    IsLiveMigrationSupported bool
    IsSubcore bool
    LocalDiskDescription string
    LocalDisks int
    LocalDisksTotalSizeInGbs double
    MaxVnicAttachmentOptions List<GetShapeShapeMaxVnicAttachmentOption>
    MaxVnicAttachments int
    MemoryInGbs double
    MemoryOptions List<GetShapeShapeMemoryOption>
    MinTotalBaselineOcpusRequired double
    Name string
    NetworkPorts int
    NetworkingBandwidthInGbps double
    NetworkingBandwidthOptions List<GetShapeShapeNetworkingBandwidthOption>
    OcpuOptions List<GetShapeShapeOcpuOption>
    Ocpus double
    PlatformConfigOptions List<GetShapeShapePlatformConfigOption>
    ProcessorDescription string
    QuotaNames List<string>
    RdmaBandwidthInGbps int
    RdmaPorts int
    RecommendedAlternatives List<GetShapeShapeRecommendedAlternative>
    ResizeCompatibleShapes List<string>
    BaselineOcpuUtilizations []string
    BillingType string
    GpuDescription string
    Gpus int
    IsBilledForStoppedInstance bool
    IsFlexible bool
    IsLiveMigrationSupported bool
    IsSubcore bool
    LocalDiskDescription string
    LocalDisks int
    LocalDisksTotalSizeInGbs float64
    MaxVnicAttachmentOptions []GetShapeShapeMaxVnicAttachmentOption
    MaxVnicAttachments int
    MemoryInGbs float64
    MemoryOptions []GetShapeShapeMemoryOption
    MinTotalBaselineOcpusRequired float64
    Name string
    NetworkPorts int
    NetworkingBandwidthInGbps float64
    NetworkingBandwidthOptions []GetShapeShapeNetworkingBandwidthOption
    OcpuOptions []GetShapeShapeOcpuOption
    Ocpus float64
    PlatformConfigOptions []GetShapeShapePlatformConfigOption
    ProcessorDescription string
    QuotaNames []string
    RdmaBandwidthInGbps int
    RdmaPorts int
    RecommendedAlternatives []GetShapeShapeRecommendedAlternative
    ResizeCompatibleShapes []string
    baselineOcpuUtilizations List<String>
    billingType String
    gpuDescription String
    gpus Integer
    isBilledForStoppedInstance Boolean
    isFlexible Boolean
    isLiveMigrationSupported Boolean
    isSubcore Boolean
    localDiskDescription String
    localDisks Integer
    localDisksTotalSizeInGbs Double
    maxVnicAttachmentOptions List<GetShapeShapeMaxVnicAttachmentOption>
    maxVnicAttachments Integer
    memoryInGbs Double
    memoryOptions List<GetShapeShapeMemoryOption>
    minTotalBaselineOcpusRequired Double
    name String
    networkPorts Integer
    networkingBandwidthInGbps Double
    networkingBandwidthOptions List<GetShapeShapeNetworkingBandwidthOption>
    ocpuOptions List<GetShapeShapeOcpuOption>
    ocpus Double
    platformConfigOptions List<GetShapeShapePlatformConfigOption>
    processorDescription String
    quotaNames List<String>
    rdmaBandwidthInGbps Integer
    rdmaPorts Integer
    recommendedAlternatives List<GetShapeShapeRecommendedAlternative>
    resizeCompatibleShapes List<String>
    baselineOcpuUtilizations string[]
    billingType string
    gpuDescription string
    gpus number
    isBilledForStoppedInstance boolean
    isFlexible boolean
    isLiveMigrationSupported boolean
    isSubcore boolean
    localDiskDescription string
    localDisks number
    localDisksTotalSizeInGbs number
    maxVnicAttachmentOptions GetShapeShapeMaxVnicAttachmentOption[]
    maxVnicAttachments number
    memoryInGbs number
    memoryOptions GetShapeShapeMemoryOption[]
    minTotalBaselineOcpusRequired number
    name string
    networkPorts number
    networkingBandwidthInGbps number
    networkingBandwidthOptions GetShapeShapeNetworkingBandwidthOption[]
    ocpuOptions GetShapeShapeOcpuOption[]
    ocpus number
    platformConfigOptions GetShapeShapePlatformConfigOption[]
    processorDescription string
    quotaNames string[]
    rdmaBandwidthInGbps number
    rdmaPorts number
    recommendedAlternatives GetShapeShapeRecommendedAlternative[]
    resizeCompatibleShapes string[]
    baseline_ocpu_utilizations Sequence[str]
    billing_type str
    gpu_description str
    gpus int
    is_billed_for_stopped_instance bool
    is_flexible bool
    is_live_migration_supported bool
    is_subcore bool
    local_disk_description str
    local_disks int
    local_disks_total_size_in_gbs float
    max_vnic_attachment_options Sequence[core.GetShapeShapeMaxVnicAttachmentOption]
    max_vnic_attachments int
    memory_in_gbs float
    memory_options Sequence[core.GetShapeShapeMemoryOption]
    min_total_baseline_ocpus_required float
    name str
    network_ports int
    networking_bandwidth_in_gbps float
    networking_bandwidth_options Sequence[core.GetShapeShapeNetworkingBandwidthOption]
    ocpu_options Sequence[core.GetShapeShapeOcpuOption]
    ocpus float
    platform_config_options Sequence[core.GetShapeShapePlatformConfigOption]
    processor_description str
    quota_names Sequence[str]
    rdma_bandwidth_in_gbps int
    rdma_ports int
    recommended_alternatives Sequence[core.GetShapeShapeRecommendedAlternative]
    resize_compatible_shapes Sequence[str]

    GetShapeShapeMaxVnicAttachmentOption

    DefaultPerOcpu double
    Max double
    Min int
    DefaultPerOcpu float64
    Max float64
    Min int
    defaultPerOcpu Double
    max Double
    min Integer
    defaultPerOcpu number
    max number
    min number
    default_per_ocpu float
    max float
    min int
    defaultPerOcpu Number
    max Number
    min Number

    GetShapeShapeMemoryOption

    GetShapeShapeNetworkingBandwidthOption

    GetShapeShapeOcpuOption

    Max double
    MaxPerNumaNode double
    Min double
    Max float64
    MaxPerNumaNode float64
    Min float64
    max Double
    maxPerNumaNode Double
    min Double
    max number
    maxPerNumaNode number
    min number
    max float
    max_per_numa_node float
    min float
    max Number
    maxPerNumaNode Number
    min Number

    GetShapeShapePlatformConfigOption

    AccessControlServiceOptions List<GetShapeShapePlatformConfigOptionAccessControlServiceOption>
    InputOutputMemoryManagementUnitOptions List<GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption>
    MeasuredBootOptions List<GetShapeShapePlatformConfigOptionMeasuredBootOption>
    MemoryEncryptionOptions List<GetShapeShapePlatformConfigOptionMemoryEncryptionOption>
    NumaNodesPerSocketPlatformOptions List<GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption>
    PercentageOfCoresEnabledOptions List<GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption>
    SecureBootOptions List<GetShapeShapePlatformConfigOptionSecureBootOption>
    SymmetricMultiThreadingOptions List<GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption>
    TrustedPlatformModuleOptions List<GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption>
    Type string
    VirtualInstructionsOptions List<GetShapeShapePlatformConfigOptionVirtualInstructionsOption>
    AccessControlServiceOptions []GetShapeShapePlatformConfigOptionAccessControlServiceOption
    InputOutputMemoryManagementUnitOptions []GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption
    MeasuredBootOptions []GetShapeShapePlatformConfigOptionMeasuredBootOption
    MemoryEncryptionOptions []GetShapeShapePlatformConfigOptionMemoryEncryptionOption
    NumaNodesPerSocketPlatformOptions []GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption
    PercentageOfCoresEnabledOptions []GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption
    SecureBootOptions []GetShapeShapePlatformConfigOptionSecureBootOption
    SymmetricMultiThreadingOptions []GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption
    TrustedPlatformModuleOptions []GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption
    Type string
    VirtualInstructionsOptions []GetShapeShapePlatformConfigOptionVirtualInstructionsOption
    accessControlServiceOptions List<GetShapeShapePlatformConfigOptionAccessControlServiceOption>
    inputOutputMemoryManagementUnitOptions List<GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption>
    measuredBootOptions List<GetShapeShapePlatformConfigOptionMeasuredBootOption>
    memoryEncryptionOptions List<GetShapeShapePlatformConfigOptionMemoryEncryptionOption>
    numaNodesPerSocketPlatformOptions List<GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption>
    percentageOfCoresEnabledOptions List<GetShapeShapePlatformConfigOptionPercentageOfsEnabledOption>
    secureBootOptions List<GetShapeShapePlatformConfigOptionSecureBootOption>
    symmetricMultiThreadingOptions List<GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption>
    trustedPlatformModuleOptions List<GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption>
    type String
    virtualInstructionsOptions List<GetShapeShapePlatformConfigOptionVirtualInstructionsOption>
    accessControlServiceOptions GetShapeShapePlatformConfigOptionAccessControlServiceOption[]
    inputOutputMemoryManagementUnitOptions GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption[]
    measuredBootOptions GetShapeShapePlatformConfigOptionMeasuredBootOption[]
    memoryEncryptionOptions GetShapeShapePlatformConfigOptionMemoryEncryptionOption[]
    numaNodesPerSocketPlatformOptions GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption[]
    percentageOfCoresEnabledOptions GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption[]
    secureBootOptions GetShapeShapePlatformConfigOptionSecureBootOption[]
    symmetricMultiThreadingOptions GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption[]
    trustedPlatformModuleOptions GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption[]
    type string
    virtualInstructionsOptions GetShapeShapePlatformConfigOptionVirtualInstructionsOption[]
    access_control_service_options Sequence[core.GetShapeShapePlatformConfigOptionAccessControlServiceOption]
    input_output_memory_management_unit_options Sequence[core.GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption]
    measured_boot_options Sequence[core.GetShapeShapePlatformConfigOptionMeasuredBootOption]
    memory_encryption_options Sequence[core.GetShapeShapePlatformConfigOptionMemoryEncryptionOption]
    numa_nodes_per_socket_platform_options Sequence[core.GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption]
    percentage_of_cores_enabled_options Sequence[core.GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption]
    secure_boot_options Sequence[core.GetShapeShapePlatformConfigOptionSecureBootOption]
    symmetric_multi_threading_options Sequence[core.GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption]
    trusted_platform_module_options Sequence[core.GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption]
    type str
    virtual_instructions_options Sequence[core.GetShapeShapePlatformConfigOptionVirtualInstructionsOption]

    GetShapeShapePlatformConfigOptionAccessControlServiceOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionMeasuredBootOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionMemoryEncryptionOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption

    AllowedValues List<string>
    DefaultValue string
    allowedValues List<String>
    defaultValue String
    allowed_values Sequence[str]
    default_value str
    allowedValues List<String>
    defaultValue String

    GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption

    DefaultValue int
    Max int
    Min int
    DefaultValue int
    Max int
    Min int
    defaultValue Integer
    max Integer
    min Integer
    defaultValue number
    max number
    min number
    defaultValue Number
    max Number
    min Number

    GetShapeShapePlatformConfigOptionSecureBootOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapePlatformConfigOptionVirtualInstructionsOption

    allowedValues List<Boolean>
    isDefaultEnabled Boolean
    allowedValues List<Boolean>
    isDefaultEnabled Boolean

    GetShapeShapeRecommendedAlternative

    ShapeName string
    ShapeName string
    shapeName String
    shapeName string
    shapeName String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi