OptionalpolicySetName: stringpolicy export interface
Export policy set
policy set name
Optionaloptions: PolicySetExportOptions
export options
a promise that resolves to an PolicySetExportInterface object
Export policy sets
Optionaloptions: PolicySetExportOptions
export options
OptionalresultCallback: ResultCallback<PolicySetSkeleton>
Optional callback to process individual results. When given, the outcome of every policy set is passed to it as it happens: a policy set that was exported completely as the policy set, a policy set whose prerequisites or dependencies could not be exported as an error that names the policy set and carries the cause. Such a policy set is left out of the export and does not stop the others, and the function does not throw for it. Without it, the failures are collected and thrown as one error after every policy set was tried. Failing to read the policy sets always throws.
a promise that resolves to an PolicySetExportInterface object
Import first policy set
import data
Optionaloptions: PolicySetImportOptions
import options
the imported policy set, or null if no update was made
Import policy set
policy set name
import data
Optionaloptions: PolicySetImportOptions
import options
the imported policy set, or null if no update was made
Import policy sets
import data
Optionaloptions: PolicySetImportOptions
import options
OptionalresultCallback: ResultCallback<PolicySetSkeleton>
Optional callback to process individual results. When given, the outcome of every policy set is passed to it once, as it happens: a policy set that was imported completely as the policy set (a policy set that needed no update as it is in the import data), a policy set that could not be imported, or whose prerequisites or dependencies could not be imported, as one error that names the policy set and carries the causes. Such a policy set is not part of the result and does not stop the others, and the function does not throw for it. Without it, the failures are collected and thrown as one error after every policy set was tried.
The imported policy sets
Read policy set
policy set name
a promise that resolves to a policy set object
Read all policy sets
a promise that resolves to an array of policy set objects
Update policy set
OptionalpolicySetName: string
optional policy set name
the updated policy set, or null if no update was made
Create policy export template