pulumi_wasm_providers_gcp_mini::functions::compute::get_instance

Struct GetInstanceResult

source
pub struct GetInstanceResult {
Show 43 fields pub advanced_machine_features: Output<Vec<GetInstanceAdvancedMachineFeature>>, pub allow_stopping_for_update: Output<bool>, pub attached_disks: Output<Vec<GetInstanceAttachedDisk>>, pub boot_disks: Output<Vec<GetInstanceBootDisk>>, pub can_ip_forward: Output<bool>, pub confidential_instance_configs: Output<Vec<GetInstanceConfidentialInstanceConfig>>, pub cpu_platform: Output<String>, pub creation_timestamp: Output<String>, pub current_status: Output<String>, pub deletion_protection: Output<bool>, pub description: Output<String>, pub desired_status: Output<String>, pub effective_labels: Output<HashMap<String, String>>, pub enable_display: Output<bool>, pub guest_accelerators: Output<Vec<GetInstanceGuestAccelerator>>, pub hostname: Output<String>, pub id: Output<String>, pub instance_id: Output<String>, pub key_revocation_action_type: Output<String>, pub label_fingerprint: Output<String>, pub labels: Output<HashMap<String, String>>, pub machine_type: Output<String>, pub metadata: Output<HashMap<String, String>>, pub metadata_fingerprint: Output<String>, pub metadata_startup_script: Output<String>, pub min_cpu_platform: Output<String>, pub name: Output<Option<String>>, pub network_interfaces: Output<Vec<GetInstanceNetworkInterface>>, pub network_performance_configs: Output<Vec<GetInstanceNetworkPerformanceConfig>>, pub params: Output<Vec<GetInstanceParam>>, pub partner_metadata: Output<HashMap<String, String>>, pub project: Output<Option<String>>, pub pulumi_labels: Output<HashMap<String, String>>, pub reservation_affinities: Output<Vec<GetInstanceReservationAffinity>>, pub resource_policies: Output<Vec<String>>, pub schedulings: Output<Vec<GetInstanceScheduling>>, pub scratch_disks: Output<Vec<GetInstanceScratchDisk>>, pub self_link: Output<Option<String>>, pub service_accounts: Output<Vec<GetInstanceServiceAccount>>, pub shielded_instance_configs: Output<Vec<GetInstanceShieldedInstanceConfig>>, pub tags: Output<Vec<String>>, pub tags_fingerprint: Output<String>, pub zone: Output<Option<String>>,
}

Fields§

§advanced_machine_features: Output<Vec<GetInstanceAdvancedMachineFeature>>§allow_stopping_for_update: Output<bool>§attached_disks: Output<Vec<GetInstanceAttachedDisk>>

List of disks attached to the instance. Structure is documented below.

§boot_disks: Output<Vec<GetInstanceBootDisk>>

The boot disk for the instance. Structure is documented below.

§can_ip_forward: Output<bool>

Whether sending and receiving of packets with non-matching source or destination IPs is allowed.

§confidential_instance_configs: Output<Vec<GetInstanceConfidentialInstanceConfig>>§cpu_platform: Output<String>

The CPU platform used by this instance.

§creation_timestamp: Output<String>

Creation timestamp in RFC3339 text format.

§current_status: Output<String>

The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.

§deletion_protection: Output<bool>

Whether deletion protection is enabled on this instance.

§description: Output<String>

A brief description of the resource.

§desired_status: Output<String>§effective_labels: Output<HashMap<String, String>>§enable_display: Output<bool>

Whether the instance has virtual displays enabled.

§guest_accelerators: Output<Vec<GetInstanceGuestAccelerator>>

List of the type and count of accelerator cards attached to the instance. Structure is documented below.

§hostname: Output<String>§id: Output<String>

The provider-assigned unique ID for this managed resource.

§instance_id: Output<String>

The server-assigned unique identifier of this instance.

§key_revocation_action_type: Output<String>

Action to be taken when a customer’s encryption key is revoked.

§label_fingerprint: Output<String>

The unique fingerprint of the labels.

§labels: Output<HashMap<String, String>>

A set of key/value label pairs assigned to the disk.

§machine_type: Output<String>

The machine type to create.

§metadata: Output<HashMap<String, String>>

Metadata key/value pairs made available within the instance.

§metadata_fingerprint: Output<String>

The unique fingerprint of the metadata.

§metadata_startup_script: Output<String>§min_cpu_platform: Output<String>

The minimum CPU platform specified for the VM instance. Set to “AUTOMATIC” to remove a previously-set value.

§name: Output<Option<String>>§network_interfaces: Output<Vec<GetInstanceNetworkInterface>>

The networks attached to the instance. Structure is documented below.

§network_performance_configs: Output<Vec<GetInstanceNetworkPerformanceConfig>>

The network performance configuration setting for the instance, if set. Structure is documented below.

§params: Output<Vec<GetInstanceParam>>§partner_metadata: Output<HashMap<String, String>>§project: Output<Option<String>>§pulumi_labels: Output<HashMap<String, String>>§reservation_affinities: Output<Vec<GetInstanceReservationAffinity>>§resource_policies: Output<Vec<String>>

A list of self_links to resource policies attached to the selected boot_disk

§schedulings: Output<Vec<GetInstanceScheduling>>

The scheduling strategy being used by the instance. Structure is documented below

§scratch_disks: Output<Vec<GetInstanceScratchDisk>>

The scratch disks attached to the instance. Structure is documented below.

§self_link: Output<Option<String>>

The URI of the created resource.

§service_accounts: Output<Vec<GetInstanceServiceAccount>>

The service account to attach to the instance. Structure is documented below.

§shielded_instance_configs: Output<Vec<GetInstanceShieldedInstanceConfig>>

The shielded vm config being used by the instance. Structure is documented below.

§tags: Output<Vec<String>>

The list of tags attached to the instance.

§tags_fingerprint: Output<String>

The unique fingerprint of the tags.

§zone: Output<Option<String>>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.