Skip to main content

SourceDataset

Properties

NameTypeDescriptionNotes
IdStringDataset identifier. Server-generated on create.[optional] [readonly]
NameStringDisplay name of the dataset. Required on create.[optional]
DescriptionStringDescription of the dataset.[optional]
AggregationEnabledBooleanWhether aggregation is enabled for this dataset on the source.[optional] [default to $false]
Resources[]SourceDatasetResourceReferenceSimplified resource references associated with this dataset.[optional]

Examples

  • Prepare the resource
$SourceDataset = Initialize-SourceDataset -Id cmdb-servicenow:applications `
-Name Applications `
-Description CMDB application records for this source. `
-AggregationEnabled true `
-Resources null
  • Convert the resource to JSON
$SourceDataset | ConvertTo-JSON

[Back to top]