1. Packages
  2. Google Cloud Native
  3. API Docs
  4. connectors
  5. connectors/v1
  6. ManagedZone

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.connectors/v1.ManagedZone

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new ManagedZone in a given project and location. Auto-naming is currently not supported for this resource.

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,
                managed_zone_id: Optional[str] = None,
                target_project: Optional[str] = None,
                target_vpc: Optional[str] = None,
                description: Optional[str] = None,
                labels: Optional[Mapping[str, 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: google-native:connectors/v1:ManagedZone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagedZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ManagedZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 managedZoneResource = new GoogleNative.Connectors.V1.ManagedZone("managedZoneResource", new()
{
    Dns = "string",
    ManagedZoneId = "string",
    TargetProject = "string",
    TargetVpc = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
Copy
example, err := connectors.NewManagedZone(ctx, "managedZoneResource", &connectors.ManagedZoneArgs{
	Dns:           pulumi.String("string"),
	ManagedZoneId: pulumi.String("string"),
	TargetProject: pulumi.String("string"),
	TargetVpc:     pulumi.String("string"),
	Description:   pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
Copy
var managedZoneResource = new ManagedZone("managedZoneResource", ManagedZoneArgs.builder()
    .dns("string")
    .managedZoneId("string")
    .targetProject("string")
    .targetVpc("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
Copy
managed_zone_resource = google_native.connectors.v1.ManagedZone("managedZoneResource",
    dns="string",
    managed_zone_id="string",
    target_project="string",
    target_vpc="string",
    description="string",
    labels={
        "string": "string",
    },
    project="string")
Copy
const managedZoneResource = new google_native.connectors.v1.ManagedZone("managedZoneResource", {
    dns: "string",
    managedZoneId: "string",
    targetProject: "string",
    targetVpc: "string",
    description: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
Copy
type: google-native:connectors/v1:ManagedZone
properties:
    description: string
    dns: string
    labels:
        string: string
    managedZoneId: string
    project: string
    targetProject: string
    targetVpc: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ManagedZone resource accepts the following input properties:

Dns This property is required. string
DNS Name of the resource
ManagedZoneId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
TargetProject This property is required. string
The name of the Target Project
TargetVpc This property is required. string
The name of the Target Project VPC Network
Description string
Optional. Description of the resource.
Labels Dictionary<string, string>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Project Changes to this property will trigger replacement. string
Dns This property is required. string
DNS Name of the resource
ManagedZoneId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
TargetProject This property is required. string
The name of the Target Project
TargetVpc This property is required. string
The name of the Target Project VPC Network
Description string
Optional. Description of the resource.
Labels map[string]string
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Project Changes to this property will trigger replacement. string
dns This property is required. String
DNS Name of the resource
managedZoneId
This property is required.
Changes to this property will trigger replacement.
String
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
targetProject This property is required. String
The name of the Target Project
targetVpc This property is required. String
The name of the Target Project VPC Network
description String
Optional. Description of the resource.
labels Map<String,String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
project Changes to this property will trigger replacement. String
dns This property is required. string
DNS Name of the resource
managedZoneId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
targetProject This property is required. string
The name of the Target Project
targetVpc This property is required. string
The name of the Target Project VPC Network
description string
Optional. Description of the resource.
labels {[key: string]: string}
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
project Changes to this property will trigger replacement. string
dns This property is required. str
DNS Name of the resource
managed_zone_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
target_project This property is required. str
The name of the Target Project
target_vpc This property is required. str
The name of the Target Project VPC Network
description str
Optional. Description of the resource.
labels Mapping[str, str]
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
project Changes to this property will trigger replacement. str
dns This property is required. String
DNS Name of the resource
managedZoneId
This property is required.
Changes to this property will trigger replacement.
String
Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
targetProject This property is required. String
The name of the Target Project
targetVpc This property is required. String
The name of the Target Project VPC Network
description String
Optional. Description of the resource.
labels Map<String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagedZone resource produces the following output properties:

CreateTime string
Created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
UpdateTime string
Updated time.
CreateTime string
Created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
UpdateTime string
Updated time.
createTime String
Created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
updateTime String
Updated time.
createTime string
Created time.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
updateTime string
Updated time.
create_time str
Created time.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
update_time str
Updated time.
createTime String
Created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
updateTime String
Updated time.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi