< Back

Add-GcdManagedZone

Mon Jan 13, 2020 10:56 pm

NAME Add-GcdManagedZone



SYNOPSIS

Add a new Google DNS ManagedZone to the Project.





SYNTAX

Add-GcdManagedZone [-Project <string>] [-Name] <string> [-DnsName] <string> [[-Description] <string>]

[<CommonParameters>]





DESCRIPTION

Creates a new ManagedZone.



If a Project is specified, it will instead add the new ManagedZone to that project.





PARAMETERS

-Project <string>

Get the Project to create a new ManagedZone in.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <string>

The name of the new ManagedZone to create.



The name must be 1-32 characters long, begin with a letter, end with a letter or digit, and only contain

lowercase letters, digits, and dashes.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DnsName <string>

The DNS name of the new ManagedZone.



The DnsName must be a valid absolute zone and end in a period. If it does not, the cmdlet will automatically

add a period before attempting zone creation.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <string>

Get the description of the new ManagedZone.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Google.Apis.Dns.v1.Data.ManagedZone





---------- EXAMPLE 1 ----------



PS C:\\> Add-GcdManagedZone -Project "testing" -Name "testzone1" `

-DnsName "gcloudexample.com." -Description "test description"



Create a new ManagedZone in the DNSProject "testing" with the name "test1," DNS name "gcloudexample.com.," and

description "test description."



RELATED LINKS

[Managing Zones] (https://cloud.google.com/dns/zones/)

[Troubleshooting] (https://cloud.google.com/dns/troubleshooting)