code: def get_default_configs(self) -> List[AzureConfigInfoWithCreds]:
      if not auth.default_creds_available():
          return []
      try:
          credential, _ = auth.authenticate(AzureDefaultCreds())
      except BackendAuthError:
          return []
      tenant_id_element = self._get_tenant_id_element(
          credential=credential
      )
      tenant_ids = [v.value for v in tenant_id_element.values]
      subscription_id_element = self._get_subscription_id_element(
          credential=credential
      )
      subscription_ids = [
          v.value for v in subscription_id_element.values
      ]
      configs = []
      for tenant_id in tenant_ids:
          for subscription_id in subscription_ids:
              config = AzureConfigInfoWithCreds(
                  tenant_id=tenant_id,
                  subscription_id=subscription_id,
                  locations=DEFAULT_LOCATIONS,
                  creds=AzureDefaultCreds(),
              )
              configs.append(config)
      return configs
  
imports: import json
  from concurrent.futures import ThreadPoolExecutor
  from typing import List, Optional, Tuple
  from uuid import UUID, uuid5
  from azure.core.credentials import TokenCredential
  from azure.mgmt import authorization
  from azure.mgmt import msi
  from azure.mgmt import network
  from azure.mgmt import resource
  from azure.mgmt import subscription
  from azure.mgmt.authorization.models import RoleAssignmentCreateParameters
  from azure.mgmt.msi.models import Identity
  from azure.mgmt.network.models import AddressSpace, NetworkSecurityGroup, SecurityRule, SecurityRuleAccess, SecurityRuleDirection, SecurityRuleProtocol, Subnet, VirtualNetwork
  from azure.mgmt.resource.resources.models import ResourceGroup
  from dstack._internal.core.backends.azure import AzureBackend, auth
  from dstack._internal.core.backends.azure import utils
  from dstack._internal.core.backends.azure.config import AzureConfig
  from dstack._internal.core.errors import BackendAuthError, ServerClientError
  from dstack._internal.core.models.backends.azure import AnyAzureConfigInfo, AzureClientCreds, AzureConfigInfo, AzureConfigInfoWithCreds, AzureConfigInfoWithCredsPartial, AzureConfigValues, AzureCreds, AzureDefaultCreds, AzureStoredConfig
  from dstack._internal.core.models.backends.base import BackendType, ConfigElement, ConfigElementValue, ConfigMultiElement
  from dstack._internal.server import settings
  from dstack._internal.server.models import BackendModel, ProjectModel
  from dstack._internal.server.services.backends.configurators.base import Configurator, raise_invalid_credentials_error
label_desc: Use image node_id 1 for calling the AzureConfigurator obj's underlying member method code with example usage: obj.get_default_configs() and returns: configs, list, list