コード例 #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();
 }
コード例 #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="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), SkuCapacity capacity = default(SkuCapacity), IList <string> locations = default(IList <string>), IList <CapabilityInner> capabilities = default(IList <CapabilityInner>))
 {
     Name         = name;
     Tier         = tier;
     Capacity     = capacity;
     Locations    = locations;
     Capabilities = capabilities;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the SkuDescription 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">Current number of instances assigned to the
 /// resource.</param>
 /// <param name="skuCapacity">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 SkuDescription(string name = default(string), string tier = default(string), string size = default(string), string family = default(string), int?capacity = default(int?), SkuCapacity skuCapacity = default(SkuCapacity), IList <string> locations = default(IList <string>), IList <CapabilityInner> capabilities = default(IList <CapabilityInner>))
 {
     Name         = name;
     Tier         = tier;
     Size         = size;
     Family       = family;
     Capacity     = capacity;
     SkuCapacity  = skuCapacity;
     Locations    = locations;
     Capabilities = capabilities;
     CustomInit();
 }