Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5ef13ea
fixes for s360 errors under a new api version
Dec 30, 2021
a0e080f
updating version in v1 swagger
Dec 30, 2021
f900335
updating readme for 2022-01-30-preview version
Dec 30, 2021
39da7bc
suppress secret property and add directives
Dec 30, 2021
67be84a
suppressing R4016 and R4017
Dec 30, 2021
c006403
prettier check
Dec 30, 2021
a0e3ede
adding systemData property
Jan 6, 2022
e01f131
adding schema for azureAuthenticationInfo
Jan 6, 2022
47099d9
Revert "adding systemData property"
Jan 6, 2022
fea621b
nit error
Jan 6, 2022
315a15d
API description changes
Jan 10, 2022
bf9c2f5
adding get examples with expand parameter
Jan 19, 2022
43bb124
prettier check
Jan 19, 2022
5064f4a
using the newly added get examples (with expand parameter)
Jan 19, 2022
097850c
nit
Jan 19, 2022
d12a409
prettier check
Jan 19, 2022
c405774
Solving new s360 error of invalid type in dictonary
Jan 21, 2022
f58da9c
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
Jan 31, 2022
98f2460
resolving OBJECT_ADDITIONAL_PROPERTIES type of errors by adding the m…
Jan 31, 2022
6b2372f
Resolving ENUM_MISMATCH and OBJECT_MISSING_REQUIRED_PROPERTY errors
Jan 31, 2022
a7b3a9b
nit: adding missing discriminator
Jan 31, 2022
a268a2e
reverting changes made to MiSqlConnectionInfo
Jan 31, 2022
9a365bb
fixing more s360 errors
Feb 9, 2022
806cc30
fixing s360 correctness issues
Feb 27, 2022
c6d1721
adding $expand parameter in examples of get MI expanded and get VM ex…
Mar 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,143 changes: 2,140 additions & 3 deletions package-lock.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Database Migration Service Resource Provider",
"version": "2022-01-30-preview"
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"CommandProperties": {
"type": "object",
"description": "Base class for all types of DMS command properties. If command is not supported by current client, this object is returned.",
"properties": {
"commandType": {
"enum": [
"Migrate.Sync.Complete.Database",
"Migrate.SqlServer.AzureDbSqlMi.Complete",
"cancel",
"finish",
"restart"
],
"x-ms-enum": {
"name": "CommandType",
"modelAsString": true
},
"description": "Command type.",
"type": "string"
},
"errors": {
"type": "array",
"items": {
"$ref": "./Common.json#/definitions/ODataError"
},
"description": "Array of errors. This is ignored if submitted.",
"readOnly": true
},
"state": {
"type": "string",
"description": "The state of the command. This is ignored if submitted.",
"enum": [
"Unknown",
"Accepted",
"Running",
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "CommandState",
"modelAsString": true
},
"readOnly": true
}
},
"required": [
"commandType"
],
"discriminator": "commandType"
},
"MigrateSyncCompleteCommandProperties": {
"x-ms-discriminator-value": "Migrate.Sync.Complete.Database",
"type": "object",
"description": "Properties for the command that completes sync migration for a database.",
"properties": {
"input": {
"description": "Command input",
"$ref": "#/definitions/MigrateSyncCompleteCommandInput"
},
"output": {
"description": "Command output. This is ignored if submitted.",
"$ref": "#/definitions/MigrateSyncCompleteCommandOutput",
"readOnly": true
}
},
"allOf": [
{
"$ref": "#/definitions/CommandProperties"
}
]
},
"MigrateSyncCompleteCommandInput": {
"type": "object",
"description": "Input for command that completes sync migration for a database.",
"properties": {
"databaseName": {
"description": "Name of database",
"type": "string"
},
"commitTimeStamp": {
"type": "string",
"format": "date-time",
"description": "Time stamp to complete"
}
},
"required": [
"databaseName"
]
},
"MigrateSyncCompleteCommandOutput": {
"type": "object",
"description": "Output for command that completes sync migration for a database.",
"properties": {
"id": {
"type": "string",
"description": "Result identifier",
"readOnly": true
},
"errors": {
"description": "List of errors that happened during the command execution",
"type": "array",
"items": {
"$ref": "./Common.json#/definitions/ReportableException"
},
"readOnly": true
}
}
},
"MigrateMISyncCompleteCommandProperties": {
"x-ms-discriminator-value": "Migrate.SqlServer.AzureDbSqlMi.Complete",
"type": "object",
"description": "Properties for the command that completes online migration for an Azure SQL Database Managed Instance.",
"properties": {
"input": {
"description": "Command input",
"$ref": "#/definitions/MigrateMISyncCompleteCommandInput"
},
"output": {
"description": "Command output. This is ignored if submitted.",
"$ref": "#/definitions/MigrateMISyncCompleteCommandOutput",
"readOnly": true
}
},
"allOf": [
{
"$ref": "#/definitions/CommandProperties"
}
]
},
"MigrateMISyncCompleteCommandInput": {
"type": "object",
"description": "Input for command that completes online migration for an Azure SQL Database Managed Instance.",
"properties": {
"sourceDatabaseName": {
"description": "Name of managed instance database",
"type": "string"
}
},
"required": [
"sourceDatabaseName"
]
},
"MigrateMISyncCompleteCommandOutput": {
"type": "object",
"description": "Output for command that completes online migration for an Azure SQL Database Managed Instance.",
"properties": {
"errors": {
"description": "List of errors that happened during the command execution",
"type": "array",
"items": {
"$ref": "./Common.json#/definitions/ReportableException"
}
}
}
}
}
}
Loading