Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Core.getShape
Explore with Pulumi AI
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:
- Compartment
Id string - Availability
Domain string - Filters
List<Get
Shape Filter> - Image
Id string
- Compartment
Id string - Availability
Domain string - Filters
[]Get
Shape Filter - Image
Id string
- compartment
Id String - availability
Domain String - filters
List<Get
Shape Filter> - image
Id String
- compartment
Id string - availability
Domain string - filters
Get
Shape Filter[] - image
Id string
- compartment
Id String - availability
Domain String - filters List<Property Map>
- image
Id String
getShape Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Shapes
List<Get
Shape Shape> - Availability
Domain string - Filters
List<Get
Shape Filter> - Image
Id string
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Shapes
[]Get
Shape Shape - Availability
Domain string - Filters
[]Get
Shape Filter - Image
Id string
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- shapes
List<Get
Shape Shape> - availability
Domain String - filters
List<Get
Shape Filter> - image
Id String
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- shapes
Get
Shape Shape[] - availability
Domain string - filters
Get
Shape Filter[] - image
Id string
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- shapes
Sequence[core.
Get Shape Shape] - availability_
domain str - filters
Sequence[core.
Get Shape Filter] - image_
id str
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- shapes List<Property Map>
- availability
Domain String - filters List<Property Map>
- image
Id String
Supporting Types
GetShapeFilter
GetShapeShape
- Baseline
Ocpu List<string>Utilizations - Billing
Type string - Gpu
Description string - Gpus int
- Is
Billed boolFor Stopped Instance - Is
Flexible bool - Is
Live boolMigration Supported - Is
Subcore bool - Local
Disk stringDescription - Local
Disks int - Local
Disks doubleTotal Size In Gbs - Max
Vnic List<GetAttachment Options Shape Shape Max Vnic Attachment Option> - Max
Vnic intAttachments - Memory
In doubleGbs - Memory
Options List<GetShape Shape Memory Option> - Min
Total doubleBaseline Ocpus Required - Name string
- Network
Ports int - Networking
Bandwidth doubleIn Gbps - Networking
Bandwidth List<GetOptions Shape Shape Networking Bandwidth Option> - Ocpu
Options List<GetShape Shape Ocpu Option> - Ocpus double
- Platform
Config List<GetOptions Shape Shape Platform Config Option> - Processor
Description string - Quota
Names List<string> - Rdma
Bandwidth intIn Gbps - Rdma
Ports int - Recommended
Alternatives List<GetShape Shape Recommended Alternative> - Resize
Compatible List<string>Shapes
- Baseline
Ocpu []stringUtilizations - Billing
Type string - Gpu
Description string - Gpus int
- Is
Billed boolFor Stopped Instance - Is
Flexible bool - Is
Live boolMigration Supported - Is
Subcore bool - Local
Disk stringDescription - Local
Disks int - Local
Disks float64Total Size In Gbs - Max
Vnic []GetAttachment Options Shape Shape Max Vnic Attachment Option - Max
Vnic intAttachments - Memory
In float64Gbs - Memory
Options []GetShape Shape Memory Option - Min
Total float64Baseline Ocpus Required - Name string
- Network
Ports int - Networking
Bandwidth float64In Gbps - Networking
Bandwidth []GetOptions Shape Shape Networking Bandwidth Option - Ocpu
Options []GetShape Shape Ocpu Option - Ocpus float64
- Platform
Config []GetOptions Shape Shape Platform Config Option - Processor
Description string - Quota
Names []string - Rdma
Bandwidth intIn Gbps - Rdma
Ports int - Recommended
Alternatives []GetShape Shape Recommended Alternative - Resize
Compatible []stringShapes
- baseline
Ocpu List<String>Utilizations - billing
Type String - gpu
Description String - gpus Integer
- is
Billed BooleanFor Stopped Instance - is
Flexible Boolean - is
Live BooleanMigration Supported - is
Subcore Boolean - local
Disk StringDescription - local
Disks Integer - local
Disks DoubleTotal Size In Gbs - max
Vnic List<GetAttachment Options Shape Shape Max Vnic Attachment Option> - max
Vnic IntegerAttachments - memory
In DoubleGbs - memory
Options List<GetShape Shape Memory Option> - min
Total DoubleBaseline Ocpus Required - name String
- network
Ports Integer - networking
Bandwidth DoubleIn Gbps - networking
Bandwidth List<GetOptions Shape Shape Networking Bandwidth Option> - ocpu
Options List<GetShape Shape Ocpu Option> - ocpus Double
- platform
Config List<GetOptions Shape Shape Platform Config Option> - processor
Description String - quota
Names List<String> - rdma
Bandwidth IntegerIn Gbps - rdma
Ports Integer - recommended
Alternatives List<GetShape Shape Recommended Alternative> - resize
Compatible List<String>Shapes
- baseline
Ocpu string[]Utilizations - billing
Type string - gpu
Description string - gpus number
- is
Billed booleanFor Stopped Instance - is
Flexible boolean - is
Live booleanMigration Supported - is
Subcore boolean - local
Disk stringDescription - local
Disks number - local
Disks numberTotal Size In Gbs - max
Vnic GetAttachment Options Shape Shape Max Vnic Attachment Option[] - max
Vnic numberAttachments - memory
In numberGbs - memory
Options GetShape Shape Memory Option[] - min
Total numberBaseline Ocpus Required - name string
- network
Ports number - networking
Bandwidth numberIn Gbps - networking
Bandwidth GetOptions Shape Shape Networking Bandwidth Option[] - ocpu
Options GetShape Shape Ocpu Option[] - ocpus number
- platform
Config GetOptions Shape Shape Platform Config Option[] - processor
Description string - quota
Names string[] - rdma
Bandwidth numberIn Gbps - rdma
Ports number - recommended
Alternatives GetShape Shape Recommended Alternative[] - resize
Compatible string[]Shapes
- baseline_
ocpu_ Sequence[str]utilizations - billing_
type str - gpu_
description str - gpus int
- is_
billed_ boolfor_ stopped_ instance - is_
flexible bool - is_
live_ boolmigration_ supported - is_
subcore bool - local_
disk_ strdescription - local_
disks int - local_
disks_ floattotal_ size_ in_ gbs - max_
vnic_ Sequence[core.attachment_ options Get Shape Shape Max Vnic Attachment Option] - max_
vnic_ intattachments - memory_
in_ floatgbs - memory_
options Sequence[core.Get Shape Shape Memory Option] - min_
total_ floatbaseline_ ocpus_ required - name str
- network_
ports int - networking_
bandwidth_ floatin_ gbps - networking_
bandwidth_ Sequence[core.options Get Shape Shape Networking Bandwidth Option] - ocpu_
options Sequence[core.Get Shape Shape Ocpu Option] - ocpus float
- platform_
config_ Sequence[core.options Get Shape Shape Platform Config Option] - processor_
description str - quota_
names Sequence[str] - rdma_
bandwidth_ intin_ gbps - rdma_
ports int - recommended_
alternatives Sequence[core.Get Shape Shape Recommended Alternative] - resize_
compatible_ Sequence[str]shapes
- baseline
Ocpu List<String>Utilizations - billing
Type String - gpu
Description String - gpus Number
- is
Billed BooleanFor Stopped Instance - is
Flexible Boolean - is
Live BooleanMigration Supported - is
Subcore Boolean - local
Disk StringDescription - local
Disks Number - local
Disks NumberTotal Size In Gbs - max
Vnic List<Property Map>Attachment Options - max
Vnic NumberAttachments - memory
In NumberGbs - memory
Options List<Property Map> - min
Total NumberBaseline Ocpus Required - name String
- network
Ports Number - networking
Bandwidth NumberIn Gbps - networking
Bandwidth List<Property Map>Options - ocpu
Options List<Property Map> - ocpus Number
- platform
Config List<Property Map>Options - processor
Description String - quota
Names List<String> - rdma
Bandwidth NumberIn Gbps - rdma
Ports Number - recommended
Alternatives List<Property Map> - resize
Compatible List<String>Shapes
GetShapeShapeMaxVnicAttachmentOption
- Default
Per doubleOcpu - Max double
- Min int
- Default
Per float64Ocpu - Max float64
- Min int
- default
Per DoubleOcpu - max Double
- min Integer
- default
Per numberOcpu - max number
- min number
- default_
per_ floatocpu - max float
- min int
- default
Per NumberOcpu - max Number
- min Number
GetShapeShapeMemoryOption
- Default
Per doubleOcpu In Gbs - Max
In doubleGbs - Max
Per doubleNuma Node In Gbs - Max
Per doubleOcpu In Gbs - Min
In doubleGbs - Min
Per doubleOcpu In Gbs
- Default
Per float64Ocpu In Gbs - Max
In float64Gbs - Max
Per float64Numa Node In Gbs - Max
Per float64Ocpu In Gbs - Min
In float64Gbs - Min
Per float64Ocpu In Gbs
- default
Per DoubleOcpu In Gbs - max
In DoubleGbs - max
Per DoubleNuma Node In Gbs - max
Per DoubleOcpu In Gbs - min
In DoubleGbs - min
Per DoubleOcpu In Gbs
- default
Per numberOcpu In Gbs - max
In numberGbs - max
Per numberNuma Node In Gbs - max
Per numberOcpu In Gbs - min
In numberGbs - min
Per numberOcpu In Gbs
- default_
per_ floatocpu_ in_ gbs - max_
in_ floatgbs - max_
per_ floatnuma_ node_ in_ gbs - max_
per_ floatocpu_ in_ gbs - min_
in_ floatgbs - min_
per_ floatocpu_ in_ gbs
- default
Per NumberOcpu In Gbs - max
In NumberGbs - max
Per NumberNuma Node In Gbs - max
Per NumberOcpu In Gbs - min
In NumberGbs - min
Per NumberOcpu In Gbs
GetShapeShapeNetworkingBandwidthOption
- Default
Per doubleOcpu In Gbps - Max
In doubleGbps - Min
In doubleGbps
- Default
Per float64Ocpu In Gbps - Max
In float64Gbps - Min
In float64Gbps
- default
Per DoubleOcpu In Gbps - max
In DoubleGbps - min
In DoubleGbps
- default
Per numberOcpu In Gbps - max
In numberGbps - min
In numberGbps
- default_
per_ floatocpu_ in_ gbps - max_
in_ floatgbps - min_
in_ floatgbps
- default
Per NumberOcpu In Gbps - max
In NumberGbps - min
In NumberGbps
GetShapeShapeOcpuOption
- Max double
- Max
Per doubleNuma Node - Min double
- Max float64
- Max
Per float64Numa Node - Min float64
- max Double
- max
Per DoubleNuma Node - min Double
- max number
- max
Per numberNuma Node - min number
- max float
- max_
per_ floatnuma_ node - min float
- max Number
- max
Per NumberNuma Node - min Number
GetShapeShapePlatformConfigOption
- Access
Control List<GetService Options Shape Shape Platform Config Option Access Control Service Option> - Input
Output List<GetMemory Management Unit Options Shape Shape Platform Config Option Input Output Memory Management Unit Option> - Measured
Boot List<GetOptions Shape Shape Platform Config Option Measured Boot Option> - Memory
Encryption List<GetOptions Shape Shape Platform Config Option Memory Encryption Option> - Numa
Nodes List<GetPer Socket Platform Options Shape Shape Platform Config Option Numa Nodes Per Socket Platform Option> - Percentage
Of List<GetCores Enabled Options Shape Shape Platform Config Option Percentage Of Cores Enabled Option> - Secure
Boot List<GetOptions Shape Shape Platform Config Option Secure Boot Option> - Symmetric
Multi List<GetThreading Options Shape Shape Platform Config Option Symmetric Multi Threading Option> - Trusted
Platform List<GetModule Options Shape Shape Platform Config Option Trusted Platform Module Option> - Type string
- Virtual
Instructions List<GetOptions Shape Shape Platform Config Option Virtual Instructions Option>
- Access
Control []GetService Options Shape Shape Platform Config Option Access Control Service Option - Input
Output []GetMemory Management Unit Options Shape Shape Platform Config Option Input Output Memory Management Unit Option - Measured
Boot []GetOptions Shape Shape Platform Config Option Measured Boot Option - Memory
Encryption []GetOptions Shape Shape Platform Config Option Memory Encryption Option - Numa
Nodes []GetPer Socket Platform Options Shape Shape Platform Config Option Numa Nodes Per Socket Platform Option - Percentage
Of []GetCores Enabled Options Shape Shape Platform Config Option Percentage Of Cores Enabled Option - Secure
Boot []GetOptions Shape Shape Platform Config Option Secure Boot Option - Symmetric
Multi []GetThreading Options Shape Shape Platform Config Option Symmetric Multi Threading Option - Trusted
Platform []GetModule Options Shape Shape Platform Config Option Trusted Platform Module Option - Type string
- Virtual
Instructions []GetOptions Shape Shape Platform Config Option Virtual Instructions Option
- access
Control List<GetService Options Shape Shape Platform Config Option Access Control Service Option> - input
Output List<GetMemory Management Unit Options Shape Shape Platform Config Option Input Output Memory Management Unit Option> - measured
Boot List<GetOptions Shape Shape Platform Config Option Measured Boot Option> - memory
Encryption List<GetOptions Shape Shape Platform Config Option Memory Encryption Option> - numa
Nodes List<GetPer Socket Platform Options Shape Shape Platform Config Option Numa Nodes Per Socket Platform Option> - percentage
Of List<GetCores Enabled Options Shape Shape Platform Config Option Percentage Ofs Enabled Option> - secure
Boot List<GetOptions Shape Shape Platform Config Option Secure Boot Option> - symmetric
Multi List<GetThreading Options Shape Shape Platform Config Option Symmetric Multi Threading Option> - trusted
Platform List<GetModule Options Shape Shape Platform Config Option Trusted Platform Module Option> - type String
- virtual
Instructions List<GetOptions Shape Shape Platform Config Option Virtual Instructions Option>
- access
Control GetService Options Shape Shape Platform Config Option Access Control Service Option[] - input
Output GetMemory Management Unit Options Shape Shape Platform Config Option Input Output Memory Management Unit Option[] - measured
Boot GetOptions Shape Shape Platform Config Option Measured Boot Option[] - memory
Encryption GetOptions Shape Shape Platform Config Option Memory Encryption Option[] - numa
Nodes GetPer Socket Platform Options Shape Shape Platform Config Option Numa Nodes Per Socket Platform Option[] - percentage
Of GetCores Enabled Options Shape Shape Platform Config Option Percentage Of Cores Enabled Option[] - secure
Boot GetOptions Shape Shape Platform Config Option Secure Boot Option[] - symmetric
Multi GetThreading Options Shape Shape Platform Config Option Symmetric Multi Threading Option[] - trusted
Platform GetModule Options Shape Shape Platform Config Option Trusted Platform Module Option[] - type string
- virtual
Instructions GetOptions Shape Shape Platform Config Option Virtual Instructions Option[]
- access_
control_ Sequence[core.service_ options Get Shape Shape Platform Config Option Access Control Service Option] - input_
output_ Sequence[core.memory_ management_ unit_ options Get Shape Shape Platform Config Option Input Output Memory Management Unit Option] - measured_
boot_ Sequence[core.options Get Shape Shape Platform Config Option Measured Boot Option] - memory_
encryption_ Sequence[core.options Get Shape Shape Platform Config Option Memory Encryption Option] - numa_
nodes_ Sequence[core.per_ socket_ platform_ options Get Shape Shape Platform Config Option Numa Nodes Per Socket Platform Option] - percentage_
of_ Sequence[core.cores_ enabled_ options Get Shape Shape Platform Config Option Percentage Of Cores Enabled Option] - secure_
boot_ Sequence[core.options Get Shape Shape Platform Config Option Secure Boot Option] - symmetric_
multi_ Sequence[core.threading_ options Get Shape Shape Platform Config Option Symmetric Multi Threading Option] - trusted_
platform_ Sequence[core.module_ options Get Shape Shape Platform Config Option Trusted Platform Module Option] - type str
- virtual_
instructions_ Sequence[core.options Get Shape Shape Platform Config Option Virtual Instructions Option]
- access
Control List<Property Map>Service Options - input
Output List<Property Map>Memory Management Unit Options - measured
Boot List<Property Map>Options - memory
Encryption List<Property Map>Options - numa
Nodes List<Property Map>Per Socket Platform Options - percentage
Of List<Property Map>Cores Enabled Options - secure
Boot List<Property Map>Options - symmetric
Multi List<Property Map>Threading Options - trusted
Platform List<Property Map>Module Options - type String
- virtual
Instructions List<Property Map>Options
GetShapeShapePlatformConfigOptionAccessControlServiceOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionMeasuredBootOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionMemoryEncryptionOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOption
- Allowed
Values List<string> - Default
Value string
- Allowed
Values []string - Default
Value string
- allowed
Values List<String> - default
Value String
- allowed
Values string[] - default
Value string
- allowed_
values Sequence[str] - default_
value str
- allowed
Values List<String> - default
Value String
GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOption
- Default
Value int - Max int
- Min int
- Default
Value int - Max int
- Min int
- default
Value Integer - max Integer
- min Integer
- default
Value number - max number
- min number
- default_
value int - max int
- min int
- default
Value Number - max Number
- min Number
GetShapeShapePlatformConfigOptionSecureBootOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionTrustedPlatformModuleOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapePlatformConfigOptionVirtualInstructionsOption
- Allowed
Values List<bool> - Is
Default boolEnabled
- Allowed
Values []bool - Is
Default boolEnabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
- allowed
Values boolean[] - is
Default booleanEnabled
- allowed_
values Sequence[bool] - is_
default_ boolenabled
- allowed
Values List<Boolean> - is
Default BooleanEnabled
GetShapeShapeRecommendedAlternative
- Shape
Name string
- Shape
Name string
- shape
Name String
- shape
Name string
- shape_
name str
- shape
Name String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.