Skip to main content

Backupoptions

Properties

NameTypeDescriptionNotes
IncludeTypes[]StringObject type names to be included in a Configuration Hub backup command.[optional]
ObjectOptionsmap[string]ObjectexportimportnamesAdditional options targeting specific objects related to each item in the includeTypes field.[optional]

Examples

  • Prepare the resource
$Backupoptions = Initialize-Backupoptions  -IncludeTypes null `
-ObjectOptions {"TRIGGER_SUBSCRIPTION":{"includedNames":["Trigger Subscription name"]}}
  • Convert the resource to JSON
$Backupoptions | ConvertTo-JSON

[Back to top]