Skip to main content

MachineAccountV2AllOfOwners

Properties​

NameTypeDescriptionNotes
PrimaryBaseReferenceDtoThe identity selected as the primary owner.[optional]
Secondary[]BaseReferenceDtoThe secondary owners. Entries are either up to ten identities (type IDENTITY) or one governance group (type GOVERNANCE_GROUP), not both.[optional]

Examples​

  • Prepare the resource
$MachineAccountV2AllOfOwners = Initialize-MachineAccountV2AllOfOwners -Primary null `
-Secondary [{"id":"2c9180858082150f0180893dbaf44202","type":"IDENTITY","name":"Jane Doe"}]
  • Convert the resource to JSON
$MachineAccountV2AllOfOwners | ConvertTo-JSON

[Back to top]