{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-lake/json-schema/microsoft-azure-data-lake-create-data-lake-store-account-parameters-schema.json",
  "title": "CreateDataLakeStoreAccountParameters",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-lake-accounts-api-openapi.yml#/components/schemas/CreateDataLakeStoreAccountParameters",
  "required": [
    "location"
  ],
  "properties": {
    "location": {
      "type": "string",
      "description": "The resource location."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The resource tags."
    },
    "identity": {
      "$ref": "#/$defs/EncryptionIdentity",
      "description": "The Key Vault encryption identity, if any."
    },
    "properties": {
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/CreateDataLakeStoreAccountProperties",
      "description": "The Data Lake Store account properties to use for creating."
    }
  },
  "$defs": {
    "CreateDataLakeStoreAccountProperties": {
      "properties": {
        "defaultGroup": {
          "type": "string",
          "description": "The default owner group for all new folders and files created in the Data Lake Store account."
        },
        "encryptionConfig": {
          "$ref": "#/$defs/EncryptionConfig",
          "description": "The Key Vault encryption configuration."
        },
        "encryptionState": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "EncryptionState",
            "modelAsString": false
          },
          "description": "The current state of encryption for this Data Lake Store account."
        },
        "firewallRules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CreateFirewallRuleWithAccountParameters"
          },
          "description": "The list of firewall rules associated with this Data Lake Store account.",
          "x-ms-identifiers": [
            "name"
          ]
        },
        "virtualNetworkRules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CreateVirtualNetworkRuleWithAccountParameters"
          },
          "description": "The list of virtual network rules associated with this Data Lake Store account.",
          "x-ms-identifiers": [
            "name"
          ]
        },
        "firewallState": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "FirewallState",
            "modelAsString": false
          },
          "description": "The current state of the IP address firewall for this Data Lake Store account."
        },
        "firewallAllowAzureIps": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "FirewallAllowAzureIpsState",
            "modelAsString": false
          },
          "description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced."
        },
        "trustedIdProviders": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CreateTrustedIdProviderWithAccountParameters"
          },
          "description": "The list of trusted identity providers associated with this Data Lake Store account.",
          "x-ms-identifiers": [
            "name"
          ]
        },
        "trustedIdProviderState": {
          "type": "string",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "TrustedIdProviderState",
            "modelAsString": false
          },
          "description": "The current state of the trusted identity provider feature for this Data Lake Store account."
        },
        "newTier": {
          "type": "string",
          "enum": [
            "Consumption",
            "Commitment_1TB",
            "Commitment_10TB",
            "Commitment_100TB",
            "Commitment_500TB",
            "Commitment_1PB",
            "Commitment_5PB"
          ],
          "x-ms-enum": {
            "name": "TierType",
            "modelAsString": false
          },
          "description": "The commitment tier to use for next month."
        }
      }
    },
    "CreateFirewallRuleWithAccountParameters": {
      "required": [
        "name",
        "properties"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The unique name of the firewall rule to create."
        },
        "properties": {
          "x-ms-client-flatten": true,
          "$ref": "#/$defs/CreateOrUpdateFirewallRuleProperties",
          "description": "The firewall rule properties to use when creating a new firewall rule."
        }
      },
      "description": "The parameters used to create a new firewall rule while creating a new Data Lake Store account."
    },
    "CreateOrUpdateFirewallRuleProperties": {
      "required": [
        "startIpAddress",
        "endIpAddress"
      ],
      "properties": {
        "startIpAddress": {
          "type": "string",
          "description": "The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol."
        },
        "endIpAddress": {
          "type": "string",
          "description": "The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol."
        }
      },
      "description": "The firewall rule properties to use when creating a new firewall rule."
    },
    "CreateOrUpdateTrustedIdProviderProperties": {
      "required": [
        "idProvider"
      ],
      "properties": {
        "idProvider": {
          "type": "string",
          "description": "The URL of this trusted identity provider."
        }
      },
      "description": "The trusted identity provider properties to use when creating a new trusted identity provider."
    },
    "CreateOrUpdateVirtualNetworkRuleProperties": {
      "required": [
        "subnetId"
      ],
      "properties": {
        "subnetId": {
          "type": "string",
          "description": "The resource identifier for the subnet."
        }
      },
      "description": "The virtual network rule properties to use when creating a new virtual network rule."
    },
    "CreateTrustedIdProviderWithAccountParameters": {
      "required": [
        "name",
        "properties"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The unique name of the trusted identity provider to create."
        },
        "properties": {
          "x-ms-client-flatten": true,
          "$ref": "#/$defs/CreateOrUpdateTrustedIdProviderProperties",
          "description": "The trusted identity provider properties to use when creating a new trusted identity provider."
        }
      },
      "description": "The parameters used to create a new trusted identity provider while creating a new Data Lake Store account."
    },
    "CreateVirtualNetworkRuleWithAccountParameters": {
      "required": [
        "name",
        "properties"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The unique name of the virtual network rule to create."
        },
        "properties": {
          "x-ms-client-flatten": true,
          "$ref": "#/$defs/CreateOrUpdateVirtualNetworkRuleProperties",
          "description": "The virtual network rule properties to use when creating a new virtual network rule."
        }
      },
      "description": "The parameters used to create a new virtual network rule while creating a new Data Lake Store account."
    },
    "EncryptionConfig": {
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "UserManaged",
            "ServiceManaged"
          ],
          "x-ms-enum": {
            "name": "EncryptionConfigType",
            "modelAsString": false
          },
          "description": "The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'."
        },
        "keyVaultMetaInfo": {
          "$ref": "#/$defs/KeyVaultMetaInfo",
          "description": "The Key Vault information for connecting to user managed encryption keys."
        }
      },
      "description": "The encryption configuration for the account."
    },
    "EncryptionIdentity": {
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "SystemAssigned"
          ],
          "x-ms-enum": {
            "name": "EncryptionIdentityType",
            "modelAsString": false
          },
          "description": "The type of encryption being used. Currently the only supported type is 'SystemAssigned'."
        },
        "principalId": {
          "readOnly": true,
          "type": "string",
          "format": "uuid",
          "description": "The principal identifier associated with the encryption."
        },
        "tenantId": {
          "readOnly": true,
          "type": "string",
          "format": "uuid",
          "description": "The tenant identifier associated with the encryption."
        }
      },
      "description": "The encryption identity properties."
    },
    "KeyVaultMetaInfo": {
      "required": [
        "keyVaultResourceId",
        "encryptionKeyName",
        "encryptionKeyVersion"
      ],
      "properties": {
        "keyVaultResourceId": {
          "type": "string",
          "description": "The resource identifier for the user managed Key Vault being used to encrypt."
        },
        "encryptionKeyName": {
          "type": "string",
          "description": "The name of the user managed encryption key."
        },
        "encryptionKeyVersion": {
          "type": "string",
          "description": "The version of the user managed encryption key."
        }
      },
      "description": "Metadata information used by account encryption."
    }
  }
}