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
- Managed
Zone stringId - Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- Target
Project string - The name of the Target Project
- Target
Vpc 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
- Managed
Zone stringId - Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- Target
Project string - The name of the Target Project
- Target
Vpc 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
- managed
Zone StringId - Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- target
Project String - The name of the Target Project
- target
Vpc 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
- managed
Zone stringId - Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- target
Project string - The name of the Target Project
- target
Vpc 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
- managed
Zone StringId - Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
- target
Project String - The name of the Target Project
- target
Vpc 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:
- Create
Time 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}
- Update
Time string - Updated time.
- Create
Time 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}
- Update
Time string - Updated time.
- create
Time 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}
- update
Time String - Updated time.
- create
Time 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}
- update
Time 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.
- create
Time 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}
- update
Time 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.