def _create(self) -> str:
    if self._config.cluster_id:
        log.info(f'Fetching day2 cluster with id {self._config.cluster_id}')
        self._update_day2_config(self.api_client, self._config.cluster_id)
        return self._config.cluster_id
    cluster = self.api_client.create_cluster(self._config.cluster_name.get(), ssh_public_key=self._config.ssh_public_key, openshift_version=self._config.openshift_version, pull_secret=self._config.pull_secret, base_dns_domain=self._config.base_dns_domain, vip_dhcp_allocation=self._config.vip_dhcp_allocation, additional_ntp_source=self._config.additional_ntp_source, user_managed_networking=self._config.user_managed_networking, high_availability_mode=self._config.high_availability_mode, olm_operators=[{'name': name} for name in self._config.olm_operators], network_type=self._config.network_type)
    self._config.cluster_id = cluster.id
    return cluster.id
def _create(self) -> str:
    if self._config.cluster_id:
        log.info(f'Fetching day2 cluster with id {self._config.cluster_id}')
        self._update_day2_config(self.api_client, self._config.cluster_id)
        return self._config.cluster_id
    cluster = self.api_client.create_cluster(self._config.cluster_name.get(), ssh_public_key=self._config.ssh_public_key, openshift_version=self._config.openshift_version, pull_secret=self._config.pull_secret, base_dns_domain=self._config.base_dns_domain, vip_dhcp_allocation=self._config.vip_dhcp_allocation, additional_ntp_source=self._config.additional_ntp_source, user_managed_networking=self._config.user_managed_networking, high_availability_mode=self._config.high_availability_mode, olm_operators=[{'name': name} for name in self._config.olm_operators], network_type=self._config.network_type)
    self._config.cluster_id = cluster.id
    return cluster.id