subcategory | layout | page_title | description |
---|---|---|---|
VPC infrastructure |
ibm |
IBM : Instance Profile |
Manages IBM Cloud virtual server instance profile. |
Retrieve information of an existing IBM Cloud virtual server instance profile. For more information, about virtual server instance profile, see instance profiles.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
provider "ibm" {
region = "eu-gb"
}
The following example retrieves information about the cx2-2x4
instance profile.
data "ibm_is_instance_profile" "example" {
name = "cx2-2x4"
}
Review the argument references that you can specify for your data source.
name
- (Required, String) The name for this virtual server instance profile.
In addition to the argument reference list, you can access the following attribute references after your data source is created.
-
architecture
- (String) The default Operating System architecture for an instance of the profile. -
architecture_type
- (String) The type for this OS architecture. -
architecture_values
- (String) The supported OS architecture(s) for an instance with this profile. -
bandwidth
- (List) Nestedbandwidth
blocks have the following structure:Nested scheme for
bandwidth
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
cluster_network_attachment_count
- (List) Nestedcluster_network_attachment_count
blocks have the following structure:Nested schema for cluster_network_attachment_count:
default
- (Integer)max
- (Integer) The maximum value for this profile field.min
- (Integer) The minimum value for this profile field.step
- (Integer)type
- (String) The type for this profile field.values
- (List) The permitted values for this profile field.
-
confidential_compute_modes
- (List)Nested schema for confidential_compute_modes:
default
- (String) The default confidential compute mode for this profile.type
- (String) The type for this profile field.values
- (List) The supported confidential compute modes.
-
total_volume_bandwidth
Nestedtotal_volume_bandwidth
blocks have the following structure:type
- The type for this profile field.value
- The value for this profile field.default
- The default value for this profile field.max
- The maximum value for this profile field.min
- The minimum value for this profile field.step
- The increment step value for this profile field.values
- The permitted values for this profile field.
-
disks
- (List) Collection of the instance profile's disks. Nesteddisks
blocks have the following structure:Nested scheme for
disks
:-
quantity
- (List) Nestedquantity
blocks have the following structure:Nested scheme for
quantity
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
size
- (List) Nestedsize
blocks have the following structure:Nested scheme for
size
default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
supported_interface_types
- (List) Nestedsupported_interface_types
blocks have the following structure:Nested scheme for
supported_interface_types
:default
- (String) The disk interface used for attaching the disk.The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.type
- (String) The type for this profile field.values
- (String) The supported disk interfaces used for attaching the disk.
-
-
status
- (String) The status of the instance profile. Values coule be,previous
: This instance profile is an older revision, but remains provisionable and usable.current
: This profile is the latest revision. -
family
- (String) The family of the virtual server instance profile. -
gpu_count
- (List) Nestedgpu_count
blocks have the following structure: Nested scheme forgpu_count
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
gpu_manufacturer
- (List) Nestedgpu_manufacturer
blocks have the following structure: Nested scheme forgpu_manufacturer
:type
- (String) The type for this profile field.values
- (String) The permitted values for this profile field.
-
gpu_memory
- (List) Nestedgpu_memory
blocks have the following structure: Nested scheme forgpu_memory
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
gpu_model
- (List) Nestedgpu_model
blocks have the following structure: Nested scheme forgpu_model
:type
- (String) The type for this profile field.values
- (String) The permitted values for this profile field.
-
reservation_terms
- (List) Nestedreservation_terms
blocks have the following structure: Nested scheme forreservation_terms
:type
- (String) The type for this profile field.values
- (String) The supported committed use terms for a reservation using this profile.
-
href
- (String) The URL for this virtual server instance profile. -
memory
- (List) Nestedmemory
blocks have the following structure:Nested scheme for
memory
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
network_attachment_count
- (List) The number of network attachments supported on an instance with this profileNested scheme for
network_attachment_count
:max
- (Integer) The maximum number of network attachments supported by an instance using this profile.min
- (Integer) The minimum number of network attachments supported by an instance using this profile.type
- (String) The type for this profile field, Ex: range or dependent.
-
network_interface_count
- (List)Nested scheme for
network_interface_count
:max
- (Integer) The maximum number of vNICs supported by an instance using this profile.min
- (Integer) The minimum number of vNICs supported by an instance using this profile.type
- (String) The type for this profile field, Ex: range or dependent.
-
numa_count
- (Integer) The number of NUMA nodes for the Instance Profile. -
port_speed
- (List) Nestedport_speed
blocks have the following structure:Nested scheme for
port_speed
:type
- (String) The type for this profile field.value
- (String) The value for this profile field.
-
secure_boot_modes
- (List)Nested schema for secure_boot_modes:
default
- (Boolean) The default secure boot mode for this profile.type
- (String) The type for this profile field.values
- (List) The supportedenable_secure_boot
values for an instance using this profile.
-
supported_cluster_network_profiles
- (List) The cluster network profiles that support this instance profile.Nested schema for supported_cluster_network_profiles:
href
- (String) The URL for this cluster network profile.name
- (String) The globally unique name for this cluster network profile.resource_type
- (String) The resource type.
-
vcpu_architecture
- (List) Nestedvcpu_architecture
blocks have the following structure:Nested scheme for
vcpu_architecture
:default
- (String) The default VCPU architecture for an instance with this profile.type
- (String) The type for this profile field.value
- (String) The VCPU architecture for an instance with this profile.
-
vcpu_count
- (List) Nestedvcpu_count
blocks have the following structure:Nested scheme for
vcpu_count
:default
- (String) The default value for this profile field.max
- (String) The maximum value for this profile field.min
- (String) The minimum value for this profile field.step
- (String) The increment step value for this profile field.type
- (String) The type for this profile field.value
- (String) The value for this profile field.values
- (String) The permitted values for this profile field.
-
vcpu_manufacturer
- (List) Nestedvcpu_manufacturer
blocks have the following structure:Nested scheme for
vcpu_manufacturer
:default
- (String) The default VCPU manufacturer for an instance with this profile.type
- (String) The type for this profile field.value
- (String) The VCPU manufacturer for an instance with this profile.