diff --git a/schemas/2018-06-01-preview/Microsoft.DBforMariaDB.json b/schemas/2018-06-01-preview/Microsoft.DBforMariaDB.json index bac8db5948..615ca0f756 100644 --- a/schemas/2018-06-01-preview/Microsoft.DBforMariaDB.json +++ b/schemas/2018-06-01-preview/Microsoft.DBforMariaDB.json @@ -226,7 +226,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/Default$" + "pattern": "^.*/default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -727,7 +727,7 @@ "name": { "type": "string", "enum": [ - "Default" + "default" ], "description": "The name of the threat detection policy." }, diff --git a/schemas/2018-06-01/Microsoft.DBforMariaDB.json b/schemas/2018-06-01/Microsoft.DBforMariaDB.json index dc07a7a49e..03b621444f 100644 --- a/schemas/2018-06-01/Microsoft.DBforMariaDB.json +++ b/schemas/2018-06-01/Microsoft.DBforMariaDB.json @@ -615,67 +615,6 @@ }, "description": "The properties used to create a new server." }, - "ServerPropertiesForCreateModel": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ServerPropertiesForDefaultCreateModel" - }, - { - "$ref": "#/definitions/ServerPropertiesForRestoreModel" - }, - { - "$ref": "#/definitions/ServerPropertiesForGeoRestoreModel" - }, - { - "$ref": "#/definitions/ServerPropertiesForReplicaModel" - } - ], - "properties": { - "sslEnforcement": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enable ssl enforcement or not when connect to server." - }, - "storageProfile": { - "oneOf": [ - { - "$ref": "#/definitions/StorageProfile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Storage Profile properties of a server" - }, - "version": { - "oneOf": [ - { - "type": "string", - "enum": [ - "5.6", - "5.7" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Server version." - } - }, - "description": "The properties used to create a new server." - }, "ServerPropertiesForDefaultCreate": { "type": "object", "properties": { @@ -702,32 +641,6 @@ ], "description": "The properties used to create a new server." }, - "ServerPropertiesForDefaultCreateModel": { - "type": "object", - "properties": { - "administratorLogin": { - "type": "string", - "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation)." - }, - "administratorLoginPassword": { - "type": "string", - "format": "password", - "description": "The password of the administrator login." - }, - "createMode": { - "type": "string", - "enum": [ - "Default" - ] - } - }, - "required": [ - "administratorLogin", - "administratorLoginPassword", - "createMode" - ], - "description": "The properties used to create a new server." - }, "ServerPropertiesForGeoRestore": { "type": "object", "properties": { @@ -748,26 +661,6 @@ ], "description": "The properties used to create a new server by restoring to a different region from a geo replicated backup." }, - "ServerPropertiesForGeoRestoreModel": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "GeoRestore" - ] - }, - "sourceServerId": { - "type": "string", - "description": "The source server id to restore from." - } - }, - "required": [ - "createMode", - "sourceServerId" - ], - "description": "The properties used to create a new server by restoring to a different region from a geo replicated backup." - }, "ServerPropertiesForReplica": { "type": "object", "properties": { @@ -788,26 +681,6 @@ ], "description": "The properties to create a new replica." }, - "ServerPropertiesForReplicaModel": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Replica" - ] - }, - "sourceServerId": { - "type": "string", - "description": "The master server id to create replica from." - } - }, - "required": [ - "createMode", - "sourceServerId" - ], - "description": "The properties to create a new replica." - }, "ServerPropertiesForRestore": { "type": "object", "properties": { @@ -834,32 +707,6 @@ ], "description": "The properties used to create a new server by restoring from a backup." }, - "ServerPropertiesForRestoreModel": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "PointInTimeRestore" - ] - }, - "restorePointInTime": { - "type": "string", - "format": "date-time", - "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." - }, - "sourceServerId": { - "type": "string", - "description": "The source server id to restore from." - } - }, - "required": [ - "createMode", - "restorePointInTime", - "sourceServerId" - ], - "description": "The properties used to create a new server by restoring from a backup." - }, "servers_configurations_childResource": { "type": "object", "properties": {