Show / Hide Table of Contents

Class ImageArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ImageArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ImageArgs : ResourceArgs

Constructors

View Source

ImageArgs()

Declaration
public ImageArgs()

Properties

View Source

Description

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

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DiskSizeGb

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

Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Family

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.

Declaration
public Input<string> Family { get; set; }
Property Value
Type Description
Input<System.String>
View Source

GuestOsFeatures

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

Declaration
public InputList<ImageGuestOsFeatureArgs> GuestOsFeatures { get; set; }
Property Value
Type Description
InputList<ImageGuestOsFeatureArgs>
View Source

Labels

Labels to apply to this Image.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

Licenses

Any applicable license URI.

Declaration
public InputList<string> Licenses { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Name

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.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

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

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RawDisk

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

Declaration
public Input<ImageRawDiskArgs> RawDisk { get; set; }
Property Value
Type Description
Input<ImageRawDiskArgs>
View Source

SourceDisk

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.

Declaration
public Input<string> SourceDisk { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.