Skip to main content

MachineAccountEntitlement

Properties​

NameTypeDescriptionNotes
IdStringSystem-generated unique ID of the Object[optional] [readonly]
NameStringName of the Object[required]
CreatedSystem.DateTimeCreation date of the Object[optional] [readonly]
ModifiedSystem.DateTimeLast modification date of the Object[optional] [readonly]
AttributeStringThe name of the account attribute that holds the entitlement.[optional]
ValueStringThe value of the entitlement.[optional]
DescriptionStringThe description of the entitlement.[optional]
SourceSchemaObjectTypeStringThe source schema object type of the entitlement.[optional]
PrivilegedBooleanIndicates whether the entitlement is privileged.[optional] [default to $false]
CloudGovernedBooleanIndicates whether the entitlement is governed in the cloud.[optional] [default to $false]
RequestableBooleanIndicates whether the entitlement can be requested.[optional] [default to $false]
Attributesmap[string]AnyTypeAdditional attributes of the entitlement.[optional]
SourceBaseReferenceDtoThe source the entitlement belongs to.[optional]
OwnerBaseReferenceDtoThe owner of the entitlement.[optional]

Examples​

  • Prepare the resource
$MachineAccountEntitlement = Initialize-MachineAccountEntitlement -Id id12345 `
-Name aName `
-Created 2015-05-28T14:07:17Z `
-Modified 2015-05-28T14:07:17Z `
-Attribute memberOf `
-Value CN=Administrators,CN=Builtin,DC=example,DC=com `
-Description Members can fully administer the domain. `
-SourceSchemaObjectType group `
-Privileged true `
-CloudGoverned false `
-Requestable true `
-Attributes {"groupType":"security"} `
-Source null `
-Owner null
  • Convert the resource to JSON
$MachineAccountEntitlement | ConvertTo-JSON

[Back to top]