Api/RequestsApi.ps1
# # Cloud Governance Api # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # Version: 1.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # <# .SYNOPSIS cancel request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS None #> function Invoke-CancelRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Invoke-CancelRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration $LocalVarUri = '/requests/{id}/cancel' if (!$Id) { throw "Error! The required parameter `Id` missing when calling cancelRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "" return $LocalVarResult["Response"] } } <# .SYNOPSIS get archive group request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ArchiveGroupRequest #> function Get-ArchiveGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ArchiveGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/archivegroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getArchiveGroupRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ArchiveGroupRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get archive site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ArchiveSiteRequest #> function Get-ArchiveSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ArchiveSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/archivesite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getArchiveSiteRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ArchiveSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get archive web request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ArchiveWebLifecycleRequest #> function Get-ArchiveWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ArchiveWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/archiveweb/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getArchiveWebRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ArchiveWebLifecycleRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change group policy request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeGroupPolicyRequest #> function Get-ChagneGroupPolicyRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChagneGroupPolicyRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changegrouppolicy/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChagneGroupPolicyRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeGroupPolicyRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change group quota request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeGroupQuotaRequest #> function Get-ChangeGroupQuotaRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeGroupQuotaRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changegroupquota/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeGroupQuotaRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeGroupQuotaRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change group settings request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeGroupSettingRequest #> function Get-ChangeGroupSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeGroupSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changegroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeGroupSettingRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeGroupSettingRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change list settings request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeListSettingRequest #> function Get-ChangeListSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeListSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changelistsetting/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeListSettingRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeListSettingRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change permission request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangePermissionRequest #> function Get-ChangePermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangePermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangePermissionRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangePermissionRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site administrator or contact request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeSiteContactRequest #> function Get-ChangeSiteContactRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeSiteContactRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changesite/adminorcontact/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSiteContactRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeSiteContactRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site policy request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeSitePolicyRequest #> function Get-ChangeSitePolicyRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeSitePolicyRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changesitepolicy/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSitePolicyRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeSitePolicyRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site quota request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeSiteQuotaRequest #> function Get-ChangeSiteQuotaRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeSiteQuotaRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changesitequota/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSiteQuotaRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeSiteQuotaRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site settings request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeSiteSettingRequest #> function Get-ChangeSiteSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeSiteSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changesite/setting/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSiteSettingRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeSiteSettingRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change web contact request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeWebContactRequest #> function Get-ChangeWebContactRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeWebContactRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changewebcontact/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeWebContactRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeWebContactRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change web settings request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ChangeWebSettingRequest #> function Get-ChangeWebSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ChangeWebSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changewebsettings/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeWebSettingRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ChangeWebSettingRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get changed permission items .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER Filter Use **eq**(equal) or **ne**(not equal) to filter the results (e.g. field1 eq 'value1' and field2 ne 'value2'), supported fields :<br/> id, idInSharepoint, accountType, displayName, level, memberOf, path, permissionLevel, sharePointGroup, titleName, userOrGroup, memberId, parentId, parentAccountType, actionType, accessType, isSiteAdministrator .PARAMETER Orderby Order by one field, supported fields:<br/> id, idInSharepoint, accountType, displayName, level, memberOf, path, permissionLevel, sharePointGroup, titleName, userOrGroup, memberId, parentId, parentAccountType, actionType, accessType, isSiteAdministrator .PARAMETER Search Search for displayName .PARAMETER Top Define the number of records you want to return, max value is 200, default value is 200 .PARAMETER Skip Define the number of records you want to skip, default value is 0 .OUTPUTS PermissionChangedActionItemPageResult #> function Get-ChangedPermissionItems { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Filter}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Orderby}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Search}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Top}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Skip} ) Process { 'Calling method: Get-ChangedPermissionItems' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changepermission/{id}/result' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangedPermissionItems." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['filter'] = $Filter $LocalVarQueryParameters['orderby'] = $Orderby $LocalVarQueryParameters['search'] = $Search $LocalVarQueryParameters['top'] = $Top $LocalVarQueryParameters['skip'] = $Skip if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "PermissionChangedActionItemPageResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS get clone permission request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ClonePermissionRequest #> function Get-ClonePermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ClonePermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/clonepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getClonePermissionRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ClonePermissionRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get content move request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ContentMoveRequest #> function Get-ContentMoveRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ContentMoveRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/contentmove/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getContentMoveRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ContentMoveRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create group request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS CreateGroupRequest #> function Get-CreateGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-CreateGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/creategroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateGroupRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "CreateGroupRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create list request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS CreateListRequest #> function Get-CreateListRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-CreateListRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/createlist/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateListRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "CreateListRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS CreateSiteRequest #> function Get-CreateSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-CreateSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/createsite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateSiteRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "CreateSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create web request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS CreateWebRequest #> function Get-CreateWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-CreateWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/createweb/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateWebRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "CreateWebRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get custom service request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ApiRequest #> function Get-CustomRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-CustomRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/custom/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCustomRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ApiRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get delete group request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS DeleteGroupRequest #> function Get-DeleteGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-DeleteGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/deletegroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getDeleteGroupRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "DeleteGroupRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get delete site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS DeleteSiteRequest #> function Get-DeleteSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-DeleteSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/deletesite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getDeleteSiteRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "DeleteSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get delete web request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS DeleteWebLifecycleRequest #> function Get-DeleteWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-DeleteWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/deleteweb/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getDeleteWebRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "DeleteWebLifecycleRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get extend group request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ExtendGroupRequest #> function Get-ExtendGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ExtendGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/extendgroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getExtendGroupRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ExtendGroupRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get extend site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ExtendSiteRequest #> function Get-ExtendSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ExtendSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/extendsite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getExtendSiteRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ExtendSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get grant permission request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS GrantPermissionRequest #> function Get-GrantPermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-GrantPermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/grantpermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getGrantPermissionRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "GrantPermissionRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get inherited sites for change permissin request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS SecuritySearchResult[] #> function Get-InheritedSitesForChangePermission { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-InheritedSitesForChangePermission' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/changepermission/{id}/inheritedsites' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getInheritedSitesForChangePermission." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "SecuritySearchResult[]" return $LocalVarResult["Response"] } } <# .SYNOPSIS get lock site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS LockSiteRequest #> function Get-LockSiteReuqest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-LockSiteReuqest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/locksite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getLockSiteReuqest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "LockSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get manage permission request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ManagePermissionRequest #> function Get-ManagePermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-ManagePermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/managepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getManagePermissionRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ManagePermissionRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS Get my requests filters .DESCRIPTION No description available. .PARAMETER Filter Use **eq**(equal) or **ne**(not equal) to filter the results (e.g. field1 eq 'value1' and field2 ne 'value2'), supported fields :<br/> id, serviceId, serviceName, serviceType, ticketNumber, summary, status, processStatus, modified, submitStatus, assigned, serviceAdmin, enabledCopy .PARAMETER Distinct Get the unique values for one field, supported fields:<br/> id, serviceId, serviceName, serviceType, ticketNumber, summary, status, processStatus, modified, submitStatus, assigned, serviceAdmin, enabledCopy .PARAMETER Top Define the number of records you want to return, max value is 200, default value is 200 .PARAMETER Skip Define the number of records you want to skip, default value is 0 .OUTPUTS DistinctPageResult #> function Get-MyRequestFilters { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Filter}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Distinct}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Top}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Skip} ) Process { 'Calling method: Get-MyRequestFilters' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/my/filters' $LocalVarQueryParameters['filter'] = $Filter $LocalVarQueryParameters['distinct'] = $Distinct $LocalVarQueryParameters['top'] = $Top $LocalVarQueryParameters['skip'] = $Skip if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "DistinctPageResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS get my requests .DESCRIPTION No description available. .PARAMETER Filter Use **eq**(equal) or **ne**(not equal) to filter the results (e.g. field1 eq 'value1' and field2 ne 'value2'), supported fields :<br/> id, serviceId, serviceName, serviceType, ticketNumber, summary, status, processStatus, modified, submitStatus, assigned, serviceAdmin, enabledCopy .PARAMETER Orderby Order by one field, supported fields:<br/> id, serviceId, serviceName, serviceType, ticketNumber, summary, status, processStatus, modified, submitStatus, assigned, serviceAdmin, enabledCopy .PARAMETER Search Search for summary .PARAMETER Top Define the number of records you want to return, max value is 200, default value is 200 .PARAMETER Skip Define the number of records you want to skip, default value is 0 .OUTPUTS RequestListPageResult #> function Get-MyRequests { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Filter}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Orderby}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Search}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Top}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [System.Nullable[Int32]] ${Skip} ) Process { 'Calling method: Get-MyRequests' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/my' $LocalVarQueryParameters['filter'] = $Filter $LocalVarQueryParameters['orderby'] = $Orderby $LocalVarQueryParameters['search'] = $Search $LocalVarQueryParameters['top'] = $Top $LocalVarQueryParameters['skip'] = $Skip if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "RequestListPageResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS get request by id .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS ApiRequest #> function Get-RequestById { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-RequestById' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getRequestById." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "ApiRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get restore group request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS RestoreGroupRequest #> function Get-RestoreGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-RestoreGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/restoregroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getRestoreGroupRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "RestoreGroupRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get unlock site request .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS UnlockSiteRequest #> function Get-UnlockSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-UnlockSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') $LocalVarUri = '/requests/unlocksite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getUnlockSiteRequest." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'GET' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UnlockSiteRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit archive group group request .DESCRIPTION No description available. .PARAMETER ArchiveGroupRequest No description available. .OUTPUTS UUID #> function Submit-ArchiveGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ArchiveGroupRequest} ) Process { 'Calling method: Submit-ArchiveGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/archivegroup' $LocalVarBodyParameter = $ArchiveGroupRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit archive site request .DESCRIPTION No description available. .PARAMETER ArchiveSiteRequest No description available. .OUTPUTS UUID #> function Submit-ArchiveSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ArchiveSiteRequest} ) Process { 'Calling method: Submit-ArchiveSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/archivesite' $LocalVarBodyParameter = $ArchiveSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit archive web request .DESCRIPTION No description available. .PARAMETER ArchiveWebLifecycleRequest No description available. .OUTPUTS UUID #> function Submit-ArchiveWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ArchiveWebLifecycleRequest} ) Process { 'Calling method: Submit-ArchiveWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/archiveweb' $LocalVarBodyParameter = $ArchiveWebLifecycleRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change group policy request .DESCRIPTION No description available. .PARAMETER ChangeGroupPolicyRequest No description available. .OUTPUTS UUID #> function Submit-ChangeGroupPolicyRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeGroupPolicyRequest} ) Process { 'Calling method: Submit-ChangeGroupPolicyRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changegrouppolicy' $LocalVarBodyParameter = $ChangeGroupPolicyRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change group quota request .DESCRIPTION No description available. .PARAMETER ChangeGroupQuotaRequest No description available. .OUTPUTS UUID #> function Submit-ChangeGroupQuotaRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeGroupQuotaRequest} ) Process { 'Calling method: Submit-ChangeGroupQuotaRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changegroupquota' $LocalVarBodyParameter = $ChangeGroupQuotaRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change group settings request .DESCRIPTION No description available. .PARAMETER ChangeGroupSettingRequest No description available. .OUTPUTS UUID #> function Submit-ChangeGroupSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeGroupSettingRequest} ) Process { 'Calling method: Submit-ChangeGroupSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changegroup' $LocalVarBodyParameter = $ChangeGroupSettingRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change list settings request .DESCRIPTION No description available. .PARAMETER ChangeListSettingRequest No description available. .OUTPUTS UUID #> function Submit-ChangeListSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeListSettingRequest} ) Process { 'Calling method: Submit-ChangeListSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changelistsetting' $LocalVarBodyParameter = $ChangeListSettingRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change permission request .DESCRIPTION No description available. .PARAMETER ChangePermissionRequest No description available. .OUTPUTS UUID #> function Submit-ChangePermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangePermissionRequest} ) Process { 'Calling method: Submit-ChangePermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changepermission' $LocalVarBodyParameter = $ChangePermissionRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change site administrator or contact request .DESCRIPTION No description available. .PARAMETER ChangeSiteContactRequest No description available. .OUTPUTS UUID #> function Submit-ChangeSiteContactRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeSiteContactRequest} ) Process { 'Calling method: Submit-ChangeSiteContactRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changesite/adminorcontact' $LocalVarBodyParameter = $ChangeSiteContactRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change site policy request .DESCRIPTION No description available. .PARAMETER ChangeSitePolicyRequest No description available. .OUTPUTS UUID #> function Submit-ChangeSitePolicyRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeSitePolicyRequest} ) Process { 'Calling method: Submit-ChangeSitePolicyRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changesitepolicy' $LocalVarBodyParameter = $ChangeSitePolicyRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change site quota request .DESCRIPTION No description available. .PARAMETER ChangeSiteQuotaRequest No description available. .OUTPUTS UUID #> function Submit-ChangeSiteQuotaRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeSiteQuotaRequest} ) Process { 'Calling method: Submit-ChangeSiteQuotaRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changesitequota' $LocalVarBodyParameter = $ChangeSiteQuotaRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change site settings request .DESCRIPTION No description available. .PARAMETER ChangeSiteSettingRequest No description available. .OUTPUTS UUID #> function Submit-ChangeSiteSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeSiteSettingRequest} ) Process { 'Calling method: Submit-ChangeSiteSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changesite/setting' $LocalVarBodyParameter = $ChangeSiteSettingRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change web contact request .DESCRIPTION No description available. .PARAMETER ChangeWebContactRequest No description available. .OUTPUTS UUID #> function Submit-ChangeWebContactRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeWebContactRequest} ) Process { 'Calling method: Submit-ChangeWebContactRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changewebcontact' $LocalVarBodyParameter = $ChangeWebContactRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit change web settings request .DESCRIPTION No description available. .PARAMETER ChangeWebSettingRequest No description available. .OUTPUTS UUID #> function Submit-ChangeWebSettingRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeWebSettingRequest} ) Process { 'Calling method: Submit-ChangeWebSettingRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/changewebsettings' $LocalVarBodyParameter = $ChangeWebSettingRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS get clone permission request .DESCRIPTION No description available. .PARAMETER ClonePermissionRequest No description available. .OUTPUTS UUID #> function Submit-ClonePermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ClonePermissionRequest} ) Process { 'Calling method: Submit-ClonePermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/clonepermission' $LocalVarBodyParameter = $ClonePermissionRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit create content move request .DESCRIPTION No description available. .PARAMETER ContentMoveRequest No description available. .OUTPUTS UUID #> function Submit-ContentMoveRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ContentMoveRequest} ) Process { 'Calling method: Submit-ContentMoveRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/contentmove' $LocalVarBodyParameter = $ContentMoveRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit create group request .DESCRIPTION No description available. .PARAMETER CreateGroupRequest No description available. .OUTPUTS UUID #> function Submit-CreateGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateGroupRequest} ) Process { 'Calling method: Submit-CreateGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/creategroup' $LocalVarBodyParameter = $CreateGroupRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit create list request .DESCRIPTION No description available. .PARAMETER CreateListRequest No description available. .OUTPUTS UUID #> function Submit-CreateListRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateListRequest} ) Process { 'Calling method: Submit-CreateListRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/createlist' $LocalVarBodyParameter = $CreateListRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit create site request .DESCRIPTION No description available. .PARAMETER CreateSiteRequest No description available. .OUTPUTS UUID #> function Submit-CreateSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateSiteRequest} ) Process { 'Calling method: Submit-CreateSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/createsite' $LocalVarBodyParameter = $CreateSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit create web request .DESCRIPTION No description available. .PARAMETER CreateWebRequest No description available. .OUTPUTS UUID #> function Submit-CreateWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateWebRequest} ) Process { 'Calling method: Submit-CreateWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/createweb' $LocalVarBodyParameter = $CreateWebRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit custom service request .DESCRIPTION No description available. .PARAMETER ApiRequest No description available. .OUTPUTS UUID #> function Submit-CustomRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ApiRequest} ) Process { 'Calling method: Submit-CustomRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/custom' $LocalVarBodyParameter = $ApiRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit delete group request .DESCRIPTION No description available. .PARAMETER DeleteGroupRequest No description available. .OUTPUTS UUID #> function Submit-DeleteGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${DeleteGroupRequest} ) Process { 'Calling method: Submit-DeleteGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/deletegroup' $LocalVarBodyParameter = $DeleteGroupRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit delete site request .DESCRIPTION No description available. .PARAMETER DeleteSiteRequest No description available. .OUTPUTS UUID #> function Submit-DeleteSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${DeleteSiteRequest} ) Process { 'Calling method: Submit-DeleteSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/deletesite' $LocalVarBodyParameter = $DeleteSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit delete web request .DESCRIPTION No description available. .PARAMETER DeleteWebLifecycleRequest No description available. .OUTPUTS UUID #> function Submit-DeleteWebRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${DeleteWebLifecycleRequest} ) Process { 'Calling method: Submit-DeleteWebRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/deleteweb' $LocalVarBodyParameter = $DeleteWebLifecycleRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit extend group request .DESCRIPTION No description available. .PARAMETER ExtendGroupRequest No description available. .OUTPUTS UUID #> function Submit-ExtendGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ExtendGroupRequest} ) Process { 'Calling method: Submit-ExtendGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/extendgroup' $LocalVarBodyParameter = $ExtendGroupRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit extend site request .DESCRIPTION No description available. .PARAMETER ExtendSiteRequest No description available. .OUTPUTS UUID #> function Submit-ExtendSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ExtendSiteRequest} ) Process { 'Calling method: Submit-ExtendSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/extendsite' $LocalVarBodyParameter = $ExtendSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS get submit grant permission request .DESCRIPTION No description available. .PARAMETER GrantPermissionRequest No description available. .OUTPUTS UUID #> function Submit-GrantPermissionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${GrantPermissionRequest} ) Process { 'Calling method: Submit-GrantPermissionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/grantpermission' $LocalVarBodyParameter = $GrantPermissionRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit lock site request .DESCRIPTION No description available. .PARAMETER LockSiteRequest No description available. .OUTPUTS UUID #> function Submit-LockSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${LockSiteRequest} ) Process { 'Calling method: Submit-LockSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/locksite' $LocalVarBodyParameter = $LockSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit manage permission request .DESCRIPTION No description available. .PARAMETER ManagePermissionRequest No description available. .OUTPUTS UUID #> function Submit-ManagePermimssionRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ManagePermissionRequest} ) Process { 'Calling method: Submit-ManagePermimssionRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/managepermission' $LocalVarBodyParameter = $ManagePermissionRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit restore group request .DESCRIPTION No description available. .PARAMETER RestoreGroupRequest No description available. .OUTPUTS UUID #> function Submit-RestoreGroupRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${RestoreGroupRequest} ) Process { 'Calling method: Submit-RestoreGroupRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/restoregroup' $LocalVarBodyParameter = $RestoreGroupRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } <# .SYNOPSIS submit unlock site request .DESCRIPTION No description available. .PARAMETER UnlockSiteRequest No description available. .OUTPUTS UUID #> function Submit-UnlockSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${UnlockSiteRequest} ) Process { 'Calling method: Submit-UnlockSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $LocalVarAccepts = @() $LocalVarContentTypes = @() $LocalVarQueryParameters = @{} $LocalVarHeaderParameters = @{} $LocalVarFormParameters = @{} $LocalVarPathParameters = @{} $LocalVarCookieParameters = @{} $LocalVarBodyParameter $Configuration = Get-Configuration # HTTP header 'Accept' (if needed) $LocalVarAccepts = @('text/plain', 'application/json', 'text/json') # HTTP header 'Content-Type' $LocalVarContentTypes = @('application/json-patch+json', 'application/json', 'text/json', 'application/*+json') $LocalVarUri = '/requests/unlocksite' $LocalVarBodyParameter = $UnlockSiteRequest | ConvertTo-Json if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientId"]) { $LocalVarHeaderParameters['ClientId'] = $Configuration["ApiKey"]["ClientId"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["ClientSecret"]) { $LocalVarHeaderParameters['ClientSecret'] = $Configuration["ApiKey"]["ClientSecret"] } if ($Configuration["ApiKey"] -and $Configuration["ApiKey"]["UserPrincipalName"]) { $LocalVarHeaderParameters['UserPrincipalName'] = $Configuration["ApiKey"]["UserPrincipalName"] } $LocalVarResult = Invoke-ApiClient -Method 'POST' ` -Uri $LocalVarUri ` -Accepts $LocalVarAccepts ` -ContentTypes $LocalVarContentTypes ` -Body $LocalVarBodyParameter ` -HeaderParameters $LocalVarHeaderParameters ` -QueryParameters $LocalVarQueryParameters ` -FormParameters $LocalVarFormParameters ` -CookieParameters $LocalVarCookieParameters ` -ReturnType "UUID" return $LocalVarResult["Response"] } } |