def generate_infra_env(self, static_network_config=None, iso_image_type=None, ssh_key=None, ignition_info=None, proxy=None) -> InfraEnv:
    self._infra_env_config.ssh_public_key = (ssh_key or self._config.ssh_public_key)
    self._infra_env_config.iso_image_type = (iso_image_type or self._config.iso_image_type)
    self._infra_env_config.static_network_config = static_network_config
    self._infra_env_config.ignition_config_override = ignition_info
    self._infra_env_config.proxy = (proxy or self._config.proxy)
    infra_env = InfraEnv(api_client=self.api_client, config=self._infra_env_config)
    self._infra_env = infra_env
    return infra_env
def generate_infra_env(self, static_network_config=None, iso_image_type=None, ssh_key=None, ignition_info=None, proxy=None) -> InfraEnv:
    self._infra_env_config.ssh_public_key = (ssh_key or self._config.ssh_public_key)
    self._infra_env_config.iso_image_type = (iso_image_type or self._config.iso_image_type)
    self._infra_env_config.static_network_config = static_network_config
    self._infra_env_config.ignition_config_override = ignition_info
    self._infra_env_config.proxy = (proxy or self._config.proxy)
    infra_env = InfraEnv(api_client=self.api_client, config=self._infra_env_config)
    self._infra_env = infra_env
    return infra_env