LocationTagBinding class

A LocationTagBinding represents a connection between a TagValue and a non-global target such as a Cloud Run Service or Compute Instance. Once a LocationTagBinding is created, the TagValue is applied to all the descendants of the cloud resource.

To get more information about LocationTagBinding, see:

Example Usage

Cloud Run Service

To bind a tag to a Cloud Run service:

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const project = new gcp.organizations.Project("project", {
    projectId: "project_id",
    name: "project_id",
    orgId: "123456789",
});
const key = new gcp.tags.TagKey("key", {
    parent: "organizations/123456789",
    shortName: "keyname",
    description: "For keyname resources.",
});
const value = new gcp.tags.TagValue("value", {
    parent: key.id,
    shortName: "valuename",
    description: "For valuename resources.",
});
const binding = new gcp.tags.LocationTagBinding("binding", {
    parent: `//run.googleapis.com/projects/${projectGoogleProject.number}/locations/${_default.location}/services/${_default.name}`,
    tagValue: value.id,
    location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp

project = gcp.organizations.Project("project",
    project_id="project_id",
    name="project_id",
    org_id="123456789")
key = gcp.tags.TagKey("key",
    parent="organizations/123456789",
    short_name="keyname",
    description="For keyname resources.")
value = gcp.tags.TagValue("value",
    parent=key.id,
    short_name="valuename",
    description="For valuename resources.")
binding = gcp.tags.LocationTagBinding("binding",
    parent=f"//run.googleapis.com/projects/{project_google_project['number']}/locations/{default['location']}/services/{default['name']}",
    tag_value=value.id,
    location="us-central1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var project = new Gcp.Organizations.Project("project", new()
    {
        ProjectId = "project_id",
        Name = "project_id",
        OrgId = "123456789",
    });

    var key = new Gcp.Tags.TagKey("key", new()
    {
        Parent = "organizations/123456789",
        ShortName = "keyname",
        Description = "For keyname resources.",
    });

    var @value = new Gcp.Tags.TagValue("value", new()
    {
        Parent = key.Id,
        ShortName = "valuename",
        Description = "For valuename resources.",
    });

    var binding = new Gcp.Tags.LocationTagBinding("binding", new()
    {
        Parent = $"//run.googleapis.com/projects/{projectGoogleProject.Number}/locations/{@default.Location}/services/{@default.Name}",
        TagValue = @value.Id,
        Location = "us-central1",
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/tags"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := organizations.NewProject(ctx, "project", &organizations.ProjectArgs{
			ProjectId: pulumi.String("project_id"),
			Name:      pulumi.String("project_id"),
			OrgId:     pulumi.String("123456789"),
		})
		if err != nil {
			return err
		}
		key, err := tags.NewTagKey(ctx, "key", &tags.TagKeyArgs{
			Parent:      pulumi.String("organizations/123456789"),
			ShortName:   pulumi.String("keyname"),
			Description: pulumi.String("For keyname resources."),
		})
		if err != nil {
			return err
		}
		value, err := tags.NewTagValue(ctx, "value", &tags.TagValueArgs{
			Parent:      key.ID().ToIDOutput().ToStringOutput(),
			ShortName:   pulumi.String("valuename"),
			Description: pulumi.String("For valuename resources."),
		})
		if err != nil {
			return err
		}
		_, err = tags.NewLocationTagBinding(ctx, "binding", &tags.LocationTagBindingArgs{
			Parent:   pulumi.Sprintf("//run.googleapis.com/projects/%v/locations/%v/services/%v", projectGoogleProject.Number, _default.Location, _default.Name),
			TagValue: value.ID().ToIDOutput().ToStringOutput(),
			Location: pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_organizations_project" "project" {
  project_id = "project_id"
  name       = "project_id"
  org_id     = "123456789"
}
resource "gcp_tags_tagkey" "key" {
  parent      = "organizations/123456789"
  short_name  = "keyname"
  description = "For keyname resources."
}
resource "gcp_tags_tagvalue" "value" {
  parent      = gcp_tags_tagkey.key.id
  short_name  = "valuename"
  description = "For valuename resources."
}
resource "gcp_tags_locationtagbinding" "binding" {
  parent    ="//run.googleapis.com/projects/${projectGoogleProject.number}/locations/${default.location}/services/${default.name}"
  tag_value = gcp_tags_tagvalue.value.id
  location  = "us-central1"
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.tags.TagKey;
import com.pulumi.gcp.tags.TagKeyArgs;
import com.pulumi.gcp.tags.TagValue;
import com.pulumi.gcp.tags.TagValueArgs;
import com.pulumi.gcp.tags.LocationTagBinding;
import com.pulumi.gcp.tags.LocationTagBindingArgs;
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) {
        var project = new Project("project", ProjectArgs.builder()
            .projectId("project_id")
            .name("project_id")
            .orgId("123456789")
            .build());

        var key = new TagKey("key", TagKeyArgs.builder()
            .parent("organizations/123456789")
            .shortName("keyname")
            .description("For keyname resources.")
            .build());

        var value = new TagValue("value", TagValueArgs.builder()
            .parent(key.id())
            .shortName("valuename")
            .description("For valuename resources.")
            .build());

        var binding = new LocationTagBinding("binding", LocationTagBindingArgs.builder()
            .parent(String.format("//run.googleapis.com/projects/%s/locations/%s/services/%s", projectGoogleProject.get("number"),default_.get("location"),default_.get("name")))
            .tagValue(value.id())
            .location("us-central1")
            .build());

    }
}
resources:
  project:
    type: gcp:organizations:Project
    properties:
      projectId: project_id
      name: project_id
      orgId: '123456789'
  key:
    type: gcp:tags:TagKey
    properties:
      parent: organizations/123456789
      shortName: keyname
      description: For keyname resources.
  value:
    type: gcp:tags:TagValue
    properties:
      parent: ${key.id}
      shortName: valuename
      description: For valuename resources.
  binding:
    type: gcp:tags:LocationTagBinding
    properties:
      parent: //run.googleapis.com/projects/${projectGoogleProject.number}/locations/${default.location}/services/${default.name}
      tagValue: ${value.id}
      location: us-central1

Compute Instance

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const project = new gcp.organizations.Project("project", {
    projectId: "project_id",
    name: "project_id",
    orgId: "123456789",
});
const key = new gcp.tags.TagKey("key", {
    parent: "organizations/123456789",
    shortName: "keyname",
    description: "For keyname resources.",
});
const value = new gcp.tags.TagValue("value", {
    parent: key.id,
    shortName: "valuename",
    description: "For valuename resources.",
});
const binding = new gcp.tags.LocationTagBinding("binding", {
    parent: pulumi.interpolate`//compute.googleapis.com/projects/${project.number}/zones/us-central1-a/instances/${instance.instanceId}`,
    tagValue: value.id,
    location: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp

project = gcp.organizations.Project("project",
    project_id="project_id",
    name="project_id",
    org_id="123456789")
key = gcp.tags.TagKey("key",
    parent="organizations/123456789",
    short_name="keyname",
    description="For keyname resources.")
value = gcp.tags.TagValue("value",
    parent=key.id,
    short_name="valuename",
    description="For valuename resources.")
binding = gcp.tags.LocationTagBinding("binding",
    parent=project.number.apply(lambda number: f"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance['instanceId']}"),
    tag_value=value.id,
    location="us-central1-a")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var project = new Gcp.Organizations.Project("project", new()
    {
        ProjectId = "project_id",
        Name = "project_id",
        OrgId = "123456789",
    });

    var key = new Gcp.Tags.TagKey("key", new()
    {
        Parent = "organizations/123456789",
        ShortName = "keyname",
        Description = "For keyname resources.",
    });

    var @value = new Gcp.Tags.TagValue("value", new()
    {
        Parent = key.Id,
        ShortName = "valuename",
        Description = "For valuename resources.",
    });

    var binding = new Gcp.Tags.LocationTagBinding("binding", new()
    {
        Parent = project.Number.Apply(number => $"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance.InstanceId}"),
        TagValue = @value.Id,
        Location = "us-central1-a",
    });

});
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/tags"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.NewProject(ctx, "project", &organizations.ProjectArgs{
			ProjectId: pulumi.String("project_id"),
			Name:      pulumi.String("project_id"),
			OrgId:     pulumi.String("123456789"),
		})
		if err != nil {
			return err
		}
		key, err := tags.NewTagKey(ctx, "key", &tags.TagKeyArgs{
			Parent:      pulumi.String("organizations/123456789"),
			ShortName:   pulumi.String("keyname"),
			Description: pulumi.String("For keyname resources."),
		})
		if err != nil {
			return err
		}
		value, err := tags.NewTagValue(ctx, "value", &tags.TagValueArgs{
			Parent:      key.ID().ToIDOutput().ToStringOutput(),
			ShortName:   pulumi.String("valuename"),
			Description: pulumi.String("For valuename resources."),
		})
		if err != nil {
			return err
		}
		_, err = tags.NewLocationTagBinding(ctx, "binding", &tags.LocationTagBindingArgs{
			Parent: project.Number.ApplyT(func(number string) (string, error) {
				return fmt.Sprintf("//compute.googleapis.com/projects/%v/zones/us-central1-a/instances/%v", number, instance.InstanceId), nil
			}).(pulumi.StringOutput),
			TagValue: value.ID().ToIDOutput().ToStringOutput(),
			Location: pulumi.String("us-central1-a"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_organizations_project" "project" {
  project_id = "project_id"
  name       = "project_id"
  org_id     = "123456789"
}
resource "gcp_tags_tagkey" "key" {
  parent      = "organizations/123456789"
  short_name  = "keyname"
  description = "For keyname resources."
}
resource "gcp_tags_tagvalue" "value" {
  parent      = gcp_tags_tagkey.key.id
  short_name  = "valuename"
  description = "For valuename resources."
}
resource "gcp_tags_locationtagbinding" "binding" {
  parent    ="//compute.googleapis.com/projects/${gcp_organizations_project.project.number}/zones/us-central1-a/instances/${instance.instanceId}"
  tag_value = gcp_tags_tagvalue.value.id
  location  = "us-central1-a"
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.tags.TagKey;
import com.pulumi.gcp.tags.TagKeyArgs;
import com.pulumi.gcp.tags.TagValue;
import com.pulumi.gcp.tags.TagValueArgs;
import com.pulumi.gcp.tags.LocationTagBinding;
import com.pulumi.gcp.tags.LocationTagBindingArgs;
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) {
        var project = new Project("project", ProjectArgs.builder()
            .projectId("project_id")
            .name("project_id")
            .orgId("123456789")
            .build());

        var key = new TagKey("key", TagKeyArgs.builder()
            .parent("organizations/123456789")
            .shortName("keyname")
            .description("For keyname resources.")
            .build());

        var value = new TagValue("value", TagValueArgs.builder()
            .parent(key.id())
            .shortName("valuename")
            .description("For valuename resources.")
            .build());

        var binding = new LocationTagBinding("binding", LocationTagBindingArgs.builder()
            .parent(project.number().applyValue(_number -> String.format("//compute.googleapis.com/projects/%s/zones/us-central1-a/instances/%s", _number,instance.get("instanceId"))))
            .tagValue(value.id())
            .location("us-central1-a")
            .build());

    }
}
resources:
  project:
    type: gcp:organizations:Project
    properties:
      projectId: project_id
      name: project_id
      orgId: '123456789'
  key:
    type: gcp:tags:TagKey
    properties:
      parent: organizations/123456789
      shortName: keyname
      description: For keyname resources.
  value:
    type: gcp:tags:TagValue
    properties:
      parent: ${key.id}
      shortName: valuename
      description: For valuename resources.
  binding:
    type: gcp:tags:LocationTagBinding
    properties:
      parent: //compute.googleapis.com/projects/${project.number}/zones/us-central1-a/instances/${instance.instanceId}
      tagValue: ${value.id}
      location: us-central1-a

Compute Instance With Dynamic Tag Value

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const project = new gcp.organizations.Project("project", {
    projectId: "project_id",
    name: "project_id",
    orgId: "123456789",
});
const key = new gcp.tags.TagKey("key", {
    parent: "organizations/123456789",
    shortName: "keyname",
    description: "For keyname resources.",
    allowedValuesRegex: "^[a-z]+$",
});
const binding = new gcp.tags.LocationTagBinding("binding", {
    parent: pulumi.interpolate`//compute.googleapis.com/projects/${project.number}/zones/us-central1-a/instances/${instance.instanceId}`,
    tagValue: pulumi.interpolate`${key.namespacedName}/test-value`,
    location: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp

project = gcp.organizations.Project("project",
    project_id="project_id",
    name="project_id",
    org_id="123456789")
key = gcp.tags.TagKey("key",
    parent="organizations/123456789",
    short_name="keyname",
    description="For keyname resources.",
    allowed_values_regex="^[a-z]+$")
binding = gcp.tags.LocationTagBinding("binding",
    parent=project.number.apply(lambda number: f"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance['instanceId']}"),
    tag_value=key.namespaced_name.apply(lambda namespaced_name: f"{namespaced_name}/test-value"),
    location="us-central1-a")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var project = new Gcp.Organizations.Project("project", new()
    {
        ProjectId = "project_id",
        Name = "project_id",
        OrgId = "123456789",
    });

    var key = new Gcp.Tags.TagKey("key", new()
    {
        Parent = "organizations/123456789",
        ShortName = "keyname",
        Description = "For keyname resources.",
        AllowedValuesRegex = "^[a-z]+$",
    });

    var binding = new Gcp.Tags.LocationTagBinding("binding", new()
    {
        Parent = project.Number.Apply(number => $"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance.InstanceId}"),
        TagValue = key.NamespacedName.Apply(namespacedName => $"{namespacedName}/test-value"),
        Location = "us-central1-a",
    });

});
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/tags"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.NewProject(ctx, "project", &organizations.ProjectArgs{
			ProjectId: pulumi.String("project_id"),
			Name:      pulumi.String("project_id"),
			OrgId:     pulumi.String("123456789"),
		})
		if err != nil {
			return err
		}
		key, err := tags.NewTagKey(ctx, "key", &tags.TagKeyArgs{
			Parent:             pulumi.String("organizations/123456789"),
			ShortName:          pulumi.String("keyname"),
			Description:        pulumi.String("For keyname resources."),
			AllowedValuesRegex: pulumi.String("^[a-z]+$"),
		})
		if err != nil {
			return err
		}
		_, err = tags.NewLocationTagBinding(ctx, "binding", &tags.LocationTagBindingArgs{
			Parent: project.Number.ApplyT(func(number string) (string, error) {
				return fmt.Sprintf("//compute.googleapis.com/projects/%v/zones/us-central1-a/instances/%v", number, instance.InstanceId), nil
			}).(pulumi.StringOutput),
			TagValue: key.NamespacedName.ApplyT(func(namespacedName string) (string, error) {
				return fmt.Sprintf("%v/test-value", namespacedName), nil
			}).(pulumi.StringOutput),
			Location: pulumi.String("us-central1-a"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_organizations_project" "project" {
  project_id = "project_id"
  name       = "project_id"
  org_id     = "123456789"
}
resource "gcp_tags_tagkey" "key" {
  parent               = "organizations/123456789"
  short_name           = "keyname"
  description          = "For keyname resources."
  allowed_values_regex = "^[a-z]+$"
}
resource "gcp_tags_locationtagbinding" "binding" {
  parent    ="//compute.googleapis.com/projects/${gcp_organizations_project.project.number}/zones/us-central1-a/instances/${instance.instanceId}"
  tag_value ="${gcp_tags_tagkey.key.namespaced_name}/test-value"
  location  = "us-central1-a"
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.tags.TagKey;
import com.pulumi.gcp.tags.TagKeyArgs;
import com.pulumi.gcp.tags.LocationTagBinding;
import com.pulumi.gcp.tags.LocationTagBindingArgs;
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) {
        var project = new Project("project", ProjectArgs.builder()
            .projectId("project_id")
            .name("project_id")
            .orgId("123456789")
            .build());

        var key = new TagKey("key", TagKeyArgs.builder()
            .parent("organizations/123456789")
            .shortName("keyname")
            .description("For keyname resources.")
            .allowedValuesRegex("^[a-z]+$")
            .build());

        var binding = new LocationTagBinding("binding", LocationTagBindingArgs.builder()
            .parent(project.number().applyValue(_number -> String.format("//compute.googleapis.com/projects/%s/zones/us-central1-a/instances/%s", _number,instance.get("instanceId"))))
            .tagValue(key.namespacedName().applyValue(_namespacedName -> String.format("%s/test-value", _namespacedName)))
            .location("us-central1-a")
            .build());

    }
}
resources:
  project:
    type: gcp:organizations:Project
    properties:
      projectId: project_id
      name: project_id
      orgId: '123456789'
  key:
    type: gcp:tags:TagKey
    properties:
      parent: organizations/123456789
      shortName: keyname
      description: For keyname resources.
      allowedValuesRegex: ^[a-z]+$
  binding:
    type: gcp:tags:LocationTagBinding
    properties:
      parent: //compute.googleapis.com/projects/${project.number}/zones/us-central1-a/instances/${instance.instanceId}
      tagValue: ${key.namespacedName}/test-value
      location: us-central1-a

Import

LocationTagBinding can be imported using any of these accepted formats:

  • {{location}}/{{name}}

When using the pulumi import command, TagBinding can be imported using one of the formats above. For example:

$ pulumi import gcp:tags/locationTagBinding:LocationTagBinding default {{location}}/{{name}}

Constructors

LocationTagBinding(String name, {LocationTagBindingArgs? args, CustomResourceOptions? options})
Creates a new LocationTagBinding. name The Pulumi resource name. args Arguments used to configure this LocationTagBinding. The set of arguments for LocationTagBinding. options Resource options controlling this resource's behavior.
LocationTagBinding.reference(String urn)
Creates a typed reference to an existing LocationTagBinding resource.

Properties

childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
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
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
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
location ↔ Output<String?>
Location of the target resource.
latefinal
name ↔ Output<String>
The generated id for the TagBinding. This is a string of the form tagBindings/{full-resource-name}/{tag-value-name} or tagBindings/{full-resource-name}/{tag-key-name}
latefinal
parent ↔ Output<String>
The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tagValue ↔ Output<String>
The TagValue of the TagBinding. Must be either in id format tagValues/{tag-value-id}, or namespaced format {parent-id}/{tag-key-short-name}/{tag-value-short-name}.
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

Static Methods

get(String name, Input<String> id, {LocationTagBindingState? state, CustomResourceOptions? options}) → LocationTagBinding
Gets an existing LocationTagBinding resource's state with the given name and id.