/// <summary>
 /// Initializes a new instance of the CloudServiceRole class.
 /// </summary>
 /// <param name="id">Resource id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="location">Resource location</param>
 public CloudServiceRole(string id = default(string), string name = default(string), string type = default(string), string location = default(string), CloudServiceRoleSku sku = default(CloudServiceRoleSku), CloudServiceRoleProperties properties = default(CloudServiceRoleProperties))
 {
     Id         = id;
     Name       = name;
     Type       = type;
     Location   = location;
     Sku        = sku;
     Properties = properties;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the CloudServiceRoleProfileProperties
 /// class.
 /// </summary>
 /// <param name="name">Resource name.</param>
 public CloudServiceRoleProfileProperties(string name = default(string), CloudServiceRoleSku sku = default(CloudServiceRoleSku))
 {
     Name = name;
     Sku  = sku;
     CustomInit();
 }