/// <summary>
 /// Initializes a new instance of the ProductBase class.
 /// </summary>
 /// <param name="displayName">Name displayed for the product.</param>
 /// <param name="description">Description of the product.</param>
 /// <param name="publisherDisplayName">Name of publisher.</param>
 /// <param name="publisherIdentifier">Publisher identifier.</param>
 /// <param name="offer">Offer name.</param>
 /// <param name="offerVersion">Offer version.</param>
 /// <param name="sku">Product SKU.</param>
 /// <param name="billingPartNumber">Billing part number.</param>
 /// <param name="galleryItemIdentity">Gallery item identity.</param>
 /// <param name="iconUris">Information about gallery icons.</param>
 /// <param name="payloadLength">Size in bytes.</param>
 /// <param name="productKind">The kind. E.g.
 /// VirtualMachineProductProperties.ProductKind or WebApp,
 /// SolutionTemplate.</param>
 /// <param name="productProperties">the product properties. At the
 /// moment only VirtualMachineProductProperties is allowed.</param>
 public ProductBase(string displayName = default(string), string description = default(string), string publisherDisplayName = default(string), string publisherIdentifier = default(string), string offer = default(string), string offerVersion = default(string), string sku = default(string), string billingPartNumber = default(string), string galleryItemIdentity = default(string), GalleryIcons iconUris = default(GalleryIcons), long?payloadLength = default(long?), string productKind = default(string), ProductProperties productProperties = default(ProductProperties))
 {
     DisplayName          = displayName;
     Description          = description;
     PublisherDisplayName = publisherDisplayName;
     PublisherIdentifier  = publisherIdentifier;
     Offer               = offer;
     OfferVersion        = offerVersion;
     Sku                 = sku;
     BillingPartNumber   = billingPartNumber;
     GalleryItemIdentity = galleryItemIdentity;
     IconUris            = iconUris;
     PayloadLength       = payloadLength;
     ProductKind         = productKind;
     ProductProperties   = productProperties;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the ProductResource class.
 /// </summary>
 /// <param name="id">URI of the resource.</param>
 /// <param name="name">Name of the resource.</param>
 /// <param name="type">Type of resource.</param>
 /// <param name="location">Location of the resource</param>
 /// <param name="tags">List of key value pairs.</param>
 /// <param name="displayName">Name displayed for the product.</param>
 /// <param name="description">Description of the product.</param>
 /// <param name="publisherDisplayName">Name of publisher.</param>
 /// <param name="publisherIdentifier">Publisher identifier.</param>
 /// <param name="offer">Offer name.</param>
 /// <param name="offerVersion">Offer version.</param>
 /// <param name="sku">Product SKU.</param>
 /// <param name="billingPartNumber">Billing part number.</param>
 /// <param name="galleryItemIdentity">Gallery item identity.</param>
 /// <param name="iconUris">Information about gallery icons.</param>
 /// <param name="payloadLength">Size in bytes.</param>
 /// <param name="productKind">The kind. E.g.
 /// VirtualMachineProductProperties.ProductKind or WebApp,
 /// SolutionTemplate.</param>
 /// <param name="productProperties">the product properties. At the
 /// moment only VirtualMachineProductProperties is allowed.</param>
 /// <param name="vmExtensionType">Extension type of the VM.</param>
 /// <param name="links">Gallery item identity.</param>
 /// <param name="legalTerms">Legal terms for the product.</param>
 /// <param name="privacyPolicy">Privacy policy of the product.</param>
 /// <param name="provisioningState">Provisioning state of the resource.
 /// Possible values include: 'Stopped', 'Starting', 'Running',
 /// 'Stopping', 'Succeeded', 'Downloading'</param>
 public ProductResource(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 displayName = default(string), string description = default(string), string publisherDisplayName = default(string), string publisherIdentifier = default(string), string offer = default(string), string offerVersion = default(string), string sku = default(string), string billingPartNumber = default(string), string galleryItemIdentity = default(string), GalleryIcons iconUris = default(GalleryIcons), long?payloadLength = default(long?), string productKind = default(string), ProductProperties productProperties = default(ProductProperties), string vmExtensionType = default(string), IList <ProductLink> links = default(IList <ProductLink>), string legalTerms = default(string), string privacyPolicy = default(string), string provisioningState = default(string))
     : base(id, name, type, location, tags)
 {
     DisplayName          = displayName;
     Description          = description;
     PublisherDisplayName = publisherDisplayName;
     PublisherIdentifier  = publisherIdentifier;
     Offer               = offer;
     OfferVersion        = offerVersion;
     Sku                 = sku;
     BillingPartNumber   = billingPartNumber;
     GalleryItemIdentity = galleryItemIdentity;
     IconUris            = iconUris;
     PayloadLength       = payloadLength;
     ProductKind         = productKind;
     ProductProperties   = productProperties;
     VmExtensionType     = vmExtensionType;
     Links               = links;
     LegalTerms          = legalTerms;
     PrivacyPolicy       = privacyPolicy;
     ProvisioningState   = provisioningState;
     CustomInit();
 }