Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the SkuInfo class.
 /// </summary>
 /// <param name="resourceType">Resource type that this SKU applies
 /// to.</param>
 /// <param name="sku">Name and tier of the SKU.</param>
 /// <param name="capacity">Min, max, and default scale values of the
 /// SKU.</param>
 public SkuInfo(string resourceType = default(string), SkuDescription sku = default(SkuDescription), SkuCapacity capacity = default(SkuCapacity))
 {
     ResourceType = resourceType;
     Sku          = sku;
     Capacity     = capacity;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the GlobalCsmSkuDescription class.
 /// </summary>
 /// <param name="name">Name of the resource SKU.</param>
 /// <param name="tier">Service Tier of the resource SKU.</param>
 /// <param name="size">Size specifier of the resource SKU.</param>
 /// <param name="family">Family code of the resource SKU.</param>
 /// <param name="capacity">Min, max, and default scale values of the
 /// SKU.</param>
 /// <param name="locations">Locations of the SKU.</param>
 /// <param name="capabilities">Capabilities of the SKU, e.g., is
 /// traffic manager enabled?</param>
 public GlobalCsmSkuDescription(string name = default(string), string tier = default(string), string size = default(string), string family = default(string), SkuCapacity capacity = default(SkuCapacity), IList <string> locations = default(IList <string>), IList <Capability> capabilities = default(IList <Capability>))
 {
     Name         = name;
     Tier         = tier;
     Size         = size;
     Family       = family;
     Capacity     = capacity;
     Locations    = locations;
     Capabilities = capabilities;
     CustomInit();
 }