SpConfigObject
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ObjectType | String | Object type the configuration is for. | [optional] |
| ReferenceExtractors | []String | List of JSON paths within an exported object of this type, representing references that must be resolved. | [optional] |
| SignatureRequired | Boolean | Indicates whether this type of object will be JWS signed and cannot be modified before import. | [optional] [default to $false] |
| AlwaysResolveById | Boolean | Indicates whether this object type must be always be resolved by ID. | [optional] [default to $false] |
| LegacyObject | Boolean | Indicates whether this is a legacy object. | [optional] [default to $false] |
| OnePerTenant | Boolean | Indicates whether there is only one object of this type. | [optional] [default to $false] |
| Exportable | Boolean | Indicates whether the object can be exported or is just a reference object. | [optional] [default to $false] |
| Rules | SpConfigRules | [optional] |
Examples
- Prepare the resource
$SpConfigObject = Initialize-BetaSpConfigObject -ObjectType TRIGGER_SUBSCRIPTION `
-ReferenceExtractors [$.owner] `
-SignatureRequired false `
-AlwaysResolveById true `
-LegacyObject false `
-OnePerTenant false `
-Exportable true `
-Rules null
- Convert the resource to JSON
$SpConfigObject | ConvertTo-JSON