openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 4.24 kB
JSON
{"openapi":"3.0.0","info":{"title":"Azure Database Migration Service Resource Provider","version":"2018-07-15-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Projects.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"datamigration-Projects","x-tags":["Azure","Microsoft"]},"paths":{},"servers":[{"url":"https://azure.local"}],"components":{"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"DatabaseInfo":{"description":"Project Database Details","properties":{"sourceDatabaseName":{"description":"Name of the database","type":"string"}},"required":["sourceDatabaseName"],"type":"object"},"Project":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"ARM tracked top level resource.","properties":{"location":{"description":"Resource location.","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}},"required":["location"]}],"description":"A project resource","properties":{"properties":{"$ref":"#/components/schemas/ProjectProperties"}},"type":"object"},"ProjectList":{"description":"OData page of project resources","properties":{"nextLink":{"description":"URL to load the next page of projects","type":"string"},"value":{"description":"List of projects","items":{"$ref":"#/components/schemas/Project"},"type":"array"}},"type":"object"},"ProjectProperties":{"description":"Project-specific properties","properties":{"creationTime":{"description":"UTC Date and time when project was created","format":"date-time","readOnly":true,"type":"string"},"databasesInfo":{"description":"List of DatabaseInfo","items":{"$ref":"#/components/schemas/DatabaseInfo"},"type":"array"},"provisioningState":{"description":"The project's provisioning state","enum":["Deleting","Succeeded"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProjectProvisioningState"}},"sourceConnectionInfo":{"description":"Defines the connection properties of a server","discriminator":{"propertyName":"type"},"properties":{"password":{"description":"Password credential.","type":"string"},"type":{"description":"Type of connection info","type":"string"},"userName":{"description":"User name","type":"string"}},"required":["type"],"type":"object","x-ms-discriminator-value":"Unknown"},"sourcePlatform":{"$ref":"#/components/schemas/ProjectSourcePlatform"},"targetConnectionInfo":{"description":"Defines the connection properties of a server","discriminator":{"propertyName":"type"},"properties":{"password":{"description":"Password credential.","type":"string"},"type":{"description":"Type of connection info","type":"string"},"userName":{"description":"User name","type":"string"}},"required":["type"],"type":"object","x-ms-discriminator-value":"Unknown"},"targetPlatform":{"$ref":"#/components/schemas/ProjectTargetPlatform"}},"required":["sourcePlatform","targetPlatform"],"type":"object"},"ProjectSourcePlatform":{"description":"Source platform of the project","enum":["SQL","MySQL","PostgreSql","MongoDb","Unknown"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProjectSourcePlatform"}},"ProjectTargetPlatform":{"description":"Target platform of the project","enum":["SQLDB","SQLMI","AzureDbForMySql","AzureDbForPostgreSql","MongoDb","Unknown"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProjectTargetPlatform"}}}}}