en-US/API.GoDaddy/API.GoDaddy-Help.xml
|
<?xml version="1.0" encoding="utf-8"?> <helpItems xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" schema="maml" xmlns="http://msh"> <command:command> <command:details> <command:name>Test-GoDaddyDomainPurchase</command:name> <maml:description> <maml:para>Validates a domain purchase request body against the TLD's purchase schema.</maml:para> </maml:description> <command:verb>Test</command:verb> <command:noun>GoDaddyDomainPurchase</command:noun> </command:details> <maml:description> <maml:para>Submits a domain purchase request to the validation endpoint without completing the purchase. Use this to verify that a DomainPurchase payload is valid before committing.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Test-GoDaddyDomainPurchase</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>Prompts you for confirmation before running the cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>PurchaseDetails</maml:name> <maml:description> <maml:para>A hashtable or PSCustomObject matching the DomainPurchase schema for the TLD. Must include at minimum: domain, consent, and period.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.Object</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>Session</maml:name> <maml:description> <maml:para>{{ Fill Session Description }}</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Collections.Hashtable</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>Runs the command in a mode that only reports what would happen without performing the actions.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>Prompts you for confirmation before running the cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>PurchaseDetails</maml:name> <maml:description> <maml:para>A hashtable or PSCustomObject matching the DomainPurchase schema for the TLD. Must include at minimum: domain, consent, and period.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.Object</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>Session</maml:name> <maml:description> <maml:para>{{ Fill Session Description }}</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Collections.Hashtable</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>Runs the command in a mode that only reports what would happen without performing the actions.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>A successful call returns no output (HTTP 200). Any schema violations are returned as a terminating error.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- EXAMPLE 1 ---------</maml:title> <maml:introduction> <maml:para>$details = @{ domain = 'example.com'; period = 1; consent = @{ agreementKeys = @('DNRA') } } Test-GoDaddyDomainPurchase -PurchaseDetails $details Validates the purchase details without registering the domain.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems>Input="false" position="3" aliases="none"> <maml:name>Session</maml:name> <maml:description> <maml:para>{{ Fill Session Description }}</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Collections.Hashtable</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>Runs the command in a mode that only reports what would happen without performing the actions.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>A successful validation returns no output (HTTP 204). Schema violations are returned as terminating errors.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- EXAMPLE 1 ---------</maml:title> <maml:introduction> <maml:para>$body = @{ domains = @('example.com') contacts = @{ registrant = @{ firstName = 'Jane'; lastName = 'Doe'; email = 'jane@example.com' } } } Test-GoDaddyDomainContact -ContactDetails $body Validates the registrant contact against example.com.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems>oduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems>-ForwardingDetails $details</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems>d:relatedLinks> </command:command> </helpItems>Value> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Domain</maml:name> <maml:description> <maml:para>The domain whose DNS records are to be replaced.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Records</maml:name> <maml:description> <maml:para>An array of DNS record objects to replace the existing records with. Each object requires at minimum: data, name, ttl, and type (omit type/name when targeting a specific Type or Type+Name scope).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.Object[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Session</maml:name> <maml:description> <maml:para>{{ Fill Session Description }}</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Collections.Hashtable</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>ShopperId</maml:name> <maml:description> <maml:para>Shopper ID that owns the domain (reseller use).</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Limit replacement to records of this DNS type (A, AAAA, CNAME, MX, NS, SOA, SRV, TXT). When combined with -Name, only records matching both type and name are replaced.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>Runs the command in a mode that only reports what would happen without performing the actions.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>Prompts you for confirmation before running the cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Domain</maml:name> <maml:description> <maml:para>The domain whose DNS records are to be replaced.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>Limit replacement to records with this name (e.g. '@', 'www'). Must be combined with -Type.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Records</maml:name> <maml:description> <maml:para>An array of DNS record objects to replace the existing records with. Each object requires at minimum: data, name, ttl, and type (omit type/name when targeting a specific Type or Type+Name scope).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.Object[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Session</maml:name> <maml:description> <maml:para>{{ Fill Session Description }}</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Collections.Hashtable</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>ShopperId</maml:name> <maml:description> <maml:para>Shopper ID that owns the domain (reseller use).</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Limit replacement to records of this DNS type (A, AAAA, CNAME, MX, NS, SOA, SRV, TXT). When combined with -Name, only records matching both type and name are replaced.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>Runs the command in a mode that only reports what would happen without performing the actions.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para>Use -WhatIf to preview changes without applying them.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- EXAMPLE 1 ---------</maml:title> <maml:introduction> <maml:para>$records = @( @{ data = '5.6.7.8'; name = '@'; ttl = 600; type = 'A' } ) Set-GoDaddyDnsRecord -Domain 'example.com' -Records $records Replaces ALL DNS records on example.com.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- EXAMPLE 2 ---------</maml:title> <maml:introduction> <maml:para>$records = @( @{ data = '5.6.7.8'; name = '@'; ttl = 600 } ) Set-GoDaddyDnsRecord -Domain 'example.com' -Type 'A' -Records $records Replaces only A records on example.com.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- EXAMPLE 3 ---------</maml:title> <maml:introduction> <maml:para>$records = @( @{ data = '5.6.7.8'; ttl = 600 } ) Set-GoDaddyDnsRecord -Domain 'example.com' -Type 'A' -Name '@' -Records $records Replaces the root A record on example.com.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |