pulumi_wasm_providers_gcp_mini::compute::image

Struct ImageResult

source
pub struct ImageResult {
Show 20 fields pub archive_size_bytes: Output<i32>, pub creation_timestamp: Output<String>, pub description: Output<Option<String>>, pub disk_size_gb: Output<i32>, pub effective_labels: Output<HashMap<String, String>>, pub family: Output<Option<String>>, pub guest_os_features: Output<Vec<ImageGuestOsFeature>>, pub image_encryption_key: Output<Option<ImageImageEncryptionKey>>, pub label_fingerprint: Output<String>, pub labels: Output<Option<HashMap<String, String>>>, pub licenses: Output<Vec<String>>, pub name: Output<String>, pub project: Output<String>, pub pulumi_labels: Output<HashMap<String, String>>, pub raw_disk: Output<Option<ImageRawDisk>>, pub self_link: Output<String>, pub source_disk: Output<Option<String>>, pub source_image: Output<Option<String>>, pub source_snapshot: Output<Option<String>>, pub storage_locations: Output<Vec<String>>,
}

Fields§

§archive_size_bytes: Output<i32>

Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).

§creation_timestamp: Output<String>

Creation timestamp in RFC3339 text format.

§description: Output<Option<String>>

An optional description of this resource. Provide this property when you create the resource.

§disk_size_gb: Output<i32>

Size of the image when restored onto a persistent disk (in GB).

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

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

§family: Output<Option<String>>

The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.

§guest_os_features: Output<Vec<ImageGuestOsFeature>>

A list of features to enable on the guest operating system. Applicable only for bootable images. Structure is documented below.

§image_encryption_key: Output<Option<ImageImageEncryptionKey>>

Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image) Structure is documented below.

§label_fingerprint: Output<String>

The fingerprint used for optimistic locking of this resource. Used internally during updates.

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

Labels to apply to this Image. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

§licenses: Output<Vec<String>>

Any applicable license URI.

§name: Output<String>

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.


§project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

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

The combination of labels configured directly on the resource and default labels configured on the provider.

§raw_disk: Output<Option<ImageRawDisk>>

The parameters of the raw disk image. Structure is documented below.

§self_link: Output<String>

The URI of the created resource.

§source_disk: Output<Option<String>>

The source disk to create this image based on. You must provide either this property or the rawDisk.source property but not both to create an image.

§source_image: Output<Option<String>>

URL of the source image used to create this image. In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The rawDisk.source URL
  • The sourceDisk URL
§source_snapshot: Output<Option<String>>

URL of the source snapshot used to create this image. In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The sourceImage URL
  • The rawDisk.source URL
  • The sourceDisk URL
§storage_locations: Output<Vec<String>>

Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images

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.