exports/latest-2019-04-30/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets a record set. .Description Gets a record set. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnsrecordset .Inputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDnsIdentity>: Identity Parameter [Id <String>]: Resource identity path [RecordType <RecordType?>]: The type of DNS record in this record set. [RelativeRecordSetName <String>]: The name of the record set, relative to the name of the zone. [ResourceGroupName <String>]: The name of the resource group. [SubscriptionId <String>]: Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. [ZoneName <String>]: The name of the DNS zone (without a terminating dot). .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnsrecordset #> function Get-AzDnsRecordSet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet])] [CmdletBinding(DefaultParameterSetName='List3', PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(ParameterSetName='Get1', Mandatory)] [Alias('RelativeRecordSetName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the record set, relative to the name of the zone. ${Name}, [Parameter(ParameterSetName='Get1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.RecordType])] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.RecordType] # The type of DNS record in this record set. ${RecordType}, [Parameter(ParameterSetName='Get1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Parameter(ParameterSetName='List4', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Get1')] [Parameter(ParameterSetName='List2')] [Parameter(ParameterSetName='List3')] [Parameter(ParameterSetName='List4')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='Get1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Parameter(ParameterSetName='List4', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${ZoneName}, [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List2')] [Parameter(ParameterSetName='List3')] [Parameter(ParameterSetName='List4')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Query')] [System.String] # The suffix label of the record set name that has to be used to filter the record set enumerations. # If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> ${NameSuffix}, [Parameter(ParameterSetName='List2')] [Parameter(ParameterSetName='List3')] [Parameter(ParameterSetName='List4')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Query')] [System.Int32] # The maximum number of record sets to return. # If not specified, returns up to 100 record sets. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get1 = 'Az.Dns.private\Get-AzDnsRecordSet_Get1'; GetViaIdentity1 = 'Az.Dns.private\Get-AzDnsRecordSet_GetViaIdentity1'; List2 = 'Az.Dns.private\Get-AzDnsRecordSet_List2'; List3 = 'Az.Dns.private\Get-AzDnsRecordSet_List3'; List4 = 'Az.Dns.private\Get-AzDnsRecordSet_List4'; } if (('Get1', 'List2', 'List3', 'List4') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. .Description Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnszone .Inputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDnsIdentity>: Identity Parameter [Id <String>]: Resource identity path [RecordType <RecordType?>]: The type of DNS record in this record set. [RelativeRecordSetName <String>]: The name of the record set, relative to the name of the zone. [ResourceGroupName <String>]: The name of the resource group. [SubscriptionId <String>]: Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. [ZoneName <String>]: The name of the DNS zone (without a terminating dot). .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnszone #> function Get-AzDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone])] [CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(ParameterSetName='Get1', Mandatory)] [Alias('ZoneName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${Name}, [Parameter(ParameterSetName='Get1', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Get1')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Query')] [System.Int32] # The maximum number of record sets to return. # If not specified, returns up to 100 record sets. ${Top}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get1 = 'Az.Dns.private\Get-AzDnsZone_Get1'; GetViaIdentity1 = 'Az.Dns.private\Get-AzDnsZone_GetViaIdentity1'; List = 'Az.Dns.private\Get-AzDnsZone_List'; List1 = 'Az.Dns.private\Get-AzDnsZone_List1'; } if (('Get1', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Deletes a record set from a DNS zone. This operation cannot be undone. .Description Deletes a record set from a DNS zone. This operation cannot be undone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/remove-azdnsrecordset .Inputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDnsIdentity>: Identity Parameter [Id <String>]: Resource identity path [RecordType <RecordType?>]: The type of DNS record in this record set. [RelativeRecordSetName <String>]: The name of the record set, relative to the name of the zone. [ResourceGroupName <String>]: The name of the resource group. [SubscriptionId <String>]: Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. [ZoneName <String>]: The name of the DNS zone (without a terminating dot). .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/remove-azdnsrecordset #> function Remove-AzDnsRecordSet { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(ParameterSetName='Delete1', Mandatory)] [Alias('RelativeRecordSetName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the record set, relative to the name of the zone. ${Name}, [Parameter(ParameterSetName='Delete1', Mandatory)] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.RecordType])] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.RecordType] # The type of DNS record in this record set. # Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). ${RecordType}, [Parameter(ParameterSetName='Delete1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete1')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='Delete1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${ZoneName}, [Parameter(ParameterSetName='DeleteViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')] [System.String] # The etag of the record set. # Omit this value to always delete the current record set. # Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. ${IfMatch}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete1 = 'Az.Dns.private\Remove-AzDnsRecordSet_Delete1'; DeleteViaIdentity1 = 'Az.Dns.private\Remove-AzDnsRecordSet_DeleteViaIdentity1'; } if (('Delete1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. .Description Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/remove-azdnszone .Inputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IDnsIdentity>: Identity Parameter [Id <String>]: Resource identity path [RecordType <RecordType?>]: The type of DNS record in this record set. [RelativeRecordSetName <String>]: The name of the record set, relative to the name of the zone. [ResourceGroupName <String>]: The name of the resource group. [SubscriptionId <String>]: Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. [ZoneName <String>]: The name of the DNS zone (without a terminating dot). .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/remove-azdnszone #> function Remove-AzDnsZone { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(ParameterSetName='Delete1', Mandatory)] [Alias('ZoneName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${Name}, [Parameter(ParameterSetName='Delete1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete1')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')] [System.String] # The etag of the DNS zone. # Omit this value to always delete the current zone. # Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. ${IfMatch}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete1 = 'Az.Dns.private\Remove-AzDnsZone_Delete1'; DeleteViaIdentity1 = 'Az.Dns.private\Remove-AzDnsZone_DeleteViaIdentity1'; } if (('Delete1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Returns the DNS records specified by the referencing targetResourceIds. .Description Returns the DNS records specified by the referencing targetResourceIds. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnsresourcereference .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IDnsResourceReferenceResultProperties .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/get-azdnsresourcereference #> function Get-AzDnsResourceReference { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IDnsResourceReferenceResultProperties])] [CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String[]] # A list of references to azure resources for which referencing dns records need to be queried. ${TargetResourceId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ GetExpanded = 'Az.Dns.custom\Get-AzDnsResourceReference'; } if (('GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates a record set within a DNS zone. .Description Creates or updates a record set within a DNS zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/new-azdnsrecordset .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. AAAARECORD <IAaaaRecord[]>: The list of AAAA records in the record set. [Ipv6Address <String>]: The IPv6 address of this AAAA record. ARECORD <IARecord[]>: The list of A records in the record set. [Ipv4Address <String>]: The IPv4 address of this A record. CAARECORD <ICaaRecord[]>: The list of CAA records in the record set. [Flag <Int32?>]: The flags for this CAA record as an integer between 0 and 255. [Tag <String>]: The tag for this CAA record. [Value <String>]: The value for this CAA record. MXRECORD <IMxRecord[]>: The list of MX records in the record set. [Exchange <String>]: The domain name of the mail host for this MX record. [Preference <Int32?>]: The preference value for this MX record. NSRECORD <INsRecord[]>: The list of NS records in the record set. [Nsdname <String>]: The name server name for this NS record. PTRRECORD <IPtrRecord[]>: The list of PTR records in the record set. [Ptrdname <String>]: The PTR target domain name for this PTR record. SRVRECORD <ISrvRecord[]>: The list of SRV records in the record set. [Port <Int32?>]: The port value for this SRV record. [Priority <Int32?>]: The priority value for this SRV record. [Target <String>]: The target domain name for this SRV record. [Weight <Int32?>]: The weight value for this SRV record. TXTRECORD <ITxtRecord[]>: The list of TXT records in the record set. [Value <String[]>]: The text value of this TXT record. .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/new-azdnsrecordset #> function New-AzDnsRecordSet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet])] [CmdletBinding(DefaultParameterSetName='CreateCname', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(Mandatory)] [Alias('RelativeRecordSetName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the record set, relative to the name of the zone. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${ZoneName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')] [System.Management.Automation.SwitchParameter] # Does not overwrite the record set if it already exists. ${DoNotOverwrite}, [Parameter(ParameterSetName='CreateA', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IARecord[]] # The list of A records in the record set. # To construct, see NOTES section for ARECORD properties and create a hash table. ${ARecord}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The etag of the record set. ${Etag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20160401.IRecordSetPropertiesMetadata]))] [System.Collections.Hashtable] # The metadata attached to the record set. ${Metadata}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # Resource Id. ${TargetResourceId}, [Parameter()] [Alias('Ttl')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The TTL (time-to-live) of the records in the record set. ${TimeToLive}, [Parameter(ParameterSetName='CreateAaaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IAaaaRecord[]] # The list of AAAA records in the record set. # To construct, see NOTES section for AAAARECORD properties and create a hash table. ${AaaaRecord}, [Parameter(ParameterSetName='CreateCaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.ICaaRecord[]] # The list of CAA records in the record set. # To construct, see NOTES section for CAARECORD properties and create a hash table. ${CaaRecord}, [Parameter(ParameterSetName='CreateCname', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The canonical name for this CNAME record. ${CnameRecordName}, [Parameter(ParameterSetName='CreateMX', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IMxRecord[]] # The list of MX records in the record set. # To construct, see NOTES section for MXRECORD properties and create a hash table. ${MXRecord}, [Parameter(ParameterSetName='CreateNS', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.INsRecord[]] # The list of NS records in the record set. # To construct, see NOTES section for NSRECORD properties and create a hash table. ${NSRecord}, [Parameter(ParameterSetName='CreatePtr', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IPtrRecord[]] # The list of PTR records in the record set. # To construct, see NOTES section for PTRRECORD properties and create a hash table. ${PtrRecord}, [Parameter(ParameterSetName='CreateSrv', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ISrvRecord[]] # The list of SRV records in the record set. # To construct, see NOTES section for SRVRECORD properties and create a hash table. ${SrvRecord}, [Parameter(ParameterSetName='CreateTxt', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ITxtRecord[]] # The list of TXT records in the record set. # To construct, see NOTES section for TXTRECORD properties and create a hash table. ${TxtRecord}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateA = 'Az.Dns.custom\New-AzDnsRecordSet_CreateA'; CreateAaaa = 'Az.Dns.custom\New-AzDnsRecordSet_CreateAaaa'; CreateCaa = 'Az.Dns.custom\New-AzDnsRecordSet_CreateCaa'; CreateCname = 'Az.Dns.custom\New-AzDnsRecordSet_CreateCname'; CreateMX = 'Az.Dns.custom\New-AzDnsRecordSet_CreateMX'; CreateNS = 'Az.Dns.custom\New-AzDnsRecordSet_CreateNS'; CreatePtr = 'Az.Dns.custom\New-AzDnsRecordSet_CreatePtr'; CreateSrv = 'Az.Dns.custom\New-AzDnsRecordSet_CreateSrv'; CreateTxt = 'Az.Dns.custom\New-AzDnsRecordSet_CreateTxt'; } if (('CreateA', 'CreateAaaa', 'CreateCaa', 'CreateCname', 'CreateMX', 'CreateNS', 'CreatePtr', 'CreateSrv', 'CreateTxt') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates a DNS zone. Does not modify DNS records within the zone. .Description Creates or updates a DNS zone. Does not modify DNS records within the zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/new-azdnszone .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/new-azdnszone #> function New-AzDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone])] [CmdletBinding(DefaultParameterSetName='CreatePublic', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(Mandatory)] [Alias('ZoneName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')] [System.Management.Automation.SwitchParameter] # Does not overwrite the record set if it already exists. ${DoNotOverwrite}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # Resource location. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The etag of the zone. ${Etag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='CreatePrivate', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Management.Automation.SwitchParameter] # When provided, creates a private DNS zone. ${Private}, [Parameter(ParameterSetName='CreatePrivate')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String[]] # A list of references to virtual networks that register hostnames in this DNS zone. ${RegistrationVirtualNetworkId}, [Parameter(ParameterSetName='CreatePrivate')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String[]] # A list of references to virtual networks that resolve records in this DNS zone. ${ResolutionVirtualNetworkId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreatePublic = 'Az.Dns.custom\New-AzDnsZone'; CreatePrivate = 'Az.Dns.custom\New-AzDnsZone'; } if (('CreatePublic', 'CreatePrivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates a record set within a DNS zone. .Description Creates or updates a record set within a DNS zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/set-azdnsrecordset .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. AAAARECORD <IAaaaRecord[]>: The list of AAAA records in the record set. [Ipv6Address <String>]: The IPv6 address of this AAAA record. ARECORD <IARecord[]>: The list of A records in the record set. [Ipv4Address <String>]: The IPv4 address of this A record. CAARECORD <ICaaRecord[]>: The list of CAA records in the record set. [Flag <Int32?>]: The flags for this CAA record as an integer between 0 and 255. [Tag <String>]: The tag for this CAA record. [Value <String>]: The value for this CAA record. MXRECORD <IMxRecord[]>: The list of MX records in the record set. [Exchange <String>]: The domain name of the mail host for this MX record. [Preference <Int32?>]: The preference value for this MX record. NSRECORD <INsRecord[]>: The list of NS records in the record set. [Nsdname <String>]: The name server name for this NS record. PTRRECORD <IPtrRecord[]>: The list of PTR records in the record set. [Ptrdname <String>]: The PTR target domain name for this PTR record. SRVRECORD <ISrvRecord[]>: The list of SRV records in the record set. [Port <Int32?>]: The port value for this SRV record. [Priority <Int32?>]: The priority value for this SRV record. [Target <String>]: The target domain name for this SRV record. [Weight <Int32?>]: The weight value for this SRV record. TXTRECORD <ITxtRecord[]>: The list of TXT records in the record set. [Value <String[]>]: The text value of this TXT record. .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/set-azdnsrecordset #> function Set-AzDnsRecordSet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet])] [CmdletBinding(DefaultParameterSetName='UpdateSoa', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(Mandatory)] [Alias('RelativeRecordSetName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the record set, relative to the name of the zone. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${ZoneName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateA', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IARecord[]] # The list of A records in the record set. # To construct, see NOTES section for ARECORD properties and create a hash table. ${ARecord}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The etag of the record set. ${Etag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20160401.IRecordSetPropertiesMetadata]))] [System.Collections.Hashtable] # The metadata attached to the record set. ${Metadata}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # Resource Id. ${TargetResourceId}, [Parameter()] [Alias('Ttl')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The TTL (time-to-live) of the records in the record set. ${TimeToLive}, [Parameter(ParameterSetName='UpdateAaaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IAaaaRecord[]] # The list of AAAA records in the record set. # To construct, see NOTES section for AAAARECORD properties and create a hash table. ${AaaaRecord}, [Parameter(ParameterSetName='UpdateCaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.ICaaRecord[]] # The list of CAA records in the record set. # To construct, see NOTES section for CAARECORD properties and create a hash table. ${CaaRecord}, [Parameter(ParameterSetName='UpdateCname', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The canonical name for this CNAME record. ${CnameRecordName}, [Parameter(ParameterSetName='UpdateMX', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IMxRecord[]] # The list of MX records in the record set. # To construct, see NOTES section for MXRECORD properties and create a hash table. ${MXRecord}, [Parameter(ParameterSetName='UpdateNS', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.INsRecord[]] # The list of NS records in the record set. # To construct, see NOTES section for NSRECORD properties and create a hash table. ${NSRecord}, [Parameter(ParameterSetName='UpdatePtr', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IPtrRecord[]] # The list of PTR records in the record set. # To construct, see NOTES section for PTRRECORD properties and create a hash table. ${PtrRecord}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The email contact for this SOA record. ${SoaRecordEmail}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The expire time for this SOA record. ${SoaRecordExpireTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The domain name of the authoritative name server for this SOA record. ${SoaRecordHost}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The minimum value for this SOA record. # By convention this is used to determine the negative caching duration. ${SoaRecordMinimumTtl}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The refresh value for this SOA record. ${SoaRecordRefreshTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The retry time for this SOA record. ${SoaRecordRetryTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The serial number for this SOA record. ${SoaRecordSerialNumber}, [Parameter(ParameterSetName='UpdateSrv', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ISrvRecord[]] # The list of SRV records in the record set. # To construct, see NOTES section for SRVRECORD properties and create a hash table. ${SrvRecord}, [Parameter(ParameterSetName='UpdateTxt', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ITxtRecord[]] # The list of TXT records in the record set. # To construct, see NOTES section for TXTRECORD properties and create a hash table. ${TxtRecord}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateA = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateA'; UpdateAaaa = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateAaaa'; UpdateCaa = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateCaa'; UpdateCname = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateCname'; UpdateMX = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateMX'; UpdateNS = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateNS'; UpdatePtr = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdatePtr'; UpdateSoa = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateSoa'; UpdateSrv = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateSrv'; UpdateTxt = 'Az.Dns.custom\Set-AzDnsRecordSet_UpdateTxt'; } if (('UpdateA', 'UpdateAaaa', 'UpdateCaa', 'UpdateCname', 'UpdateMX', 'UpdateNS', 'UpdatePtr', 'UpdateSoa', 'UpdateSrv', 'UpdateTxt') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates a DNS zone. Does not modify DNS records within the zone. .Description Creates or updates a DNS zone. Does not modify DNS records within the zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/set-azdnszone .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/set-azdnszone #> function Set-AzDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone])] [CmdletBinding(DefaultParameterSetName='UpdatePublic', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(Mandatory)] [Alias('ZoneName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # Resource location. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The etag of the zone. ${Etag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='UpdatePrivate', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Management.Automation.SwitchParameter] # When provided, creates a private DNS zone. ${Private}, [Parameter(ParameterSetName='UpdatePrivate')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String[]] # A list of references to virtual networks that register hostnames in this DNS zone. ${RegistrationVirtualNetworkId}, [Parameter(ParameterSetName='UpdatePrivate')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String[]] # A list of references to virtual networks that resolve records in this DNS zone. ${ResolutionVirtualNetworkId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdatePublic = 'Az.Dns.custom\Set-AzDnsZone'; UpdatePrivate = 'Az.Dns.custom\Set-AzDnsZone'; } if (('UpdatePublic', 'UpdatePrivate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Updates a record set within a DNS zone. .Description Updates a record set within a DNS zone. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/az.dns/update-azdnsrecordset .Outputs Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. AAAARECORD <IAaaaRecord[]>: The list of AAAA records in the record set. [Ipv6Address <String>]: The IPv6 address of this AAAA record. ARECORD <IARecord[]>: The list of A records in the record set. [Ipv4Address <String>]: The IPv4 address of this A record. CAARECORD <ICaaRecord[]>: The list of CAA records in the record set. [Flag <Int32?>]: The flags for this CAA record as an integer between 0 and 255. [Tag <String>]: The tag for this CAA record. [Value <String>]: The value for this CAA record. MXRECORD <IMxRecord[]>: The list of MX records in the record set. [Exchange <String>]: The domain name of the mail host for this MX record. [Preference <Int32?>]: The preference value for this MX record. NSRECORD <INsRecord[]>: The list of NS records in the record set. [Nsdname <String>]: The name server name for this NS record. PTRRECORD <IPtrRecord[]>: The list of PTR records in the record set. [Ptrdname <String>]: The PTR target domain name for this PTR record. SRVRECORD <ISrvRecord[]>: The list of SRV records in the record set. [Port <Int32?>]: The port value for this SRV record. [Priority <Int32?>]: The priority value for this SRV record. [Target <String>]: The target domain name for this SRV record. [Weight <Int32?>]: The weight value for this SRV record. TXTRECORD <ITxtRecord[]>: The list of TXT records in the record set. [Value <String[]>]: The text value of this TXT record. .Link https://docs.microsoft.com/en-us/powershell/module/az.dns/update-azdnsrecordset #> function Update-AzDnsRecordSet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet])] [CmdletBinding(DefaultParameterSetName='UpdateSoa', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')] param( [Parameter(Mandatory)] [Alias('RelativeRecordSetName')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the record set, relative to the name of the zone. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the resource group. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [System.String] # The name of the DNS zone (without a terminating dot). ${ZoneName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateA', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IARecord[]] # The list of A records in the record set. # To construct, see NOTES section for ARECORD properties and create a hash table. ${ARecord}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The etag of the record set. ${Etag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20160401.IRecordSetPropertiesMetadata]))] [System.Collections.Hashtable] # The metadata attached to the record set. ${Metadata}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # Resource Id. ${TargetResourceId}, [Parameter()] [Alias('Ttl')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The TTL (time-to-live) of the records in the record set. ${TimeToLive}, [Parameter(ParameterSetName='UpdateAaaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IAaaaRecord[]] # The list of AAAA records in the record set. # To construct, see NOTES section for AAAARECORD properties and create a hash table. ${AaaaRecord}, [Parameter(ParameterSetName='UpdateCaa', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.ICaaRecord[]] # The list of CAA records in the record set. # To construct, see NOTES section for CAARECORD properties and create a hash table. ${CaaRecord}, [Parameter(ParameterSetName='UpdateCname', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The canonical name for this CNAME record. ${CnameRecordName}, [Parameter(ParameterSetName='UpdateMX', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IMxRecord[]] # The list of MX records in the record set. # To construct, see NOTES section for MXRECORD properties and create a hash table. ${MXRecord}, [Parameter(ParameterSetName='UpdateNS', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.INsRecord[]] # The list of NS records in the record set. # To construct, see NOTES section for NSRECORD properties and create a hash table. ${NSRecord}, [Parameter(ParameterSetName='UpdatePtr', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.IPtrRecord[]] # The list of PTR records in the record set. # To construct, see NOTES section for PTRRECORD properties and create a hash table. ${PtrRecord}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The email contact for this SOA record. ${SoaRecordEmail}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The expire time for this SOA record. ${SoaRecordExpireTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.String] # The domain name of the authoritative name server for this SOA record. ${SoaRecordHost}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The minimum value for this SOA record. # By convention this is used to determine the negative caching duration. ${SoaRecordMinimumTtl}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The refresh value for this SOA record. ${SoaRecordRefreshTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The retry time for this SOA record. ${SoaRecordRetryTime}, [Parameter(ParameterSetName='UpdateSoa')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [System.Int64] # The serial number for this SOA record. ${SoaRecordSerialNumber}, [Parameter(ParameterSetName='UpdateSrv', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ISrvRecord[]] # The list of SRV records in the record set. # To construct, see NOTES section for SRVRECORD properties and create a hash table. ${SrvRecord}, [Parameter(ParameterSetName='UpdateTxt', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20150504Preview.ITxtRecord[]] # The list of TXT records in the record set. # To construct, see NOTES section for TXTRECORD properties and create a hash table. ${TxtRecord}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateA = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateA'; UpdateAaaa = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateAaaa'; UpdateCaa = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateCaa'; UpdateCname = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateCname'; UpdateMX = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateMX'; UpdateNS = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateNS'; UpdatePtr = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdatePtr'; UpdateSoa = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateSoa'; UpdateSrv = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateSrv'; UpdateTxt = 'Az.Dns.custom\Update-AzDnsRecordSet_UpdateTxt'; } if (('UpdateA', 'UpdateAaaa', 'UpdateCaa', 'UpdateCname', 'UpdateMX', 'UpdateNS', 'UpdatePtr', 'UpdateSoa', 'UpdateSrv', 'UpdateTxt') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBjsbuXE9OrNyKu # TDTAN7JoM+220hHW0keU/OCI7qc5t6CCDYEwggX/MIID56ADAgECAhMzAAABUZ6N # j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # Z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