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] String VMRoleName; [Write] String VMRoleVersion; [Write] String VMRolePublisher; [Required, ValueMap{"LatestApplicable","LatestApplicableWithFamilyName","Specified"}, Values{"LatestApplicable","LatestApplicableWithFamilyName","Specified"}] String OSDiskSearch; [Required, ValueMap{"Small","A7","ExtraSmall","Large","A6","Medium","ExtraLarge"}, Values{"Small","A7","ExtraSmall","Large","A6","Medium","ExtraLarge"}] String VMSize; [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; }; |