示例#1
0
 public UpdateServiceMeta(string description  = "", string role           = null, LogConfig logConfig = null,
                          bool internetAccess = true, VpcConfig vpcConfig = null, NasConfig nasConfig = null)
 {
     this.Description    = description;
     this.Role           = role;
     this.LogConfig      = logConfig;
     this.VpcConfig      = vpcConfig;
     this.NasConfig      = nasConfig;
     this.InternetAccess = internetAccess;
 }
示例#2
0
 public override bool Equals(object obj)
 {
     //Check for null and compare run-time types.
     if ((obj == null) || !this.GetType().Equals(obj.GetType()))
     {
         return(false);
     }
     else
     {
         VpcConfig p = (VpcConfig)obj;
         return((VpcId == p.VpcId) && (SecurityGroupId == p.SecurityGroupId) &&
                Enumerable.SequenceEqual(VSwitchIds, p.VSwitchIds));
     }
 }
示例#3
0
 public CreateServiceMeta(string serviceName, string description = "", string role = null, LogConfig logConfig = null,
                          bool internetAccess = true, VpcConfig vpcConfig          = null, NasConfig nasConfig = null)
     : base(description, role, logConfig, internetAccess, vpcConfig, nasConfig)
 {
     this.ServiceName = serviceName;
 }