DSCResources/DSC_CMBoundaryGroups/DSC_CMBoundaryGroups.schema.mof

[ClassVersion("1.0.0"), FriendlyName("CMBoundaryGroups")]
class DSC_CMBoundaryGroups : OMI_BaseResource
{
    [Key, Description("Specifies the SiteCode for the Configuration Manager site.")] String SiteCode;
    [Key, Description("Specifies the name of the Boundary Group.")] String BoundaryGroup;
    [Write, EmbeddedInstance("DSC_CMBoundaryGroupsBoundaries"), Description("Specifies an array of Boundaries to add or remove.")] String Boundaries[];
    [Write, Description("Specifies the Boundaries are to match, add, or remove Boundaries from the Boundary Group."), ValueMap{"Match","Add","Remove"}, Values{"Match","Add","Remove"}] String BoundaryAction;
    [Write, Description("Specifies an array of SiteSystems to match on the Boundary Group.")] String SiteSystems[];
    [Write, Description("Specifies an array of SiteSystems to add to the Boundary Group.")] String SiteSystemsToInclude[];
    [Write, Description("Specifies an array of SiteSystems to remove from the Boundary Group.")] String SiteSystemsToExclude[];
    [Write, Description("Specifies an array of Security Scopes to match to the Boundary Group.")] String SecurityScopes[];
    [Write, Description("Specifies an array of Security Scopes to add to the Boundary Group.")] String SecurityScopesToInclude[];
    [Write, Description("Specifies an array of Security Scopes to remove from the Boundary Group.")] String SecurityScopesToExclude[];
    [Write, Description("Specifies whether the Boundary Group is present or absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
};
 
[ClassVersion("1.0.0")]
class DSC_CMBoundaryGroupsBoundaries
{
     [Required, Description("Specifies the value of the Boundary")] String Value;
     [Required, Description("Specifies the type of Boundary"), ValueMap {"ADSite","IPSubnet","IPRange"}, Values {"ADSite","IPSubnet","IPRange"}] String Type;
};