Api/ServicesApi.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 Add create site service .DESCRIPTION No description available. .PARAMETER CreateSiteService No description available. .OUTPUTS UUID #> function Add-CreateListService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateSiteService} ) Process { 'Calling method: Add-CreateListService' | 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 = '/services/createsite' $LocalVarBodyParameter = $CreateSiteService | 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 change group setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeGroupSettingService #> function Get-ChangeGroupSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeGroupSettingService' | 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 = '/services/changegroupsetting/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeGroupSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeGroupSettingService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change list setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeListSettingService #> function Get-ChangeListSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeListSettingService' | 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 = '/services/changelistsetting/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeListSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeListSettingService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangePermissionService #> function Get-ChangePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangePermissionService' | 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 = '/services/changepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangePermissionService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site contact service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeSiteContactService #> function Get-ChangeSiteContactService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeSiteContactService' | 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 = '/services/changesitecontact/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSiteContactService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeSiteContactService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change site setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeSiteSettingService #> function Get-ChangeSiteSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeSiteSettingService' | 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 = '/services/changesitesetting/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeSiteSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeSiteSettingService" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change web contact service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeWebContactService #> function Get-ChangeWebContactService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeWebContactService' | 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 = '/services/changewebcontact/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeWebContactService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeWebContactService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get change web setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ChangeWebSettingService #> function Get-ChangeWebSettingsService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ChangeWebSettingsService' | 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 = '/services/changewebsettings/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getChangeWebSettingsService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ChangeWebSettingService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get clone permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ClonePermissionService #> function Get-ClonePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ClonePermissionService' | 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 = '/services/clonepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getClonePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ClonePermissionService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get content move profiles from cloud management .DESCRIPTION No description available. .OUTPUTS ContentMoveProfiles #> function Get-ContentMoveProfiles { [CmdletBinding()] Param ( ) Process { 'Calling method: Get-ContentMoveProfiles' | 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 = '/services/contentmove/profiles' 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 "ContentMoveProfiles" return $LocalVarResult["Response"] } } <# .SYNOPSIS get content move service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ContentMoveService #> function Get-ContentMoveService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ContentMoveService' | 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 = '/services/contentmove/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getContentMoveService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ContentMoveService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create group service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS CreateGroupService #> function Get-CreateGroupService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-CreateGroupService' | 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 = '/services/creategroup/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateGroupService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "CreateGroupService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create list service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS CreateListService #> function Get-CreateListService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-CreateListService' | 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 = '/services/createlist/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateListService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "CreateListService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create site service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS CreateSiteService #> function Get-CreateSiteService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-CreateSiteService' | 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 = '/services/createsite/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateSiteService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "CreateSiteService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get create web service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS CreateWebService #> function Get-CreateWebService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-CreateWebService' | 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 = '/services/createweb/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCreateWebService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "CreateWebService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get custom service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ServiceForRequest #> function Get-CustomService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-CustomService' | 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 = '/services/custom/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getCustomService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ServiceForRequest" return $LocalVarResult["Response"] } } <# .SYNOPSIS get grant permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS GrantPermissionService #> function Get-GrantPermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-GrantPermissionService' | 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 = '/services/grantpermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getGrantPermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "GrantPermissionService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get group lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS GroupLifecycleService #> function Get-GroupLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-GroupLifecycleService' | 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 = '/services/grouplifecycle/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getGroupLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "GroupLifecycleService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get the group policy expiration setting .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS PolicyExpirationSettingModel #> function Get-GroupPolicyExpirationSetting { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-GroupPolicyExpirationSetting' | 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 = '/services/grouplifecycle/{id}/policyexpirationsetting' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getGroupPolicyExpirationSetting." } $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 "PolicyExpirationSettingModel" return $LocalVarResult["Response"] } } <# .SYNOPSIS get manage permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS ManagePermissionService #> function Get-ManagePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-ManagePermissionService' | 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 = '/services/managepermission/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getManagePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "ManagePermissionService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get configued quick services that can be used to start a request .DESCRIPTION No description available. .OUTPUTS ServiceList[] #> function Get-MyQuickServices { [CmdletBinding()] Param ( ) Process { 'Calling method: Get-MyQuickServices' | 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 = '/services/my/quick' 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 "ServiceList[]" return $LocalVarResult["Response"] } } <# .SYNOPSIS get services that can be used to start a request .DESCRIPTION No description available. .PARAMETER Search No description available. .OUTPUTS ServiceListPageResult #> function Get-MyServices { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Search} ) Process { 'Calling method: Get-MyServices' | 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 = '/services/my' $LocalVarQueryParameters['search'] = $Search 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 "ServiceListPageResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS get services that can be used to start a request within context .DESCRIPTION No description available. .PARAMETER Objecttype No description available. .PARAMETER Objectid No description available. .PARAMETER Search No description available. .OUTPUTS ServiceListPageResult #> function Get-MyServicesWithContext { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Objecttype}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Objectid}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [String] ${Search} ) Process { 'Calling method: Get-MyServicesWithContext' | 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 = '/services/my/workspace/{objecttype}/{objectid}' if (!$Objecttype) { throw "Error! The required parameter `Objecttype` missing when calling getMyServicesWithContext." } $LocalVarUri = $LocalVarUri.replace('{objecttype}', $Objecttype) if (!$Objectid) { throw "Error! The required parameter `Objectid` missing when calling getMyServicesWithContext." } $LocalVarUri = $LocalVarUri.replace('{objectid}', $Objectid) $LocalVarQueryParameters['search'] = $Search 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 "ServiceListPageResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS get site lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS SiteLifecycleService #> function Get-SiteLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-SiteLifecycleService' | 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 = '/services/sitelifecycle/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getSiteLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "SiteLifecycleService" return $LocalVarResult["Response"] } } <# .SYNOPSIS get the site collection policy expiration setting .DESCRIPTION No description available. .PARAMETER Id No description available. .OUTPUTS PolicyExpirationSettingModel #> function Get-SitePolicyExpirationSetting { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id} ) Process { 'Calling method: Get-SitePolicyExpirationSetting' | 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 = '/services/sitelifecycle/{id}/policyexpirationsetting' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getSitePolicyExpirationSetting." } $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 "PolicyExpirationSettingModel" return $LocalVarResult["Response"] } } <# .SYNOPSIS get web lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER QuestionnaireId No description available. .OUTPUTS WebLifecycleService #> function Get-WebLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${QuestionnaireId} ) Process { 'Calling method: Get-WebLifecycleService' | 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 = '/services/weblifecycle/{id}' if (!$Id) { throw "Error! The required parameter `Id` missing when calling getWebLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarQueryParameters['questionnaireId'] = $QuestionnaireId 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 "WebLifecycleService" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change group setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER ChangeGroupSettingValidationParameter No description available. .OUTPUTS ChangeGroupSettingCheckResult #> function Invoke-ValidateForChangeGroupSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ChangeGroupSettingValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeGroupSettingService' | 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 = '/services/changegroupsetting/{id}/group/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeGroupSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $ChangeGroupSettingValidationParameter | 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 "ChangeGroupSettingCheckResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change list setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangeListSettingValidateResult #> function Invoke-ValidateForChangeListSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeListSettingService' | 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 = '/services/changelistsetting/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeListSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangeListSettingValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangePermissionValidateResult #> function Invoke-ValidateForChangePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangePermissionService' | 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 = '/services/changepermission/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangePermissionValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change site contact service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangeSiteContactValidateResult #> function Invoke-ValidateForChangeSiteContactService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeSiteContactService' | 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 = '/services/changesitecontact/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeSiteContactService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangeSiteContactValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change site setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangeSiteSettingValidateResult #> function Invoke-ValidateForChangeSiteSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeSiteSettingService' | 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 = '/services/changesitesetting/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeSiteSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangeSiteSettingValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change web contact service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangeWebContactValidateResult #> function Invoke-ValidateForChangeWebContactService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeWebContactService' | 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 = '/services/changewebcontact/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeWebContactService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangeWebContactValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for change web setting service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ChangeWebUrlValidateResult #> function Invoke-ValidateForChangeWebSettingService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForChangeWebSettingService' | 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 = '/services/changewebsettings/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForChangeWebSettingService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ChangeWebUrlValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for clone permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ClonePermissionValidateResult #> function Invoke-ValidateForClonePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForClonePermissionService' | 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 = '/services/clonepermission/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForClonePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ClonePermissionValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for content move service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ContentMoveUrlValidationResult #> function Invoke-ValidateForContentMoveService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForContentMoveService' | 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 = '/services/contentmove/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForContentMoveService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ContentMoveUrlValidationResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for create list service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER ListValidationParameter No description available. .OUTPUTS CreateListUrlValidationResult #> function Invoke-ValidateForCreateListService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${ListValidationParameter} ) Process { 'Calling method: Invoke-ValidateForCreateListService' | 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 = '/services/createlist/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForCreateListService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $ListValidationParameter | 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 "CreateListUrlValidationResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for create web service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER CreateWebValidationParameter No description available. .OUTPUTS CreateWebUrlValidationResult #> function Invoke-ValidateForCreateWebService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${CreateWebValidationParameter} ) Process { 'Calling method: Invoke-ValidateForCreateWebService' | 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 = '/services/createweb/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForCreateWebService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $CreateWebValidationParameter | 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 "CreateWebUrlValidationResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for grant permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS GrantPermissionUrlValidationResult #> function Invoke-ValidateForGrantPermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForGrantPermissionService' | 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 = '/services/grantpermission/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForGrantPermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "GrantPermissionUrlValidationResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for group lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER GroupValidationParameter No description available. .OUTPUTS GroupLifecycleValidateResult #> function Invoke-ValidateForGroupLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${GroupValidationParameter} ) Process { 'Calling method: Invoke-ValidateForGroupLifecycleService' | 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 = '/services/grouplifecycle/{id}/group/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForGroupLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $GroupValidationParameter | 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 "GroupLifecycleValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for manage permission service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS ManagePermissionValidateResult #> function Invoke-ValidateForManagePermissionService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForManagePermissionService' | 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 = '/services/managepermission/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForManagePermissionService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "ManagePermissionValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for site lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS SiteLifecycleValidateResult #> function Invoke-ValidateForSiteLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForSiteLifecycleService' | 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 = '/services/sitelifecycle/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForSiteLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "SiteLifecycleValidateResult" return $LocalVarResult["Response"] } } <# .SYNOPSIS validate permissions, scope for web lifecycle service .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER SiteValidationParameter No description available. .OUTPUTS WebLifecycleValidateResult #> function Invoke-ValidateForWebLifecycleService { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] [PSCustomObject] ${SiteValidationParameter} ) Process { 'Calling method: Invoke-ValidateForWebLifecycleService' | 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 = '/services/weblifecycle/{id}/url/validation' if (!$Id) { throw "Error! The required parameter `Id` missing when calling validateForWebLifecycleService." } $LocalVarUri = $LocalVarUri.replace('{id}', $Id) $LocalVarBodyParameter = $SiteValidationParameter | 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 "WebLifecycleValidateResult" return $LocalVarResult["Response"] } } |