PeeredDnsDomain

class PeeredDnsDomain : KotlinCustomResource

Allows management of a single peered DNS domain for an existing Google Cloud Platform project. When using Google Cloud DNS to manage internal DNS, create peered DNS domains to make your DNS available to services like Google Cloud Build.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.servicenetworking.PeeredDnsDomain;
import com.pulumi.gcp.servicenetworking.PeeredDnsDomainArgs;
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 name = new PeeredDnsDomain("name", PeeredDnsDomainArgs.builder()
.dnsSuffix("example.com.")
.network("default")
.project(10000000)
.service("peering-service")
.build());
}
}

Import

Project peered DNS domains can be imported using the service, project, network and name, e.g.

$ pulumi import gcp:servicenetworking/peeredDnsDomain:PeeredDnsDomain my_domain services/{service}/projects/{project}/global/networks/{network}/peeredDnsDomains/{name}

Where- service is the service connection, defaults to servicenetworking.googleapis.com. - project is the producer project name. - network is the consumer network name. - name is the name of your peered DNS domain.

Properties

Link copied to clipboard
val dnsSuffix: Output<String>

The DNS domain suffix of the peered DNS domain. Make sure to suffix with a . (dot).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Internal name used for the peered DNS domain.

Link copied to clipboard
val network: Output<String>

The network in the consumer project.

Link copied to clipboard
val parent: Output<String>

an identifier for the resource with format services/{{service}}/projects/{{project}}/global/networks/{{network}}

Link copied to clipboard
val project: Output<String>

The producer project number. If not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val service: Output<String>?

Private service connection between service and consumer network, defaults to servicenetworking.googleapis.com

Link copied to clipboard
val urn: Output<String>