/// <summary>
 /// Initializes a new instance of the ServiceResource class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for 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 GEO location of the resource.</param>
 /// <param name="tags">Tags of the service which is a list of key value
 /// pairs that describe the resource.</param>
 /// <param name="properties">Properties of the Service resource</param>
 /// <param name="sku">Sku of the Service resource</param>
 public ServiceResource(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ClusterResourceProperties properties = default(ClusterResourceProperties), Sku sku = default(Sku))
     : base(id, name, type, systemData, location, tags)
 {
     Properties = properties;
     Sku        = sku;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the ServiceResource class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for 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 GEO location of the resource.</param>
 /// <param name="tags">Tags of the service which is a list of key value
 /// pairs that describe the resource.</param>
 /// <param name="properties">Properties of the Service resource</param>
 public ServiceResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ClusterResourceProperties properties = default(ClusterResourceProperties))
     : base(id, name, type, location, tags)
 {
     Properties = properties;
     CustomInit();
 }