Skip to main content

Provisioningconfig

Properties

NameTypeDescriptionNotes
UniversalManagerBooleanSpecifies whether this configuration is used to manage provisioning requests for all sources from the org. If true, no managedResourceRefs are allowed.[optional] [readonly] [default to $false]
ManagedResourceRefs[]ServicedesksourceReferences to sources for the Service Desk integration template. May only be specified if universalManager is false.[optional]
PlanInitializerScriptProvisioningconfigPlanInitializerScript[optional]
NoProvisioningRequestsBooleanName of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration.[optional] [default to $false]
ProvisioningRequestExpirationInt32When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation.[optional]

Examples

  • Prepare the resource
$Provisioningconfig = Initialize-Provisioningconfig  -UniversalManager true `
-ManagedResourceRefs [{"type":"SOURCE","id":"2c9180855d191c59015d291ceb051111","name":"My Source 1"},{"type":"SOURCE","id":"2c9180855d191c59015d291ceb052222","name":"My Source 2"}] `
-PlanInitializerScript null `
-NoProvisioningRequests true `
-ProvisioningRequestExpiration 7
  • Convert the resource to JSON
$Provisioningconfig | ConvertTo-JSON

[Back to top]