Example #1
0
 /// <summary>
 /// Initializes a new instance of the Formula class.
 /// </summary>
 /// <param name="id">The identifier of the resource.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="location">The location of the resource.</param>
 /// <param name="tags">The tags of the resource.</param>
 /// <param name="description">The description of the formula.</param>
 /// <param name="author">The author of the formula.</param>
 /// <param name="osType">The OS type of the formula.</param>
 /// <param name="creationDate">The creation date of the
 /// formula.</param>
 /// <param name="formulaContent">The content of the formula.</param>
 /// <param name="vm">Information about a VM from which a formula is to
 /// be created.</param>
 /// <param name="provisioningState">The provisioning status of the
 /// resource.</param>
 /// <param name="uniqueIdentifier">The unique immutable identifier of a
 /// resource (Guid).</param>
 public Formula(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string description = default(string), string author = default(string), string osType = default(string), System.DateTime?creationDate = default(System.DateTime?), LabVirtualMachineCreationParameter formulaContent = default(LabVirtualMachineCreationParameter), FormulaPropertiesFromVm vm = default(FormulaPropertiesFromVm), string provisioningState = default(string), string uniqueIdentifier = default(string))
     : base(id, name, type, location, tags)
 {
     Description       = description;
     Author            = author;
     OsType            = osType;
     CreationDate      = creationDate;
     FormulaContent    = formulaContent;
     Vm                = vm;
     ProvisioningState = provisioningState;
     UniqueIdentifier  = uniqueIdentifier;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the Formula class.
 /// </summary>
 public Formula(string description = default(string), string author = default(string), string osType = default(string), DateTime?creationDate = default(DateTime?), LabVirtualMachine formulaContent = default(LabVirtualMachine), FormulaPropertiesFromVm vm = default(FormulaPropertiesFromVm), string provisioningState = default(string), string uniqueIdentifier = default(string), string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Description       = description;
     Author            = author;
     OsType            = osType;
     CreationDate      = creationDate;
     FormulaContent    = formulaContent;
     Vm                = vm;
     ProvisioningState = provisioningState;
     UniqueIdentifier  = uniqueIdentifier;
     Id                = id;
     Name              = name;
     Type              = type;
     Location          = location;
     Tags              = tags;
 }