internal/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
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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IDnsResourceReferenceRequest
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.IDnsIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IDnsResourceReferenceResultProperties
.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).
 
RESOURCEREFERENCE <IDnsResourceReferenceRequest>: Represents the properties of the Dns Resource Reference Request.
  [TargetResource <ISubResource[]>]: A list of references to azure resources for which referencing dns records need to be queried.
    [Id <String>]: Resource Id.
 
TARGETRESOURCE <ISubResource[]>: A list of references to azure resources for which referencing dns records need to be queried.
  [Id <String>]: Resource Id.
.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(ParameterSetName='Get')]
    [Parameter(ParameterSetName='GetExpanded')]
    [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='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='GetViaIdentityExpanded', 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='Get', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IDnsResourceReferenceRequest]
    # Represents the properties of the Dns Resource Reference Request.
    # To construct, see NOTES section for RESOURCEREFERENCE properties and create a hash table.
    ${ResourceReference},

    [Parameter(ParameterSetName='GetExpanded')]
    [Parameter(ParameterSetName='GetViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180301Preview.ISubResource[]]
    # A list of references to azure resources for which referencing dns records need to be queried.
    # To construct, see NOTES section for TARGETRESOURCE properties and create a hash table.
    ${TargetResource},

    [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 = @{
            Get = 'Az.Dns.private\Get-AzDnsResourceReference_Get';
            GetExpanded = 'Az.Dns.private\Get-AzDnsResourceReference_GetExpanded';
            GetViaIdentity = 'Az.Dns.private\Get-AzDnsResourceReference_GetViaIdentity';
            GetViaIdentityExpanded = 'Az.Dns.private\Get-AzDnsResourceReference_GetViaIdentityExpanded';
        }
        if (('Get', '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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet
.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.
 
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.
 
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).
 
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.
 
RECORDSET <IRecordSet>: Describes a DNS record set (a collection of DNS records with the same name and type).
  [ARecord <IARecord[]>]: The list of A records in the record set.
    [Ipv4Address <String>]: The IPv4 address of this A record.
  [AaaaRecord <IAaaaRecord[]>]: The list of AAAA records in the record set.
    [Ipv6Address <String>]: The IPv6 address of this AAAA 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.
  [CnameRecordCname <String>]: The canonical name for this CNAME record.
  [Etag <String>]: The etag of the record set.
  [Metadata <IRecordSetPropertiesMetadata>]: The metadata attached to the record set.
    [(Any) <String>]: This indicates any property can be added to this object.
  [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.
  [SoaRecordEmail <String>]: The email contact for this SOA record.
  [SoaRecordExpireTime <Int64?>]: The expire time for this SOA record.
  [SoaRecordHost <String>]: The domain name of the authoritative name server for this SOA record.
  [SoaRecordMinimumTtl <Int64?>]: The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
  [SoaRecordRefreshTime <Int64?>]: The refresh value for this SOA record.
  [SoaRecordRetryTime <Int64?>]: The retry time for this SOA record.
  [SoaRecordSerialNumber <Int64?>]: The serial number for this SOA 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.
  [TargetResourceId <String>]: Resource Id.
  [Ttl <Int64?>]: The TTL (time-to-live) of the records in the record set.
  [TxtRecord <ITxtRecord[]>]: The list of TXT records in the record set.
    [Value <String[]>]: The text value of this TXT 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='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')]
param(
    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', 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='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', 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 can be updated but not created (they are created when the DNS zone is created).
    ${RecordType},

    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')]
    [System.String]
    # The name of the resource group.
    ${ResourceGroupName},

    [Parameter(ParameterSetName='Create')]
    [Parameter(ParameterSetName='CreateExpanded')]
    [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='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')]
    [System.String]
    # The name of the DNS zone (without a terminating dot).
    ${ZoneName},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', 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 overwrite the current record set.
    # Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
    ${IfMatch},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')]
    [System.String]
    # Set to '*' to allow a new record set to be created, but to prevent updating an existing record set.
    # Other values will be ignored.
    ${IfNoneMatch},

    [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet]
    # Describes a DNS record set (a collection of DNS records with the same name and type).
    # To construct, see NOTES section for RECORDSET properties and create a hash table.
    ${RecordSet},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The canonical name for this CNAME record.
    ${CnameRecordName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The etag of the record set.
    ${Etag},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The email contact for this SOA record.
    ${SoaRecordEmail},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The expire time for this SOA record.
    ${SoaRecordExpireTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The domain name of the authoritative name server for this SOA record.
    ${SoaRecordHost},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The refresh value for this SOA record.
    ${SoaRecordRefreshTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The retry time for this SOA record.
    ${SoaRecordRetryTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The serial number for this SOA record.
    ${SoaRecordSerialNumber},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # Resource Id.
    ${TargetResourceId},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [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 = @{
            Create = 'Az.Dns.private\New-AzDnsRecordSet_Create';
            CreateExpanded = 'Az.Dns.private\New-AzDnsRecordSet_CreateExpanded';
            CreateViaIdentity = 'Az.Dns.private\New-AzDnsRecordSet_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Az.Dns.private\New-AzDnsRecordSet_CreateViaIdentityExpanded';
        }
        if (('Create', 'CreateExpanded') -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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone
.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).
 
REGISTRATIONVIRTUALNETWORK <ISubResource[]>: A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
  [Id <String>]: Resource Id.
 
RESOLUTIONVIRTUALNETWORK <ISubResource[]>: A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
  [Id <String>]: Resource Id.
 
ZONE <IZone>: Describes a DNS zone.
  Location <String>: Resource location.
  [Tag <IResourceTags>]: Resource tags.
    [(Any) <String>]: This indicates any property can be added to this object.
  [Etag <String>]: The etag of the zone.
  [RegistrationVirtualNetwork <ISubResource[]>]: A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    [Id <String>]: Resource Id.
  [ResolutionVirtualNetwork <ISubResource[]>]: A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
  [ZoneType <ZoneType?>]: The type of this DNS zone (Public or Private).
.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='CreateExpanded1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')]
param(
    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', 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='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')]
    [System.String]
    # The name of the resource group.
    ${ResourceGroupName},

    [Parameter(ParameterSetName='Create1')]
    [Parameter(ParameterSetName='CreateExpanded1')]
    [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='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', 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 overwrite the current zone.
    # Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
    ${IfMatch},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')]
    [System.String]
    # Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone.
    # Other values will be ignored.
    ${IfNoneMatch},

    [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone]
    # Describes a DNS zone.
    # To construct, see NOTES section for ZONE properties and create a hash table.
    ${Zone},

    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # Resource location.
    ${Location},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The etag of the zone.
    ${Etag},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180301Preview.ISubResource[]]
    # A list of references to virtual networks that register hostnames in this DNS zone.
    # This is a only when ZoneType is Private.
    # To construct, see NOTES section for REGISTRATIONVIRTUALNETWORK properties and create a hash table.
    ${RegistrationVirtualNetwork},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180301Preview.ISubResource[]]
    # A list of references to virtual networks that resolve records in this DNS zone.
    # This is a only when ZoneType is Private.
    # To construct, see NOTES section for RESOLUTIONVIRTUALNETWORK properties and create a hash table.
    ${ResolutionVirtualNetwork},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [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='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.ZoneType])]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.ZoneType]
    # The type of this DNS zone (Public or Private).
    ${ZoneType},

    [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 = @{
            Create1 = 'Az.Dns.private\New-AzDnsZone_Create1';
            CreateExpanded1 = 'Az.Dns.private\New-AzDnsZone_CreateExpanded1';
            CreateViaIdentity1 = 'Az.Dns.private\New-AzDnsZone_CreateViaIdentity1';
            CreateViaIdentityExpanded1 = 'Az.Dns.private\New-AzDnsZone_CreateViaIdentityExpanded1';
        }
        if (('Create1', 'CreateExpanded1') -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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet
.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.
 
RECORDSET <IRecordSet>: Describes a DNS record set (a collection of DNS records with the same name and type).
  [ARecord <IARecord[]>]: The list of A records in the record set.
    [Ipv4Address <String>]: The IPv4 address of this A record.
  [AaaaRecord <IAaaaRecord[]>]: The list of AAAA records in the record set.
    [Ipv6Address <String>]: The IPv6 address of this AAAA 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.
  [CnameRecordCname <String>]: The canonical name for this CNAME record.
  [Etag <String>]: The etag of the record set.
  [Metadata <IRecordSetPropertiesMetadata>]: The metadata attached to the record set.
    [(Any) <String>]: This indicates any property can be added to this object.
  [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.
  [SoaRecordEmail <String>]: The email contact for this SOA record.
  [SoaRecordExpireTime <Int64?>]: The expire time for this SOA record.
  [SoaRecordHost <String>]: The domain name of the authoritative name server for this SOA record.
  [SoaRecordMinimumTtl <Int64?>]: The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
  [SoaRecordRefreshTime <Int64?>]: The refresh value for this SOA record.
  [SoaRecordRetryTime <Int64?>]: The retry time for this SOA record.
  [SoaRecordSerialNumber <Int64?>]: The serial number for this SOA 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.
  [TargetResourceId <String>]: Resource Id.
  [Ttl <Int64?>]: The TTL (time-to-live) of the records in the record set.
  [TxtRecord <ITxtRecord[]>]: The list of TXT records in the record set.
    [Value <String[]>]: The text value of this TXT 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='UpdateExpanded', 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)]
    [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 can be updated but not created (they are created when the DNS zone is created).
    ${RecordType},

    [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.String]
    # The etag of the record set.
    # Omit this value to always overwrite the current record set.
    # Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
    ${IfMatch},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')]
    [System.String]
    # Set to '*' to allow a new record set to be created, but to prevent updating an existing record set.
    # Other values will be ignored.
    ${IfNoneMatch},

    [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet]
    # Describes a DNS record set (a collection of DNS records with the same name and type).
    # To construct, see NOTES section for RECORDSET properties and create a hash table.
    ${RecordSet},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [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(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [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='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The canonical name for this CNAME record.
    ${CnameRecordName},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The etag of the record set.
    ${Etag},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [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(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [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='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The email contact for this SOA record.
    ${SoaRecordEmail},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The expire time for this SOA record.
    ${SoaRecordExpireTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The domain name of the authoritative name server for this SOA record.
    ${SoaRecordHost},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The refresh value for this SOA record.
    ${SoaRecordRefreshTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The retry time for this SOA record.
    ${SoaRecordRetryTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The serial number for this SOA record.
    ${SoaRecordSerialNumber},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # Resource Id.
    ${TargetResourceId},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [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='UpdateExpanded')]
    [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 = @{
            Update = 'Az.Dns.private\Set-AzDnsRecordSet_Update';
            UpdateExpanded = 'Az.Dns.private\Set-AzDnsRecordSet_UpdateExpanded';
        }
        if (('Update', 'UpdateExpanded') -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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone
.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.
 
REGISTRATIONVIRTUALNETWORK <ISubResource[]>: A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
  [Id <String>]: Resource Id.
 
RESOLUTIONVIRTUALNETWORK <ISubResource[]>: A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
  [Id <String>]: Resource Id.
 
ZONE <IZone>: Describes a DNS zone.
  Location <String>: Resource location.
  [Tag <IResourceTags>]: Resource tags.
    [(Any) <String>]: This indicates any property can be added to this object.
  [Etag <String>]: The etag of the zone.
  [RegistrationVirtualNetwork <ISubResource[]>]: A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
    [Id <String>]: Resource Id.
  [ResolutionVirtualNetwork <ISubResource[]>]: A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
  [ZoneType <ZoneType?>]: The type of this DNS zone (Public or Private).
.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='UpdateExpanded1', 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.String]
    # The etag of the DNS zone.
    # Omit this value to always overwrite the current zone.
    # Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
    ${IfMatch},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Header')]
    [System.String]
    # Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone.
    # Other values will be ignored.
    ${IfNoneMatch},

    [Parameter(ParameterSetName='Update1', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IZone]
    # Describes a DNS zone.
    # To construct, see NOTES section for ZONE properties and create a hash table.
    ${Zone},

    [Parameter(ParameterSetName='UpdateExpanded1', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # Resource location.
    ${Location},

    [Parameter(ParameterSetName='UpdateExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The etag of the zone.
    ${Etag},

    [Parameter(ParameterSetName='UpdateExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180301Preview.ISubResource[]]
    # A list of references to virtual networks that register hostnames in this DNS zone.
    # This is a only when ZoneType is Private.
    # To construct, see NOTES section for REGISTRATIONVIRTUALNETWORK properties and create a hash table.
    ${RegistrationVirtualNetwork},

    [Parameter(ParameterSetName='UpdateExpanded1')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180301Preview.ISubResource[]]
    # A list of references to virtual networks that resolve records in this DNS zone.
    # This is a only when ZoneType is Private.
    # To construct, see NOTES section for RESOLUTIONVIRTUALNETWORK properties and create a hash table.
    ${ResolutionVirtualNetwork},

    [Parameter(ParameterSetName='UpdateExpanded1')]
    [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='UpdateExpanded1')]
    [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.ZoneType])]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Support.ZoneType]
    # The type of this DNS zone (Public or Private).
    ${ZoneType},

    [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 = @{
            Update1 = 'Az.Dns.private\Set-AzDnsZone_Update1';
            UpdateExpanded1 = 'Az.Dns.private\Set-AzDnsZone_UpdateExpanded1';
        }
        if (('Update1', 'UpdateExpanded1') -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
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet
.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.
 
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.
 
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).
 
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.
 
RECORDSET <IRecordSet>: Describes a DNS record set (a collection of DNS records with the same name and type).
  [ARecord <IARecord[]>]: The list of A records in the record set.
    [Ipv4Address <String>]: The IPv4 address of this A record.
  [AaaaRecord <IAaaaRecord[]>]: The list of AAAA records in the record set.
    [Ipv6Address <String>]: The IPv6 address of this AAAA 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.
  [CnameRecordCname <String>]: The canonical name for this CNAME record.
  [Etag <String>]: The etag of the record set.
  [Metadata <IRecordSetPropertiesMetadata>]: The metadata attached to the record set.
    [(Any) <String>]: This indicates any property can be added to this object.
  [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.
  [SoaRecordEmail <String>]: The email contact for this SOA record.
  [SoaRecordExpireTime <Int64?>]: The expire time for this SOA record.
  [SoaRecordHost <String>]: The domain name of the authoritative name server for this SOA record.
  [SoaRecordMinimumTtl <Int64?>]: The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
  [SoaRecordRefreshTime <Int64?>]: The refresh value for this SOA record.
  [SoaRecordRetryTime <Int64?>]: The retry time for this SOA record.
  [SoaRecordSerialNumber <Int64?>]: The serial number for this SOA 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.
  [TargetResourceId <String>]: Resource Id.
  [Ttl <Int64?>]: The TTL (time-to-live) of the records in the record set.
  [TxtRecord <ITxtRecord[]>]: The list of TXT records in the record set.
    [Value <String[]>]: The text value of this TXT 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='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.Dns.Profile('latest-2019-04-30')]
param(
    [Parameter(ParameterSetName='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', 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='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', 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='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')]
    [System.String]
    # The name of the resource group.
    ${ResourceGroupName},

    [Parameter(ParameterSetName='Update')]
    [Parameter(ParameterSetName='UpdateExpanded')]
    [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='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Path')]
    [System.String]
    # The name of the DNS zone (without a terminating dot).
    ${ZoneName},

    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded', 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 overwrite the current record set.
    # Specify the last-seen etag value to prevent accidentally overwriting concurrent changes.
    ${IfMatch},

    [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20180501.IRecordSet]
    # Describes a DNS record set (a collection of DNS records with the same name and type).
    # To construct, see NOTES section for RECORDSET properties and create a hash table.
    ${RecordSet},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The canonical name for this CNAME record.
    ${CnameRecordName},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The etag of the record set.
    ${Etag},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The email contact for this SOA record.
    ${SoaRecordEmail},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The expire time for this SOA record.
    ${SoaRecordExpireTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # The domain name of the authoritative name server for this SOA record.
    ${SoaRecordHost},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The refresh value for this SOA record.
    ${SoaRecordRefreshTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The retry time for this SOA record.
    ${SoaRecordRetryTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.Int64]
    # The serial number for this SOA record.
    ${SoaRecordSerialNumber},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.Dns.Category('Body')]
    [System.String]
    # Resource Id.
    ${TargetResourceId},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [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 = @{
            Update = 'Az.Dns.private\Update-AzDnsRecordSet_Update';
            UpdateExpanded = 'Az.Dns.private\Update-AzDnsRecordSet_UpdateExpanded';
            UpdateViaIdentity = 'Az.Dns.private\Update-AzDnsRecordSet_UpdateViaIdentity';
            UpdateViaIdentityExpanded = 'Az.Dns.private\Update-AzDnsRecordSet_UpdateViaIdentityExpanded';
        }
        if (('Update', 'UpdateExpanded') -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 {
        $steppableP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