Image class
Represents an Image resource.
Google Compute Engine uses operating system images to create the root persistent disks for your instances. You specify an image when you create an instance. Images contain a boot loader, an operating system, and a root file system. Linux operating system images are also capable of running containers on Compute Engine.
Images can be either public or custom.
Public images are provided and maintained by Google, open-source communities, and third-party vendors. By default, all projects have access to these images and can use them to create instances. Custom images are available only to your project. You can create a custom image from root persistent disks and other images. Then, use the custom image to create an instance.
To get more information about Image, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage
Image Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const debian = gcp.compute.getImage({
family: "debian-12",
project: "debian-cloud",
});
const persistent = new gcp.compute.Disk("persistent", {
name: "example-disk",
image: debian.then(debian => debian.selfLink),
size: 10,
type: "pd-ssd",
zone: "us-central1-a",
});
const example = new gcp.compute.Image("example", {
name: "example-image",
sourceDisk: persistent.id,
});
import pulumi
import pulumi_gcp as gcp
debian = gcp.compute.get_image(family="debian-12",
project="debian-cloud")
persistent = gcp.compute.Disk("persistent",
name="example-disk",
image=debian.self_link,
size=10,
type="pd-ssd",
zone="us-central1-a")
example = gcp.compute.Image("example",
name="example-image",
source_disk=persistent.id)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var debian = Gcp.Compute.GetImage.Invoke(new()
{
Family = "debian-12",
Project = "debian-cloud",
});
var persistent = new Gcp.Compute.Disk("persistent", new()
{
Name = "example-disk",
Image = debian.Apply(getImageResult => getImageResult.SelfLink),
Size = 10,
Type = "pd-ssd",
Zone = "us-central1-a",
});
var example = new Gcp.Compute.Image("example", new()
{
Name = "example-image",
SourceDisk = persistent.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
debian, err := compute.LookupImage(ctx, &compute.LookupImageArgs{
Family: pulumi.StringRef("debian-12"),
Project: pulumi.StringRef("debian-cloud"),
}, nil)
if err != nil {
return err
}
persistent, err := compute.NewDisk(ctx, "persistent", &compute.DiskArgs{
Name: pulumi.String("example-disk"),
Image: pulumi.String(debian.SelfLink),
Size: pulumi.Int(10),
Type: pulumi.String("pd-ssd"),
Zone: pulumi.String("us-central1-a"),
})
if err != nil {
return err
}
_, err = compute.NewImage(ctx, "example", &compute.ImageArgs{
Name: pulumi.String("example-image"),
SourceDisk: persistent.ID().ToIDOutput().ToStringOutput(),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_compute_getimage" "debian" {
family = "debian-12"
project = "debian-cloud"
}
resource "gcp_compute_disk" "persistent" {
name = "example-disk"
image = data.gcp_compute_getimage.debian.self_link
size = 10
type = "pd-ssd"
zone = "us-central1-a"
}
resource "gcp_compute_image" "example" {
name = "example-image"
source_disk = gcp_compute_disk.persistent.id
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetImageArgs;
import com.pulumi.gcp.compute.Disk;
import com.pulumi.gcp.compute.DiskArgs;
import com.pulumi.gcp.compute.Image;
import com.pulumi.gcp.compute.ImageArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var debian = ComputeFunctions.getImage(GetImageArgs.builder()
.family("debian-12")
.project("debian-cloud")
.build());
var persistent = new Disk("persistent", DiskArgs.builder()
.name("example-disk")
.image(debian.selfLink())
.size(10)
.type("pd-ssd")
.zone("us-central1-a")
.build());
var example = new Image("example", ImageArgs.builder()
.name("example-image")
.sourceDisk(persistent.id())
.build());
}
}
resources:
persistent:
type: gcp:compute:Disk
properties:
name: example-disk
image: ${debian.selfLink}
size: 10
type: pd-ssd
zone: us-central1-a
example:
type: gcp:compute:Image
properties:
name: example-image
sourceDisk: ${persistent.id}
variables:
debian:
fn::invoke:
function: gcp:compute:getImage
arguments:
family: debian-12
project: debian-cloud
Image Guest Os
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const debian = gcp.compute.getImage({
family: "debian-12",
project: "debian-cloud",
});
const persistent = new gcp.compute.Disk("persistent", {
name: "example-disk",
image: debian.then(debian => debian.selfLink),
size: 10,
type: "pd-ssd",
zone: "us-central1-a",
});
const example = new gcp.compute.Image("example", {
name: "example-image",
sourceDisk: persistent.id,
guestOsFeatures: [
{
type: "UEFI_COMPATIBLE",
},
{
type: "VIRTIO_SCSI_MULTIQUEUE",
},
{
type: "GVNIC",
},
{
type: "SEV_CAPABLE",
},
{
type: "SEV_LIVE_MIGRATABLE_V2",
},
],
});
import pulumi
import pulumi_gcp as gcp
debian = gcp.compute.get_image(family="debian-12",
project="debian-cloud")
persistent = gcp.compute.Disk("persistent",
name="example-disk",
image=debian.self_link,
size=10,
type="pd-ssd",
zone="us-central1-a")
example = gcp.compute.Image("example",
name="example-image",
source_disk=persistent.id,
guest_os_features=[
{
"type": "UEFI_COMPATIBLE",
},
{
"type": "VIRTIO_SCSI_MULTIQUEUE",
},
{
"type": "GVNIC",
},
{
"type": "SEV_CAPABLE",
},
{
"type": "SEV_LIVE_MIGRATABLE_V2",
},
])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var debian = Gcp.Compute.GetImage.Invoke(new()
{
Family = "debian-12",
Project = "debian-cloud",
});
var persistent = new Gcp.Compute.Disk("persistent", new()
{
Name = "example-disk",
Image = debian.Apply(getImageResult => getImageResult.SelfLink),
Size = 10,
Type = "pd-ssd",
Zone = "us-central1-a",
});
var example = new Gcp.Compute.Image("example", new()
{
Name = "example-image",
SourceDisk = persistent.Id,
GuestOsFeatures = new[]
{
new Gcp.Compute.Inputs.ImageGuestOsFeatureArgs
{
Type = "UEFI_COMPATIBLE",
},
new Gcp.Compute.Inputs.ImageGuestOsFeatureArgs
{
Type = "VIRTIO_SCSI_MULTIQUEUE",
},
new Gcp.Compute.Inputs.ImageGuestOsFeatureArgs
{
Type = "GVNIC",
},
new Gcp.Compute.Inputs.ImageGuestOsFeatureArgs
{
Type = "SEV_CAPABLE",
},
new Gcp.Compute.Inputs.ImageGuestOsFeatureArgs
{
Type = "SEV_LIVE_MIGRATABLE_V2",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
debian, err := compute.LookupImage(ctx, &compute.LookupImageArgs{
Family: pulumi.StringRef("debian-12"),
Project: pulumi.StringRef("debian-cloud"),
}, nil)
if err != nil {
return err
}
persistent, err := compute.NewDisk(ctx, "persistent", &compute.DiskArgs{
Name: pulumi.String("example-disk"),
Image: pulumi.String(debian.SelfLink),
Size: pulumi.Int(10),
Type: pulumi.String("pd-ssd"),
Zone: pulumi.String("us-central1-a"),
})
if err != nil {
return err
}
_, err = compute.NewImage(ctx, "example", &compute.ImageArgs{
Name: pulumi.String("example-image"),
SourceDisk: persistent.ID().ToIDOutput().ToStringOutput(),
GuestOsFeatures: compute.ImageGuestOsFeatureArray{
&compute.ImageGuestOsFeatureArgs{
Type: pulumi.String("UEFI_COMPATIBLE"),
},
&compute.ImageGuestOsFeatureArgs{
Type: pulumi.String("VIRTIO_SCSI_MULTIQUEUE"),
},
&compute.ImageGuestOsFeatureArgs{
Type: pulumi.String("GVNIC"),
},
&compute.ImageGuestOsFeatureArgs{
Type: pulumi.String("SEV_CAPABLE"),
},
&compute.ImageGuestOsFeatureArgs{
Type: pulumi.String("SEV_LIVE_MIGRATABLE_V2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_compute_getimage" "debian" {
family = "debian-12"
project = "debian-cloud"
}
resource "gcp_compute_disk" "persistent" {
name = "example-disk"
image = data.gcp_compute_getimage.debian.self_link
size = 10
type = "pd-ssd"
zone = "us-central1-a"
}
resource "gcp_compute_image" "example" {
name = "example-image"
source_disk = gcp_compute_disk.persistent.id
guest_os_features {
type = "UEFI_COMPATIBLE"
}
guest_os_features {
type = "VIRTIO_SCSI_MULTIQUEUE"
}
guest_os_features {
type = "GVNIC"
}
guest_os_features {
type = "SEV_CAPABLE"
}
guest_os_features {
type = "SEV_LIVE_MIGRATABLE_V2"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetImageArgs;
import com.pulumi.gcp.compute.Disk;
import com.pulumi.gcp.compute.DiskArgs;
import com.pulumi.gcp.compute.Image;
import com.pulumi.gcp.compute.ImageArgs;
import com.pulumi.gcp.compute.inputs.ImageGuestOsFeatureArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var debian = ComputeFunctions.getImage(GetImageArgs.builder()
.family("debian-12")
.project("debian-cloud")
.build());
var persistent = new Disk("persistent", DiskArgs.builder()
.name("example-disk")
.image(debian.selfLink())
.size(10)
.type("pd-ssd")
.zone("us-central1-a")
.build());
var example = new Image("example", ImageArgs.builder()
.name("example-image")
.sourceDisk(persistent.id())
.guestOsFeatures(
ImageGuestOsFeatureArgs.builder()
.type("UEFI_COMPATIBLE")
.build(),
ImageGuestOsFeatureArgs.builder()
.type("VIRTIO_SCSI_MULTIQUEUE")
.build(),
ImageGuestOsFeatureArgs.builder()
.type("GVNIC")
.build(),
ImageGuestOsFeatureArgs.builder()
.type("SEV_CAPABLE")
.build(),
ImageGuestOsFeatureArgs.builder()
.type("SEV_LIVE_MIGRATABLE_V2")
.build())
.build());
}
}
resources:
persistent:
type: gcp:compute:Disk
properties:
name: example-disk
image: ${debian.selfLink}
size: 10
type: pd-ssd
zone: us-central1-a
example:
type: gcp:compute:Image
properties:
name: example-image
sourceDisk: ${persistent.id}
guestOsFeatures:
- type: UEFI_COMPATIBLE
- type: VIRTIO_SCSI_MULTIQUEUE
- type: GVNIC
- type: SEV_CAPABLE
- type: SEV_LIVE_MIGRATABLE_V2
variables:
debian:
fn::invoke:
function: gcp:compute:getImage
arguments:
family: debian-12
project: debian-cloud
Image Basic Storage Location
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const debian = gcp.compute.getImage({
family: "debian-12",
project: "debian-cloud",
});
const persistent = new gcp.compute.Disk("persistent", {
name: "example-disk",
image: debian.then(debian => debian.selfLink),
size: 10,
type: "pd-ssd",
zone: "us-central1-a",
});
const example = new gcp.compute.Image("example", {
name: "example-sl-image",
sourceDisk: persistent.id,
storageLocations: ["us-central1"],
});
import pulumi
import pulumi_gcp as gcp
debian = gcp.compute.get_image(family="debian-12",
project="debian-cloud")
persistent = gcp.compute.Disk("persistent",
name="example-disk",
image=debian.self_link,
size=10,
type="pd-ssd",
zone="us-central1-a")
example = gcp.compute.Image("example",
name="example-sl-image",
source_disk=persistent.id,
storage_locations=["us-central1"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var debian = Gcp.Compute.GetImage.Invoke(new()
{
Family = "debian-12",
Project = "debian-cloud",
});
var persistent = new Gcp.Compute.Disk("persistent", new()
{
Name = "example-disk",
Image = debian.Apply(getImageResult => getImageResult.SelfLink),
Size = 10,
Type = "pd-ssd",
Zone = "us-central1-a",
});
var example = new Gcp.Compute.Image("example", new()
{
Name = "example-sl-image",
SourceDisk = persistent.Id,
StorageLocations = new[]
{
"us-central1",
},
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
debian, err := compute.LookupImage(ctx, &compute.LookupImageArgs{
Family: pulumi.StringRef("debian-12"),
Project: pulumi.StringRef("debian-cloud"),
}, nil)
if err != nil {
return err
}
persistent, err := compute.NewDisk(ctx, "persistent", &compute.DiskArgs{
Name: pulumi.String("example-disk"),
Image: pulumi.String(debian.SelfLink),
Size: pulumi.Int(10),
Type: pulumi.String("pd-ssd"),
Zone: pulumi.String("us-central1-a"),
})
if err != nil {
return err
}
_, err = compute.NewImage(ctx, "example", &compute.ImageArgs{
Name: pulumi.String("example-sl-image"),
SourceDisk: persistent.ID().ToIDOutput().ToStringOutput(),
StorageLocations: pulumi.StringArray{
pulumi.String("us-central1"),
},
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_compute_getimage" "debian" {
family = "debian-12"
project = "debian-cloud"
}
resource "gcp_compute_disk" "persistent" {
name = "example-disk"
image = data.gcp_compute_getimage.debian.self_link
size = 10
type = "pd-ssd"
zone = "us-central1-a"
}
resource "gcp_compute_image" "example" {
name = "example-sl-image"
source_disk = gcp_compute_disk.persistent.id
storage_locations = ["us-central1"]
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetImageArgs;
import com.pulumi.gcp.compute.Disk;
import com.pulumi.gcp.compute.DiskArgs;
import com.pulumi.gcp.compute.Image;
import com.pulumi.gcp.compute.ImageArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var debian = ComputeFunctions.getImage(GetImageArgs.builder()
.family("debian-12")
.project("debian-cloud")
.build());
var persistent = new Disk("persistent", DiskArgs.builder()
.name("example-disk")
.image(debian.selfLink())
.size(10)
.type("pd-ssd")
.zone("us-central1-a")
.build());
var example = new Image("example", ImageArgs.builder()
.name("example-sl-image")
.sourceDisk(persistent.id())
.storageLocations("us-central1")
.build());
}
}
resources:
persistent:
type: gcp:compute:Disk
properties:
name: example-disk
image: ${debian.selfLink}
size: 10
type: pd-ssd
zone: us-central1-a
example:
type: gcp:compute:Image
properties:
name: example-sl-image
sourceDisk: ${persistent.id}
storageLocations:
- us-central1
variables:
debian:
fn::invoke:
function: gcp:compute:getImage
arguments:
family: debian-12
project: debian-cloud
Import
Image can be imported using any of these accepted formats:
projects/{{project}}/global/images/{{name}}{{project}}/{{name}}{{name}}
When using the pulumi import command, Image can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/image:Image default projects/{{project}}/global/images/{{name}}
$ pulumi import gcp:compute/image:Image default {{project}}/{{name}}
$ pulumi import gcp:compute/image:Image default {{name}}
Constructors
- Image(String name, {ImageArgs? args, CustomResourceOptions? options})
-
Creates a new Image.
nameThe Pulumi resource name.argsArguments used to configure this Image. The set of arguments for Image.optionsResource options controlling this resource's behavior. - Image.reference(String urn)
- Creates a typed reference to an existing Image resource.
Properties
-
archiveSizeBytes
↔ Output<
int> -
Size of the image tar.gz archive stored in Google Cloud Storage (in
bytes).
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
creationTimestamp
↔ Output<
String> -
Creation timestamp in RFC3339 text format.
latefinal
-
deletionPolicy
↔ Output<
String> -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
latefinal
-
description
↔ Output<
String?> -
An optional description of this resource. Provide this property when
you create the resource.
latefinal
-
diskSizeGb
↔ Output<
int> -
Size of the image when restored onto a persistent disk (in GB).
latefinal
-
effectiveLabels
↔ Output<
Map< String, String> > -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
latefinal
-
family
↔ Output<
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.
latefinal
-
guestOsFeatures
↔ Output<
List< ImageGuestOsFeature> > -
A list of features to enable on the guest operating system.
Applicable only for bootable images.
Structure is documented below.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
-
imageEncryptionKey
↔ Output<
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.
latefinal
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
labelFingerprint
↔ Output<
String> -
The fingerprint used for optimistic locking of this resource. Used
internally during updates.
latefinal
-
labels
↔ Output<
Map< 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
effectiveLabelsfor all of the labels present on the resource.latefinal -
licenses
↔ Output<
List< String> > -
Any applicable license URI.
latefinal
-
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.latefinal -
params
↔ Output<
ImageParams?> -
Additional params passed with the request, but not persisted as part of resource payload.
Structure is documented below.
latefinal
-
project
↔ Output<
String> -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
latefinal
-
pulumiLabels
↔ Output<
Map< String, String> > -
The combination of labels configured directly on the resource
and default labels configured on the provider.
latefinal
-
rawDisk
↔ Output<
ImageRawDisk?> -
The parameters of the raw disk image.
Structure is documented below.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
↔ Output<
String> -
The URI of the created resource.
latefinal
-
shieldedInstanceInitialState
↔ Output<
ImageShieldedInstanceInitialState> -
Set the secure boot keys of shielded instance.
Structure is documented below.
latefinal
-
sourceDisk
↔ Output<
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.
latefinal
-
sourceDiskEncryptionKey
↔ Output<
ImageSourceDiskEncryptionKey?> -
The customer-supplied encryption key of the source disk. Required if
the source disk is protected by a customer-supplied encryption key.
Structure is documented below.
latefinal
-
sourceImage
↔ Output<
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:
latefinal
-
sourceImageEncryptionKey
↔ Output<
ImageSourceImageEncryptionKey?> -
The customer-supplied encryption key of the source image. Required if
the source image is protected by a customer-supplied encryption key.
Structure is documented below.
latefinal
-
sourceSnapshot
↔ Output<
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:
latefinal
-
sourceSnapshotEncryptionKey
↔ Output<
ImageSourceSnapshotEncryptionKey?> -
The customer-supplied encryption key of the source snapshot. Required if
the source snapshot is protected by a customer-supplied encryption key.
Structure is documented below.
latefinal
-
storageLocations
↔ Output<
List< 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
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited