exports/v1.0/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
Get sectionGroups from sites
.Description
Get sectionGroups from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotenotebooksectiongroup
#>

function Get-MgSiteOnenoteNotebookSectionGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of notebook
    ${NotebookId},

    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter()]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter()]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            List = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteNotebookSectionGroup_List';
        }
        $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
Get sections from sites
.Description
Get sections from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotenotebooksection
#>

function Get-MgSiteOnenoteNotebookSection {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of notebook
    ${NotebookId},

    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter()]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter()]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            List = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteNotebookSection_List';
        }
        $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
Get notebooks from sites
.Description
Get notebooks from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotenotebook
#>

function Get-MgSiteOnenoteNotebook {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of notebook
    ${NotebookId},

    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter(ParameterSetName='List1')]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter(ParameterSetName='List1')]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            Get1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteNotebook_Get1';
            GetViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteNotebook_GetViaIdentity1';
            List1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteNotebook_List1';
        }
        $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
Get operations from sites
.Description
Get operations from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteOperation
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenoteoperation
#>

function Get-MgSiteOnenoteOperation {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteOperation])]
[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenoteOperation
    ${OnenoteOperationId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteOperation_Get';
            GetViaIdentity = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteOperation_GetViaIdentity';
        }
        $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
Get pages from sites
.Description
Get pages from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotepage
#>

function Get-MgSiteOnenotePage {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenotePage
    ${OnenotePageId},

    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter(ParameterSetName='List1')]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter(ParameterSetName='List1')]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            Get1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenotePage_Get1';
            GetViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenotePage_GetViaIdentity1';
            List1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenotePage_List1';
        }
        $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
Get resources from sites
.Description
Get resources from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteResource
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenoteresource
#>

function Get-MgSiteOnenoteResource {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteResource])]
[CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenoteResource
    ${OnenoteResourceId},

    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteResource_Get1';
            GetViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteResource_GetViaIdentity1';
        }
        $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
Get sections from sites
.Description
Get sections from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotesectiongroupsection
#>

function Get-MgSiteOnenoteSectionGroupSection {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of sectionGroup
    ${SectionGroupId},

    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter()]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter()]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            List1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionGroupSection_List1';
        }
        $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
Get sectionGroups from sites
.Description
Get sectionGroups from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotesectiongroup
#>

function Get-MgSiteOnenoteSectionGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1])]
[CmdletBinding(DefaultParameterSetName='List2', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List3', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of sectionGroup
    ${SectionGroupId},

    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List2', Mandatory)]
    [Parameter(ParameterSetName='List3', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter(ParameterSetName='List2')]
    [Parameter(ParameterSetName='List3')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            Get1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionGroup_Get1';
            GetViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionGroup_GetViaIdentity1';
            List2 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionGroup_List2';
            List3 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionGroup_List3';
        }
        $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
Get pages from sites
.Description
Get pages from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotesectionpage
#>

function Get-MgSiteOnenoteSectionPage {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenoteSection
    ${OnenoteSectionId},

    [Parameter(Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter()]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter()]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            List1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSectionPage_List1';
        }
        $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
Get sections from sites
.Description
Get sections from sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.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 <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/get-mgsiteonenotesection
#>

function Get-MgSiteOnenoteSection {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenoteSection
    ${OnenoteSectionId},

    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Alias('Expand')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${ExpandProperty},

    [Parameter()]
    [Alias('Select')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Property},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Management.Automation.SwitchParameter]
    # Include count of items
    ${Count},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Filter items by property values
    ${Filter},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String]
    # Search items by search phrases
    ${Search},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Skip the first n items
    ${Skip},

    [Parameter(ParameterSetName='List1')]
    [Alias('OrderBy')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Sort},

    [Parameter(ParameterSetName='List1')]
    [Alias('Limit')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Int32]
    # Sets the page size of results.
    ${PageSize},

    [Parameter(ParameterSetName='List1')]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # List all pages.
    ${All}
)

begin {
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $parameterSet = $PSCmdlet.ParameterSetName
        $mapping = @{
            Get1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSection_Get1';
            GetViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSection_GetViaIdentity1';
            List1 = 'Microsoft.Graph.Sites.OneNote.private\Get-MgSiteOnenoteSection_List1';
        }
        $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
Create new navigation property to sectionGroups for sites
.Description
Create new navigation property to sectionGroups for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.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.
 
BODYPARAMETER <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTIONGROUP <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
SECTIONGROUPS <IMicrosoftGraphSectionGroup1[]>: The section groups in the section. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
SECTIONS <IMicrosoftGraphOnenoteSection1[]>: The sections in the section group. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotenotebooksectiongroup
#>

function New-MgSiteOnenoteNotebookSectionGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of notebook
    ${NotebookId},

    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for CREATEDBY properties and create a hash table.
    ${CreatedBy},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The name of the notebook.
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
    ${LastModifiedBy},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the notebook was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for PARENTSECTIONGROUP properties and create a hash table.
    ${ParentSectionGroup},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1[]]
    # The section groups in the section.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONGROUPS properties and create a hash table.
    ${SectionGroups},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sectionGroups navigation property, which returns all the section groups in the section group.
    # Read-only.
    ${SectionGroupsUrl},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1[]]
    # The sections in the section group.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONS properties and create a hash table.
    ${Sections},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sections navigation property, which returns all the sections in the section group.
    # Read-only.
    ${SectionsUrl},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSectionGroup_Create';
            CreateExpanded = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSectionGroup_CreateExpanded';
            CreateViaIdentity = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSectionGroup_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSectionGroup_CreateViaIdentityExpanded';
        }
        $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
Create new navigation property to sections for sites
.Description
Create new navigation property to sections for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.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.
 
BODYPARAMETER <IMicrosoftGraphOnenoteSection1>: onenoteSection
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
 
CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
LINKS <IMicrosoftGraphSectionLinks>: sectionLinks
  [(Any) <Object>]: This indicates any property can be added to this object.
  [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Href <String>]: The url of the link.
  [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
 
PAGES <IMicrosoftGraphOnenotePage1[]>: The collection of pages in the section. Read-only. Nullable.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [Content <Byte[]>]: The page's HTML content.
  [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
  [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
  [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Level <Int32?>]: The indentation level of the page. Read-only.
  [Links <IMicrosoftGraphPageLinks>]: pageLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Order <Int32?>]: The order of the page within its parent section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Application <IMicrosoftGraphIdentity>]: identity
        [(Any) <Object>]: This indicates any property can be added to this object.
        [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
        [Id <String>]: Unique identifier for the identity.
      [Device <IMicrosoftGraphIdentity>]: identity
      [User <IMicrosoftGraphIdentity>]: identity
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
        [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
  [Title <String>]: The title of the page.
  [UserTags <String[]>]:
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTIONGROUP <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotenotebooksection
#>

function New-MgSiteOnenoteNotebookSection {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of notebook
    ${NotebookId},

    [Parameter(ParameterSetName='Create', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1]
    # onenoteSection
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for CREATEDBY properties and create a hash table.
    ${CreatedBy},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The name of the notebook.
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # Indicates whether this is the user's default section.
    # Read-only.
    ${IsDefault},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
    ${LastModifiedBy},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the notebook was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionLinks]
    # sectionLinks
    # To construct, see NOTES section for LINKS properties and create a hash table.
    ${Links},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1[]]
    # The collection of pages in the section.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for PAGES properties and create a hash table.
    ${Pages},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The pages endpoint where you can get details for all the pages in the section.
    # Read-only.
    ${PagesUrl},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for PARENTSECTIONGROUP properties and create a hash table.
    ${ParentSectionGroup},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSection_Create';
            CreateExpanded = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSection_CreateExpanded';
            CreateViaIdentity = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSection_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebookSection_CreateViaIdentityExpanded';
        }
        $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
Create new navigation property to notebooks for sites
.Description
Create new navigation property to notebooks for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1
.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.
 
BODYPARAMETER <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
LINKS <IMicrosoftGraphNotebookLinks>: notebookLinks
  [(Any) <Object>]: This indicates any property can be added to this object.
  [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Href <String>]: The url of the link.
  [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
 
SECTIONGROUPS <IMicrosoftGraphSectionGroup1[]>: The section groups in the notebook. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
SECTIONS <IMicrosoftGraphOnenoteSection1[]>: The sections in the notebook. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotenotebook
#>

function New-MgSiteOnenoteNotebook {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for CREATEDBY properties and create a hash table.
    ${CreatedBy},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The name of the notebook.
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # Indicates whether this is the user's default notebook.
    # Read-only.
    ${IsDefault},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # Indicates whether the notebook is shared.
    # If true, the contents of the notebook can be seen by people other than the owner.
    # Read-only.
    ${IsShared},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
    ${LastModifiedBy},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the notebook was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebookLinks]
    # notebookLinks
    # To construct, see NOTES section for LINKS properties and create a hash table.
    ${Links},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1[]]
    # The section groups in the notebook.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONGROUPS properties and create a hash table.
    ${SectionGroups},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sectionGroups navigation property, which returns all the section groups in the notebook.
    # Read-only.
    ${SectionGroupsUrl},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1[]]
    # The sections in the notebook.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONS properties and create a hash table.
    ${Sections},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sections navigation property, which returns all the sections in the notebook.
    # Read-only.
    ${SectionsUrl},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # onenoteUserRole
    ${UserRole},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebook_Create1';
            CreateExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebook_CreateExpanded1';
            CreateViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebook_CreateViaIdentity1';
            CreateViaIdentityExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteNotebook_CreateViaIdentityExpanded1';
        }
        $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
Create new navigation property to pages for sites
.Description
Create new navigation property to pages for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.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.
 
BODYPARAMETER <IMicrosoftGraphOnenotePage1>: onenotePage
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [Content <Byte[]>]: The page's HTML content.
  [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
  [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
  [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Level <Int32?>]: The indentation level of the page. Read-only.
  [Links <IMicrosoftGraphPageLinks>]: pageLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Order <Int32?>]: The order of the page within its parent section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Application <IMicrosoftGraphIdentity>]: identity
        [(Any) <Object>]: This indicates any property can be added to this object.
        [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
        [Id <String>]: Unique identifier for the identity.
      [Device <IMicrosoftGraphIdentity>]: identity
      [User <IMicrosoftGraphIdentity>]: identity
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
        [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
  [Title <String>]: The title of the page.
  [UserTags <String[]>]:
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LINKS <IMicrosoftGraphPageLinks>: pageLinks
  [(Any) <Object>]: This indicates any property can be added to this object.
  [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Href <String>]: The url of the link.
  [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTION <IMicrosoftGraphOnenoteSection1>: onenoteSection
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotepage
#>

function New-MgSiteOnenotePage {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1]
    # onenotePage
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Input File for Content (The page's HTML content.)
    ${ContentInputFile},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the page's HTML content.
    # Read-only.
    ${ContentUrl},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The unique identifier of the application that created the page.
    # Read-only.
    ${CreatedByAppId},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Int32]
    # The indentation level of the page.
    # Read-only.
    ${Level},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPageLinks]
    # pageLinks
    # To construct, see NOTES section for LINKS properties and create a hash table.
    ${Links},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Int32]
    # The order of the page within its parent section.
    # Read-only.
    ${Order},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1]
    # onenoteSection
    # To construct, see NOTES section for PARENTSECTION properties and create a hash table.
    ${ParentSection},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The title of the page.
    ${Title},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String[]]
    # .
    ${UserTags},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenotePage_Create1';
            CreateExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenotePage_CreateExpanded1';
            CreateViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenotePage_CreateViaIdentity1';
            CreateViaIdentityExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenotePage_CreateViaIdentityExpanded1';
        }
        $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
Create new navigation property to sections for sites
.Description
Create new navigation property to sections for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1
.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.
 
BODYPARAMETER <IMicrosoftGraphOnenoteSection1>: onenoteSection
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
 
CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
LINKS <IMicrosoftGraphSectionLinks>: sectionLinks
  [(Any) <Object>]: This indicates any property can be added to this object.
  [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Href <String>]: The url of the link.
  [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
 
PAGES <IMicrosoftGraphOnenotePage1[]>: The collection of pages in the section. Read-only. Nullable.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [Content <Byte[]>]: The page's HTML content.
  [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
  [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
  [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Level <Int32?>]: The indentation level of the page. Read-only.
  [Links <IMicrosoftGraphPageLinks>]: pageLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Order <Int32?>]: The order of the page within its parent section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Application <IMicrosoftGraphIdentity>]: identity
        [(Any) <Object>]: This indicates any property can be added to this object.
        [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
        [Id <String>]: Unique identifier for the identity.
      [Device <IMicrosoftGraphIdentity>]: identity
      [User <IMicrosoftGraphIdentity>]: identity
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
        [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
  [Title <String>]: The title of the page.
  [UserTags <String[]>]:
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTIONGROUP <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotesectiongroupsection
#>

function New-MgSiteOnenoteSectionGroupSection {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of sectionGroup
    ${SectionGroupId},

    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1]
    # onenoteSection
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for CREATEDBY properties and create a hash table.
    ${CreatedBy},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The name of the notebook.
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # Indicates whether this is the user's default section.
    # Read-only.
    ${IsDefault},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
    ${LastModifiedBy},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the notebook was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionLinks]
    # sectionLinks
    # To construct, see NOTES section for LINKS properties and create a hash table.
    ${Links},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1[]]
    # The collection of pages in the section.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for PAGES properties and create a hash table.
    ${Pages},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The pages endpoint where you can get details for all the pages in the section.
    # Read-only.
    ${PagesUrl},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for PARENTSECTIONGROUP properties and create a hash table.
    ${ParentSectionGroup},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroupSection_Create1';
            CreateExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroupSection_CreateExpanded1';
            CreateViaIdentity1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroupSection_CreateViaIdentity1';
            CreateViaIdentityExpanded1 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroupSection_CreateViaIdentityExpanded1';
        }
        $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
Create new navigation property to sectionGroups for sites
.Description
Create new navigation property to sectionGroups for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1
.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.
 
BODYPARAMETER <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet
  [(Any) <Object>]: This indicates any property can be added to this object.
  [Application <IMicrosoftGraphIdentity>]: identity
    [(Any) <Object>]: This indicates any property can be added to this object.
    [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    [Id <String>]: Unique identifier for the identity.
  [Device <IMicrosoftGraphIdentity>]: identity
  [User <IMicrosoftGraphIdentity>]: identity
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTIONGROUP <IMicrosoftGraphSectionGroup1>: sectionGroup
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
SECTIONGROUPS <IMicrosoftGraphSectionGroup1[]>: The section groups in the section. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [(Any) <Object>]: This indicates any property can be added to this object.
        [Href <String>]: The url of the link.
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
 
SECTIONS <IMicrosoftGraphOnenoteSection1[]>: The sections in the section group. Read-only. Nullable.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotesectiongroup
#>

function New-MgSiteOnenoteSectionGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded2', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create2', Mandatory)]
    [Parameter(ParameterSetName='Create3', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded2', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded3', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='Create3', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded3', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of sectionGroup
    ${SectionGroupId},

    [Parameter(ParameterSetName='CreateViaIdentity2', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity3', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create2', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='Create3', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity2', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity3', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for CREATEDBY properties and create a hash table.
    ${CreatedBy},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The name of the notebook.
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet]
    # identitySet
    # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
    ${LastModifiedBy},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the notebook was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1]
    # sectionGroup
    # To construct, see NOTES section for PARENTSECTIONGROUP properties and create a hash table.
    ${ParentSectionGroup},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSectionGroup1[]]
    # The section groups in the section.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONGROUPS properties and create a hash table.
    ${SectionGroups},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sectionGroups navigation property, which returns all the section groups in the section group.
    # Read-only.
    ${SectionGroupsUrl},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1[]]
    # The sections in the section group.
    # Read-only.
    # Nullable.
    # To construct, see NOTES section for SECTIONS properties and create a hash table.
    ${Sections},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the sections navigation property, which returns all the sections in the section group.
    # Read-only.
    ${SectionsUrl},

    [Parameter(ParameterSetName='CreateExpanded2')]
    [Parameter(ParameterSetName='CreateExpanded3')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded2')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded3')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.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 = @{
            Create2 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_Create2';
            Create3 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_Create3';
            CreateExpanded2 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateExpanded2';
            CreateExpanded3 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateExpanded3';
            CreateViaIdentity2 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateViaIdentity2';
            CreateViaIdentity3 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateViaIdentity3';
            CreateViaIdentityExpanded2 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateViaIdentityExpanded2';
            CreateViaIdentityExpanded3 = 'Microsoft.Graph.Sites.OneNote.private\New-MgSiteOnenoteSectionGroup_CreateViaIdentityExpanded3';
        }
        $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
Create new navigation property to pages for sites
.Description
Create new navigation property to pages for sites
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
.Example
PS C:\> {{ Add code here }}
 
{{ Add output here }}
 
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.Inputs
Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1
.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.
 
BODYPARAMETER <IMicrosoftGraphOnenotePage1>: onenotePage
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [Content <Byte[]>]: The page's HTML content.
  [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
  [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
  [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Level <Int32?>]: The indentation level of the page. Read-only.
  [Links <IMicrosoftGraphPageLinks>]: pageLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Order <Int32?>]: The order of the page within its parent section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [(Any) <Object>]: This indicates any property can be added to this object.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Application <IMicrosoftGraphIdentity>]: identity
        [(Any) <Object>]: This indicates any property can be added to this object.
        [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
        [Id <String>]: Unique identifier for the identity.
      [Device <IMicrosoftGraphIdentity>]: identity
      [User <IMicrosoftGraphIdentity>]: identity
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
    [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
    [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
        [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
    [UserRole <String>]: onenoteUserRole
  [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
  [Title <String>]: The title of the page.
  [UserTags <String[]>]:
 
INPUTOBJECT <ISitesOneNoteIdentity>: Identity Parameter
  [NotebookId <String>]: key: id of notebook
  [OnenoteOperationId <String>]: key: id of onenoteOperation
  [OnenotePageId <String>]: key: id of onenotePage
  [OnenoteResourceId <String>]: key: id of onenoteResource
  [OnenoteSectionId <String>]: key: id of onenoteSection
  [SectionGroupId <String>]: key: id of sectionGroup
  [SiteId <String>]: key: id of site
 
LINKS <IMicrosoftGraphPageLinks>: pageLinks
  [(Any) <Object>]: This indicates any property can be added to this object.
  [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Href <String>]: The url of the link.
  [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
 
PARENTNOTEBOOK <IMicrosoftGraphNotebook1>: notebook
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
  [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
  [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
    [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [DisplayName <String>]: The name of the notebook.
    [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
    [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
    [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
    [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
      [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [Content <Byte[]>]: The page's HTML content.
        [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
        [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
        [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Level <Int32?>]: The indentation level of the page. Read-only.
        [Links <IMicrosoftGraphPageLinks>]: pageLinks
          [(Any) <Object>]: This indicates any property can be added to this object.
          [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
          [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
        [Order <Int32?>]: The order of the page within its parent section. Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
        [Title <String>]: The title of the page.
        [UserTags <String[]>]:
      [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
      [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
    [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
  [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
  [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
  [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
  [UserRole <String>]: onenoteUserRole
 
PARENTSECTION <IMicrosoftGraphOnenoteSection1>: onenoteSection
  [(Any) <Object>]: This indicates any property can be added to this object.
  [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    [(Any) <Object>]: This indicates any property can be added to this object.
    [Application <IMicrosoftGraphIdentity>]: identity
      [(Any) <Object>]: This indicates any property can be added to this object.
      [DisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      [Id <String>]: Unique identifier for the identity.
    [Device <IMicrosoftGraphIdentity>]: identity
    [User <IMicrosoftGraphIdentity>]: identity
  [DisplayName <String>]: The name of the notebook.
  [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
  [Self <String>]: The endpoint where you can get details about the page. Read-only.
  [Id <String>]: Read-only.
  [IsDefault <Boolean?>]: Indicates whether this is the user's default section. Read-only.
  [Links <IMicrosoftGraphSectionLinks>]: sectionLinks
    [(Any) <Object>]: This indicates any property can be added to this object.
    [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [(Any) <Object>]: This indicates any property can be added to this object.
      [Href <String>]: The url of the link.
    [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
  [Pages <IMicrosoftGraphOnenotePage1[]>]: The collection of pages in the section. Read-only. Nullable.
    [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Self <String>]: The endpoint where you can get details about the page. Read-only.
    [Id <String>]: Read-only.
    [Content <Byte[]>]: The page's HTML content.
    [ContentUrl <String>]: The URL for the page's HTML content. Read-only.
    [CreatedByAppId <String>]: The unique identifier of the application that created the page. Read-only.
    [LastModifiedDateTime <DateTime?>]: The date and time when the page was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
    [Level <Int32?>]: The indentation level of the page. Read-only.
    [Links <IMicrosoftGraphPageLinks>]: pageLinks
      [(Any) <Object>]: This indicates any property can be added to this object.
      [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
      [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
    [Order <Int32?>]: The order of the page within its parent section. Read-only.
    [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
      [(Any) <Object>]: This indicates any property can be added to this object.
      [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [DisplayName <String>]: The name of the notebook.
      [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
      [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
      [Self <String>]: The endpoint where you can get details about the page. Read-only.
      [Id <String>]: Read-only.
      [IsDefault <Boolean?>]: Indicates whether this is the user's default notebook. Read-only.
      [IsShared <Boolean?>]: Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only.
      [Links <IMicrosoftGraphNotebookLinks>]: notebookLinks
        [(Any) <Object>]: This indicates any property can be added to this object.
        [OneNoteClientUrl <IMicrosoftGraphExternalLink>]: externalLink
        [OneNoteWebUrl <IMicrosoftGraphExternalLink>]: externalLink
      [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the notebook. Read-only. Nullable.
        [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [DisplayName <String>]: The name of the notebook.
        [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
        [LastModifiedDateTime <DateTime?>]: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [CreatedDateTime <DateTime?>]: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        [Self <String>]: The endpoint where you can get details about the page. Read-only.
        [Id <String>]: Read-only.
        [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
        [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
        [SectionGroups <IMicrosoftGraphSectionGroup1[]>]: The section groups in the section. Read-only. Nullable.
        [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only.
        [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the section group. Read-only. Nullable.
        [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the section group. Read-only.
      [SectionGroupsUrl <String>]: The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only.
      [Sections <IMicrosoftGraphOnenoteSection1[]>]: The sections in the notebook. Read-only. Nullable.
      [SectionsUrl <String>]: The URL for the sections navigation property, which returns all the sections in the notebook. Read-only.
      [UserRole <String>]: onenoteUserRole
    [ParentSection <IMicrosoftGraphOnenoteSection1>]: onenoteSection
    [Title <String>]: The title of the page.
    [UserTags <String[]>]:
  [PagesUrl <String>]: The pages endpoint where you can get details for all the pages in the section. Read-only.
  [ParentNotebook <IMicrosoftGraphNotebook1>]: notebook
  [ParentSectionGroup <IMicrosoftGraphSectionGroup1>]: sectionGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.sites.onenote/new-mgsiteonenotesectionpage
#>

function New-MgSiteOnenoteSectionPage {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Graph.PowerShell.Profile('v1.0')]
param(
    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of onenoteSection
    ${OnenoteSectionId},

    [Parameter(ParameterSetName='Create1', Mandatory)]
    [Parameter(ParameterSetName='CreateExpanded1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: id of site
    ${SiteId},

    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.ISitesOneNoteIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenotePage1]
    # onenotePage
    # To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
    ${BodyParameter},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Collections.Hashtable]
    # Additional Parameters
    ${AdditionalProperties},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Input File for Content (The page's HTML content.)
    ${ContentInputFile},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The URL for the page's HTML content.
    # Read-only.
    ${ContentUrl},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The unique identifier of the application that created the page.
    # Read-only.
    ${CreatedByAppId},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was created.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${CreatedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # Read-only.
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # The date and time when the page was last modified.
    # The timestamp represents date and time information using ISO 8601 format and is always in UTC time.
    # For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
    # Read-only.
    ${LastModifiedDateTime},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Int32]
    # The indentation level of the page.
    # Read-only.
    ${Level},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPageLinks]
    # pageLinks
    # To construct, see NOTES section for LINKS properties and create a hash table.
    ${Links},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Int32]
    # The order of the page within its parent section.
    # Read-only.
    ${Order},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphNotebook1]
    # notebook
    # To construct, see NOTES section for PARENTNOTEBOOK properties and create a hash table.
    ${ParentNotebook},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnenoteSection1]
    # onenoteSection
    # To construct, see NOTES section for PARENTSECTION properties and create a hash table.
    ${ParentSection},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The endpoint where you can get details about the page.
    # Read-only.
    ${Self},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # The title of the page.
    ${Title},

    [Parameter(ParameterSetName='CreateExpanded1')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded1')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String[]]
    # .
    ${UserTags},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Graph.PowerShell.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]</