New-GovernanceErrorSettings
Creates the error settings for the tenant if it's not already created.
Syntax
Default (Default)
New-GovernanceErrorSettings
-TenantId <String>
-ErrorSettings <Object>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The New-GovernanceErrorSettings cmdlet creates error settings for the tenant. Use Get-Help New-GovernanceErrorSettings -Examples for more detail.
Examples
EXAMPLE 1
New-GovernanceErrorSettings -TenantId $TenantId -ErrorSettings $ErrorSettings
Creates the error settings for the tenant based on the $ErrorSettings object.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
| Type: | String |
| Default value: | 2020-06-01 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ErrorSettings
The error settings object.
Parameter properties
| Type: | Object |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-TenantId
The tenant identifier.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.