Skip to main content

SubtypeProvisioningPolicy

Properties​

NameTypeDescriptionNotes
IdStringSystem-generated unique ID of the provisioning policy. Must not be supplied on create.[optional] [readonly]
SubtypeIdStringID of the subtype the policy belongs to. Must not be supplied on create.[optional] [readonly]
NameStringName of the provisioning policy. Defaults to the subtype's display name when omitted or blank.[optional]
DescriptionStringDescription of the provisioning policy.[optional]
UsageTypeEnum [ "CREATE_MACHINE_ACCOUNT" ]Usage type of the provisioning policy. Only CREATE_MACHINE_ACCOUNT is supported.[optional] [default to "CREATE_MACHINE_ACCOUNT"]
Fields[]SubtypeProvisioningPolicyFieldFields of the provisioning policy. Every field must have a non-blank name. When two fields share a name, only the first is kept.[optional]

Examples​

  • Prepare the resource
$SubtypeProvisioningPolicy = Initialize-SubtypeProvisioningPolicy -Id d7ae9ea3-507f-4d00-9d4f-b4464b344b88 `
-SubtypeId 43bdd144-4b17-4fce-a744-17c7fd3e717b `
-Name Service Account `
-Description Fields collected when creating a service account. `
-UsageType CREATE_MACHINE_ACCOUNT `
-Fields null
  • Convert the resource to JSON
$SubtypeProvisioningPolicy | ConvertTo-JSON

[Back to top]