示例#1
0
 def network_client(self):
     conf = azure_conf
     if self._network_client is None:
         args = (conf.tenant_id, conf.client_id, conf.client_secret,
                 conf.subscription_id)
         self._network_client = utils.get_network_client(*args)
     return self._network_client
示例#2
0
 def network_client(self):
     conf = azure_conf
     if self._network_client is None:
         args = (conf.tenant_id, conf.client_id, conf.client_secret,
                 conf.subscription_id)
         self._network_client = utils.get_network_client(*args)
         self._create_resource_group_if_not_created(conf)
     return self._network_client
示例#3
0
 def network_client(self):
     if self._network_client is None:
         args = (self.tenant_id, self.client_id, self.client_secret,
                 self.subscription_id)
         self._network_client = utils.get_network_client(*args)
     return self._network_client