Skip to main content

Resourcemodel

Properties

NameTypeDescriptionNotes
IdInt64The unique identifier for the resource.[optional]
NameStringThe display name or label for the resource.[optional]
FullPathStringThe full path to the resource within the system or application.[optional]
ApplicationIdInt64The unique identifier of the application to which this resource belongs.[optional]
TypeBusinessservicetype[optional]
Owners[]StringA list of UUIDs representing the owners of the resource.[optional]

Examples

  • Prepare the resource
$Resourcemodel = Initialize-Resourcemodel  -Id 1001 `
-Name Finance Shared Folder `
-FullPath /departments/finance/shared `
-ApplicationId 2001 `
-Type null `
-Owners ["c1a2b3d4-e5f6-7890-abcd-1234567890ab","d4e5f6a7-b8c9-0123-4567-89abcdef0123"]
  • Convert the resource to JSON
$Resourcemodel | ConvertTo-JSON

[Back to top]