def as_json(self):
    sgs = (self.customer_sgs if self.customer_sgs else [self.sg_yugabyte])
    return vpc_components_as_json(self.vpc, sgs, self.subnets)
def as_json(self):
    sgs = (self.customer_sgs if self.customer_sgs else [self.sg_yugabyte])
    return vpc_components_as_json(self.vpc, sgs, self.subnets)