Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.connectors/v1.ManagedZone
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 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 managedZoneResource = new GoogleNative.Connectors.V1.ManagedZone("managedZoneResource", new()
{
    Dns = "string",
    ManagedZoneId = "string",
    TargetProject = "string",
    TargetVpc = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
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"),
})
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());
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")
const managedZoneResource = new google_native.connectors.v1.ManagedZone("managedZoneResource", {
    dns: "string",
    managedZoneId: "string",
    targetProject: "string",
    targetVpc: "string",
    description: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
type: google-native:connectors/v1:ManagedZone
properties:
    description: string
    dns: string
    labels:
        string: string
    managedZoneId: 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
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 string
- DNS Name of the resource
- ManagedZone stringId 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- TargetProject string
- The name of the Target Project
- TargetVpc 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 string
- Dns string
- DNS Name of the resource
- ManagedZone stringId 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- TargetProject string
- The name of the Target Project
- TargetVpc 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 string
- dns String
- DNS Name of the resource
- managedZone StringId 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- targetProject String
- The name of the Target Project
- targetVpc 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 String
- dns string
- DNS Name of the resource
- managedZone stringId 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- targetProject string
- The name of the Target Project
- targetVpc 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 string
- dns str
- DNS Name of the resource
- managed_zone_ strid 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- target_project str
- The name of the Target Project
- target_vpc 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 str
- dns String
- DNS Name of the resource
- managedZone StringId 
- Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- targetProject String
- The name of the Target Project
- targetVpc 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 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.