{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-vault-setting-creation-input-schema.json",
  "title": "VaultSettingCreationInput",
  "description": "Input to create vault setting.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationvaultsetting-api-openapi.yml#/components/schemas/VaultSettingCreationInput",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/VaultSettingCreationInputProperties",
      "description": "Vault setting creation input properties."
    }
  },
  "required": [
    "properties"
  ],
  "$defs": {
    "RecoveryNetworkConfigAutoSyncPolicy": {
      "type": "string",
      "description": "The vault level policy controlling whether the A2A recovery network configuration is automatically kept in sync with the source virtual machine.",
      "enum": [
        "Disabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "RecoveryNetworkConfigAutoSyncPolicy",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Automatic synchronization of the recovery network configuration is turned off. Recovery NIC settings are changed only through an explicit update operation."
          },
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Automatic synchronization of the recovery network configuration is turned on. Recovery NIC settings are refreshed from the source virtual machine as its network configuration changes."
          }
        ]
      }
    },
    "VaultSettingCreationInputProperties": {
      "type": "object",
      "description": "Input to create vault setting.",
      "properties": {
        "migrationSolutionId": {
          "type": "string",
          "description": "The migration solution Id."
        },
        "vmwareToAzureProviderType": {
          "type": "string",
          "description": "VMware to Azure provider type."
        },
        "recoveryNetworkConfigAutoSync": {
          "$ref": "#/$defs/RecoveryNetworkConfigAutoSyncPolicy",
          "description": "The vault level policy controlling whether the A2A recovery network configuration is automatically kept in sync with the source virtual machine. If the property is omitted from the request body, the policy is set to `Disabled`."
        }
      }
    }
  }
}