DSCResources/BG_WAPackVMRole/BG_WAPackVMRole.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("WAPackVMRole")]
class BG_WAPackVMRole : OMI_BaseResource
{
    [Key, Description("Cloud Service and VM Role Name")] String Name;
    [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Required, Description("Tenant Public API or Tenant API URL")] String Url;
    [Required, Description("Subscription ID")] String SubscriptionId;
    [Required, EmbeddedInstance("MSFT_Credential"), Description("Credentials to acquire token")] String Credential;
    [Required, Description("VM Role Gallery Item name")] String VMRoleGIName;
    [Write, Description("VM Role Gallery Item Version. Specify if multiple versions are published")] String VMRoleGIVersion;
    [Write, Description("VM Role Gallery Item Publisher. Specify if multiple VM Roles with the same name but different publishers are published")] String VMRoleGIPublisher;
    [Write, ValueMap{"Small","A7","ExtraSmall","Large","A6","Medium","ExtraLarge"}, Values{"Small","A7","ExtraSmall","Large","A6","Medium","ExtraLarge"}] String VMSize;
    [Write, ValueMap{"LatestApplicable","LatestApplicableWithFamilyName","Specified"}, Values{"LatestApplicable","LatestApplicableWithFamilyName","Specified"}] String OSDiskSearch;
    [Write] String OSDiskFamilyName;
    [Write] String OSDiskRelease;
    [Required] String NetworkReference;
    [Write, EmbeddedInstance("MSFT_KeyValuePair")] String VMRoleParameters[];
    [Required, ValueMap{"ASPNET","ADFS"}, Values{"ASPNET","ADFS"}] String TokenSource;
    [Required] String TokenUrl;
    [Write, Description("Specify custom port to acquire token. Defaults for ADFS: 443, ASP.Net: 30071")] Uint16 TokenPort;
    [Write, Description("Specify API port. Default: 30006")] Uint16 Port;
};