Skip to main content

JITNotificationConfigCreateRequest

Properties​

NameTypeDescriptionNotes
SubTypeStringNotification kind. Canonical values are activationReady, activationExtended, activationFailed, activationEndingSoon, and activationDeactivated. Other strings are stored. When this field is omitted or null, the service stores JITActivationEmail.[optional]
SendTo[]StringRecipient roles. Known values are user, userManager, policyOwner, entitlementOwner, sourceOwner, identity, and governanceGroup. Omit the field or send an empty array. The service stores an empty list.[optional]
Identities[]StringIdentity ids used when sendTo contains identity. Omitted is stored as null.[optional]
GovernanceGroups[]StringGovernance group ids used when sendTo contains governanceGroup. Omitted is stored as null.[optional]
EnabledBooleanSend toggle. Explicit false suppresses the notification. Omit the field to leave it active. The service stores true when the field is omitted.[optional] [default to $true]

Examples​

  • Prepare the resource
$JITNotificationConfigCreateRequest = Initialize-JITNotificationConfigCreateRequest -SubType activationReady `
-SendTo ["user","userManager"] `
-Identities ["2c9180837dfe6949017e208e25967b22"] `
-GovernanceGroups ["7c2e1b44-1d0a-4f6e-9b3c-5a8d0e1f2468"] `
-Enabled true
  • Convert the resource to JSON
$JITNotificationConfigCreateRequest | ConvertTo-JSON

[Back to top]