gcp.integrationconnectors.ManagedZone
Explore with Pulumi AI
An Integration connectors Managed Zone.
To get more information about ManagedZone, see:
- API documentation
- How-to Guides
Example Usage
Integration Connectors Managed Zone
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const targetProject = new gcp.organizations.Project("target_project", {
projectId: "tf-test_34535",
name: "tf-test_22375",
orgId: "123456789",
billingAccount: "000000-0000000-0000000-000000",
});
const testProject = gcp.organizations.getProject({});
const dnsPeerBinding = new gcp.projects.IAMMember("dns_peer_binding", {
project: targetProject.projectId,
role: "roles/dns.peer",
member: testProject.then(testProject => `serviceAccount:service-${testProject.number}@gcp-sa-connectors.iam.gserviceaccount.com`),
});
const dns = new gcp.projects.Service("dns", {
project: targetProject.projectId,
service: "dns.googleapis.com",
});
const compute = new gcp.projects.Service("compute", {
project: targetProject.projectId,
service: "compute.googleapis.com",
});
const network = new gcp.compute.Network("network", {
project: targetProject.projectId,
name: "test",
autoCreateSubnetworks: false,
}, {
dependsOn: [compute],
});
const zone = new gcp.dns.ManagedZone("zone", {
name: "tf-test-dns_29439",
dnsName: "private_87786.example.com.",
visibility: "private",
privateVisibilityConfig: {
networks: [{
networkUrl: network.id,
}],
},
}, {
dependsOn: [dns],
});
const testmanagedzone = new gcp.integrationconnectors.ManagedZone("testmanagedzone", {
name: "test",
description: "tf created description",
labels: {
intent: "example",
},
targetProject: targetProject.projectId,
targetVpc: "test",
dns: zone.dnsName,
}, {
dependsOn: [
dnsPeerBinding,
zone,
],
});
import pulumi
import pulumi_gcp as gcp
target_project = gcp.organizations.Project("target_project",
project_id="tf-test_34535",
name="tf-test_22375",
org_id="123456789",
billing_account="000000-0000000-0000000-000000")
test_project = gcp.organizations.get_project()
dns_peer_binding = gcp.projects.IAMMember("dns_peer_binding",
project=target_project.project_id,
role="roles/dns.peer",
member=f"serviceAccount:service-{test_project.number}@gcp-sa-connectors.iam.gserviceaccount.com")
dns = gcp.projects.Service("dns",
project=target_project.project_id,
service="dns.googleapis.com")
compute = gcp.projects.Service("compute",
project=target_project.project_id,
service="compute.googleapis.com")
network = gcp.compute.Network("network",
project=target_project.project_id,
name="test",
auto_create_subnetworks=False,
opts = pulumi.ResourceOptions(depends_on=[compute]))
zone = gcp.dns.ManagedZone("zone",
name="tf-test-dns_29439",
dns_name="private_87786.example.com.",
visibility="private",
private_visibility_config=gcp.dns.ManagedZonePrivateVisibilityConfigArgs(
networks=[gcp.dns.ManagedZonePrivateVisibilityConfigNetworkArgs(
network_url=network.id,
)],
),
opts = pulumi.ResourceOptions(depends_on=[dns]))
testmanagedzone = gcp.integrationconnectors.ManagedZone("testmanagedzone",
name="test",
description="tf created description",
labels={
"intent": "example",
},
target_project=target_project.project_id,
target_vpc="test",
dns=zone.dns_name,
opts = pulumi.ResourceOptions(depends_on=[
dns_peer_binding,
zone,
]))
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/dns"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/integrationconnectors"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
targetProject, err := organizations.NewProject(ctx, "target_project", &organizations.ProjectArgs{
ProjectId: pulumi.String("tf-test_34535"),
Name: pulumi.String("tf-test_22375"),
OrgId: pulumi.String("123456789"),
BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
})
if err != nil {
return err
}
testProject, err := organizations.LookupProject(ctx, nil, nil)
if err != nil {
return err
}
dnsPeerBinding, err := projects.NewIAMMember(ctx, "dns_peer_binding", &projects.IAMMemberArgs{
Project: targetProject.ProjectId,
Role: pulumi.String("roles/dns.peer"),
Member: pulumi.String(fmt.Sprintf("serviceAccount:service-%v@gcp-sa-connectors.iam.gserviceaccount.com", testProject.Number)),
})
if err != nil {
return err
}
dns, err := projects.NewService(ctx, "dns", &projects.ServiceArgs{
Project: targetProject.ProjectId,
Service: pulumi.String("dns.googleapis.com"),
})
if err != nil {
return err
}
compute, err := projects.NewService(ctx, "compute", &projects.ServiceArgs{
Project: targetProject.ProjectId,
Service: pulumi.String("compute.googleapis.com"),
})
if err != nil {
return err
}
network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
Project: targetProject.ProjectId,
Name: pulumi.String("test"),
AutoCreateSubnetworks: pulumi.Bool(false),
}, pulumi.DependsOn([]pulumi.Resource{
compute,
}))
if err != nil {
return err
}
zone, err := dns.NewManagedZone(ctx, "zone", &dns.ManagedZoneArgs{
Name: pulumi.String("tf-test-dns_29439"),
DnsName: pulumi.String("private_87786.example.com."),
Visibility: pulumi.String("private"),
PrivateVisibilityConfig: &dns.ManagedZonePrivateVisibilityConfigArgs{
Networks: dns.ManagedZonePrivateVisibilityConfigNetworkArray{
&dns.ManagedZonePrivateVisibilityConfigNetworkArgs{
NetworkUrl: network.ID(),
},
},
},
}, pulumi.DependsOn([]pulumi.Resource{
dns,
}))
if err != nil {
return err
}
_, err = integrationconnectors.NewManagedZone(ctx, "testmanagedzone", &integrationconnectors.ManagedZoneArgs{
Name: pulumi.String("test"),
Description: pulumi.String("tf created description"),
Labels: pulumi.StringMap{
"intent": pulumi.String("example"),
},
TargetProject: targetProject.ProjectId,
TargetVpc: pulumi.String("test"),
Dns: zone.DnsName,
}, pulumi.DependsOn([]pulumi.Resource{
dnsPeerBinding,
zone,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var targetProject = new Gcp.Organizations.Project("target_project", new()
{
ProjectId = "tf-test_34535",
Name = "tf-test_22375",
OrgId = "123456789",
BillingAccount = "000000-0000000-0000000-000000",
});
var testProject = Gcp.Organizations.GetProject.Invoke();
var dnsPeerBinding = new Gcp.Projects.IAMMember("dns_peer_binding", new()
{
Project = targetProject.ProjectId,
Role = "roles/dns.peer",
Member = $"serviceAccount:service-{testProject.Apply(getProjectResult => getProjectResult.Number)}@gcp-sa-connectors.iam.gserviceaccount.com",
});
var dns = new Gcp.Projects.Service("dns", new()
{
Project = targetProject.ProjectId,
ServiceName = "dns.googleapis.com",
});
var compute = new Gcp.Projects.Service("compute", new()
{
Project = targetProject.ProjectId,
ServiceName = "compute.googleapis.com",
});
var network = new Gcp.Compute.Network("network", new()
{
Project = targetProject.ProjectId,
Name = "test",
AutoCreateSubnetworks = false,
}, new CustomResourceOptions
{
DependsOn =
{
compute,
},
});
var zone = new Gcp.Dns.ManagedZone("zone", new()
{
Name = "tf-test-dns_29439",
DnsName = "private_87786.example.com.",
Visibility = "private",
PrivateVisibilityConfig = new Gcp.Dns.Inputs.ManagedZonePrivateVisibilityConfigArgs
{
Networks = new[]
{
new Gcp.Dns.Inputs.ManagedZonePrivateVisibilityConfigNetworkArgs
{
NetworkUrl = network.Id,
},
},
},
}, new CustomResourceOptions
{
DependsOn =
{
dns,
},
});
var testmanagedzone = new Gcp.IntegrationConnectors.ManagedZone("testmanagedzone", new()
{
Name = "test",
Description = "tf created description",
Labels =
{
{ "intent", "example" },
},
TargetProject = targetProject.ProjectId,
TargetVpc = "test",
Dns = zone.DnsName,
}, new CustomResourceOptions
{
DependsOn =
{
dnsPeerBinding,
zone,
},
});
});
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.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.projects.IAMMember;
import com.pulumi.gcp.projects.IAMMemberArgs;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.dns.ManagedZone;
import com.pulumi.gcp.dns.ManagedZoneArgs;
import com.pulumi.gcp.dns.inputs.ManagedZonePrivateVisibilityConfigArgs;
import com.pulumi.gcp.integrationconnectors.ManagedZone;
import com.pulumi.gcp.integrationconnectors.ManagedZoneArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
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 targetProject = new Project("targetProject", ProjectArgs.builder()
.projectId("tf-test_34535")
.name("tf-test_22375")
.orgId("123456789")
.billingAccount("000000-0000000-0000000-000000")
.build());
final var testProject = OrganizationsFunctions.getProject();
var dnsPeerBinding = new IAMMember("dnsPeerBinding", IAMMemberArgs.builder()
.project(targetProject.projectId())
.role("roles/dns.peer")
.member(String.format("serviceAccount:service-%s@gcp-sa-connectors.iam.gserviceaccount.com", testProject.applyValue(getProjectResult -> getProjectResult.number())))
.build());
var dns = new Service("dns", ServiceArgs.builder()
.project(targetProject.projectId())
.service("dns.googleapis.com")
.build());
var compute = new Service("compute", ServiceArgs.builder()
.project(targetProject.projectId())
.service("compute.googleapis.com")
.build());
var network = new Network("network", NetworkArgs.builder()
.project(targetProject.projectId())
.name("test")
.autoCreateSubnetworks(false)
.build(), CustomResourceOptions.builder()
.dependsOn(compute)
.build());
var zone = new ManagedZone("zone", ManagedZoneArgs.builder()
.name("tf-test-dns_29439")
.dnsName("private_87786.example.com.")
.visibility("private")
.privateVisibilityConfig(ManagedZonePrivateVisibilityConfigArgs.builder()
.networks(ManagedZonePrivateVisibilityConfigNetworkArgs.builder()
.networkUrl(network.id())
.build())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(dns)
.build());
var testmanagedzone = new ManagedZone("testmanagedzone", ManagedZoneArgs.builder()
.name("test")
.description("tf created description")
.labels(Map.of("intent", "example"))
.targetProject(targetProject.projectId())
.targetVpc("test")
.dns(zone.dnsName())
.build(), CustomResourceOptions.builder()
.dependsOn(
dnsPeerBinding,
zone)
.build());
}
}
resources:
targetProject:
type: gcp:organizations:Project
name: target_project
properties:
projectId: tf-test_34535
name: tf-test_22375
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
dnsPeerBinding:
type: gcp:projects:IAMMember
name: dns_peer_binding
properties:
project: ${targetProject.projectId}
role: roles/dns.peer
member: serviceAccount:service-${testProject.number}@gcp-sa-connectors.iam.gserviceaccount.com
dns:
type: gcp:projects:Service
properties:
project: ${targetProject.projectId}
service: dns.googleapis.com
compute:
type: gcp:projects:Service
properties:
project: ${targetProject.projectId}
service: compute.googleapis.com
network:
type: gcp:compute:Network
properties:
project: ${targetProject.projectId}
name: test
autoCreateSubnetworks: false
options:
dependson:
- ${compute}
zone:
type: gcp:dns:ManagedZone
properties:
name: tf-test-dns_29439
dnsName: private_87786.example.com.
visibility: private
privateVisibilityConfig:
networks:
- networkUrl: ${network.id}
options:
dependson:
- ${dns}
testmanagedzone:
type: gcp:integrationconnectors:ManagedZone
properties:
name: test
description: tf created description
labels:
intent: example
targetProject: ${targetProject.projectId}
targetVpc: test
dns: ${zone.dnsName}
options:
dependson:
- ${dnsPeerBinding}
- ${zone}
variables:
testProject:
fn::invoke:
Function: gcp:organizations:getProject
Arguments: {}
Create ManagedZone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedZone(name: string, args: ManagedZoneArgs, opts?: CustomResourceOptions);
@overload
def ManagedZone(resource_name: str,
args: ManagedZoneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedZone(resource_name: str,
opts: Optional[ResourceOptions] = None,
dns: Optional[str] = None,
target_project: Optional[str] = None,
target_vpc: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewManagedZone(ctx *Context, name string, args ManagedZoneArgs, opts ...ResourceOption) (*ManagedZone, error)
public ManagedZone(string name, ManagedZoneArgs args, CustomResourceOptions? opts = null)
public ManagedZone(String name, ManagedZoneArgs args)
public ManagedZone(String name, ManagedZoneArgs args, CustomResourceOptions options)
type: gcp:integrationconnectors:ManagedZone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagedZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagedZoneArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagedZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedZoneArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gcpManagedZoneResource = new Gcp.IntegrationConnectors.ManagedZone("gcpManagedZoneResource", new()
{
Dns = "string",
TargetProject = "string",
TargetVpc = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
Project = "string",
});
example, err := integrationconnectors.NewManagedZone(ctx, "gcpManagedZoneResource", &integrationconnectors.ManagedZoneArgs{
Dns: pulumi.String("string"),
TargetProject: pulumi.String("string"),
TargetVpc: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var gcpManagedZoneResource = new ManagedZone("gcpManagedZoneResource", ManagedZoneArgs.builder()
.dns("string")
.targetProject("string")
.targetVpc("string")
.description("string")
.labels(Map.of("string", "string"))
.name("string")
.project("string")
.build());
gcp_managed_zone_resource = gcp.integrationconnectors.ManagedZone("gcpManagedZoneResource",
dns="string",
target_project="string",
target_vpc="string",
description="string",
labels={
"string": "string",
},
name="string",
project="string")
const gcpManagedZoneResource = new gcp.integrationconnectors.ManagedZone("gcpManagedZoneResource", {
dns: "string",
targetProject: "string",
targetVpc: "string",
description: "string",
labels: {
string: "string",
},
name: "string",
project: "string",
});
type: gcp:integrationconnectors:ManagedZone
properties:
description: string
dns: string
labels:
string: string
name: string
project: string
targetProject: string
targetVpc: string
ManagedZone Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManagedZone resource accepts the following input properties:
- Dns string
- DNS Name of the resource.
- Target
Project string - The name of the Target Project.
- Target
Vpc string - The name of the Target Project VPC Network.
- Description string
- Description of the resource.
- Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
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.- Name string
- Name of Managed Zone needs to be created.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Dns string
- DNS Name of the resource.
- Target
Project string - The name of the Target Project.
- Target
Vpc string - The name of the Target Project VPC Network.
- Description string
- Description of the resource.
- Labels map[string]string
Resource labels to represent user provided metadata.
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.- Name string
- Name of Managed Zone needs to be created.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- dns String
- DNS Name of the resource.
- target
Project String - The name of the Target Project.
- target
Vpc String - The name of the Target Project VPC Network.
- description String
- Description of the resource.
- labels Map<String,String>
Resource labels to represent user provided metadata.
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.- name String
- Name of Managed Zone needs to be created.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- dns string
- DNS Name of the resource.
- target
Project string - The name of the Target Project.
- target
Vpc string - The name of the Target Project VPC Network.
- description string
- Description of the resource.
- labels {[key: string]: string}
Resource labels to represent user provided metadata.
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.- name string
- Name of Managed Zone needs to be created.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- dns str
- DNS Name of the resource.
- target_
project str - The name of the Target Project.
- target_
vpc str - The name of the Target Project VPC Network.
- description str
- Description of the resource.
- labels Mapping[str, str]
Resource labels to represent user provided metadata.
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.- name str
- Name of Managed Zone needs to be created.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- dns String
- DNS Name of the resource.
- target
Project String - The name of the Target Project.
- target
Vpc String - The name of the Target Project VPC Network.
- description String
- Description of the resource.
- labels Map<String>
Resource labels to represent user provided metadata.
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.- name String
- Name of Managed Zone needs to be created.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedZone resource produces the following output properties:
- Create
Time string - Time the Namespace was created in UTC.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Update
Time string - Time the Namespace was updated in UTC.
- Create
Time string - Time the Namespace was created in UTC.
- Effective
Labels 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Update
Time string - Time the Namespace was updated in UTC.
- create
Time String - Time the Namespace was created in UTC.
- effective
Labels 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.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time String - Time the Namespace was updated in UTC.
- create
Time string - Time the Namespace was created in UTC.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time string - Time the Namespace was updated in UTC.
- create_
time str - Time the Namespace was created in UTC.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- update_
time str - Time the Namespace was updated in UTC.
- create
Time String - Time the Namespace was created in UTC.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- update
Time String - Time the Namespace was updated in UTC.
Look up Existing ManagedZone Resource
Get an existing ManagedZone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagedZoneState, opts?: CustomResourceOptions): ManagedZone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
dns: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
target_project: Optional[str] = None,
target_vpc: Optional[str] = None,
update_time: Optional[str] = None) -> ManagedZone
func GetManagedZone(ctx *Context, name string, id IDInput, state *ManagedZoneState, opts ...ResourceOption) (*ManagedZone, error)
public static ManagedZone Get(string name, Input<string> id, ManagedZoneState? state, CustomResourceOptions? opts = null)
public static ManagedZone get(String name, Output<String> id, ManagedZoneState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - Time the Namespace was created in UTC.
- Description string
- Description of the resource.
- Dns string
- DNS Name of the resource.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
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.- Name string
- Name of Managed Zone needs to be created.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Target
Project string - The name of the Target Project.
- Target
Vpc string - The name of the Target Project VPC Network.
- Update
Time string - Time the Namespace was updated in UTC.
- Create
Time string - Time the Namespace was created in UTC.
- Description string
- Description of the resource.
- Dns string
- DNS Name of the resource.
- Effective
Labels 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.
- Labels map[string]string
Resource labels to represent user provided metadata.
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.- Name string
- Name of Managed Zone needs to be created.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Target
Project string - The name of the Target Project.
- Target
Vpc string - The name of the Target Project VPC Network.
- Update
Time string - Time the Namespace was updated in UTC.
- create
Time String - Time the Namespace was created in UTC.
- description String
- Description of the resource.
- dns String
- DNS Name of the resource.
- effective
Labels 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.
- labels Map<String,String>
Resource labels to represent user provided metadata.
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.- name String
- Name of Managed Zone needs to be created.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- target
Project String - The name of the Target Project.
- target
Vpc String - The name of the Target Project VPC Network.
- update
Time String - Time the Namespace was updated in UTC.
- create
Time string - Time the Namespace was created in UTC.
- description string
- Description of the resource.
- dns string
- DNS Name of the resource.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels {[key: string]: string}
Resource labels to represent user provided metadata.
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.- name string
- Name of Managed Zone needs to be created.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- target
Project string - The name of the Target Project.
- target
Vpc string - The name of the Target Project VPC Network.
- update
Time string - Time the Namespace was updated in UTC.
- create_
time str - Time the Namespace was created in UTC.
- description str
- Description of the resource.
- dns str
- DNS Name of the resource.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Mapping[str, str]
Resource labels to represent user provided metadata.
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.- name str
- Name of Managed Zone needs to be created.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- target_
project str - The name of the Target Project.
- target_
vpc str - The name of the Target Project VPC Network.
- update_
time str - Time the Namespace was updated in UTC.
- create
Time String - Time the Namespace was created in UTC.
- description String
- Description of the resource.
- dns String
- DNS Name of the resource.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String>
Resource labels to represent user provided metadata.
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.- name String
- Name of Managed Zone needs to be created.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- target
Project String - The name of the Target Project.
- target
Vpc String - The name of the Target Project VPC Network.
- update
Time String - Time the Namespace was updated in UTC.
Import
ManagedZone can be imported using any of these accepted formats:
projects/{{project}}/locations/global/managedZones/{{name}}
{{project}}/{{name}}
{{name}}
When using the pulumi import
command, ManagedZone can be imported using one of the formats above. For example:
$ pulumi import gcp:integrationconnectors/managedZone:ManagedZone default projects/{{project}}/locations/global/managedZones/{{name}}
$ pulumi import gcp:integrationconnectors/managedZone:ManagedZone default {{project}}/{{name}}
$ pulumi import gcp:integrationconnectors/managedZone:ManagedZone default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.