Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.ImportExport to add vers…
Browse files Browse the repository at this point in the history
…ion stable/2016-11-01 (#12537)

* added fixes to swagger 2016

* remade packageinformation definition spelling same as before and made new integer type values as int32 same as default
  • Loading branch information
nivats authored Jan 26, 2021
1 parent 2ad70cb commit 04e17ce
Show file tree
Hide file tree
Showing 12 changed files with 623 additions and 93 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"parameters": {
"api-version": "2016-11-01",
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "myResourceGroup",
"jobName": "myExportJob",
"body": {
"location": "West US",
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Export",
"returnAddress": {
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
"stateOrProvince": "wa",
"postalCode": "98007",
"countryOrRegion": "USA",
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
"backupDriveManifest": true,
"export": {
"blobList": {
"blobPathPrefix": [
"/"
]
}
}
}
}
},
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Export",
"returnAddress": {
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
"stateOrProvince": "wa",
"postalCode": "98007",
"countryOrRegion": "USA",
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"shippingInformation": {
"recipientName": "Microsoft Azure Import/Export Service",
"streetAddress1": "2045 Lafayette Street",
"streetAddress2": "",
"city": "Santa Clara",
"stateOrProvince": "CA",
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 0000 0000",
"additionalInformation": ""
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
"backupDriveManifest": true,
"cancelRequested": false,
"state": "Creating",
"export": {
"blobList": {
"blobPathPrefix": [
"/"
]
}
},
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myExportJob",
"name": "myExportJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
},
"201": {
"body": {
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Export",
"returnAddress": {
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
"stateOrProvince": "wa",
"postalCode": "98007",
"countryOrRegion": "USA",
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"shippingInformation": {
"recipientName": "Microsoft Azure Import/Export Service",
"streetAddress1": "2045 Lafayette Street",
"streetAddress2": "",
"city": "Santa Clara",
"stateOrProvince": "CA",
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 0000 0000",
"additionalInformation": ""
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
"backupDriveManifest": true,
"cancelRequested": false,
"state": "Creating",
"export": {
"blobList": {
"blobPathPrefix": [
"/"
]
}
},
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myExportJob",
"name": "myExportJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
Expand All @@ -20,16 +20,20 @@
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
"backupDriveManifest": true,
"driveList": [
{
"driveId": "9CA995BB",
"bitLockerKey": "238810-662376-448998-450120-652806-203390-606320-483076",
"manifestFile": "\\DriveManifest.xml",
"manifestHash": "109B21108597EF36D5785F08303F3638",
"driveHeaderHash": ""
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3"
}
]
}
Expand All @@ -38,11 +42,19 @@
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
Expand All @@ -52,6 +64,10 @@
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"shippingInformation": {
"recipientName": "Microsoft Azure Import/Export Service",
"streetAddress1": "2045 Lafayette Street",
Expand All @@ -60,7 +76,8 @@
"stateOrProvince": "CA",
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 0000 0000"
"phone": "408 0000 0000",
"additionalInformation": ""
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
Expand All @@ -70,13 +87,19 @@
"driveList": [
{
"driveId": "9CA995BB",
"manifestFile": "\\DriveManifest.xml",
"manifestHash": "109B21108597EF36D5785F08303F3638",
"driveHeaderHash": "",
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3",
"state": "Specified"
}
],
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
Expand All @@ -86,11 +109,19 @@
},
"201": {
"body": {
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
"recipientName": "Test",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
Expand All @@ -100,6 +131,10 @@
"phone": "4250000000",
"email": "Test@contoso.com"
},
"returnShipping": {
"carrierName": "FedEx",
"carrierAccountNumber": "989ffff"
},
"shippingInformation": {
"recipientName": "Microsoft Azure Import/Export Service",
"streetAddress1": "2045 Lafayette Street",
Expand All @@ -108,7 +143,8 @@
"stateOrProvince": "CA",
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 0000 0000"
"phone": "408 0000 0000",
"additionalInformation": ""
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
Expand All @@ -118,13 +154,19 @@
"driveList": [
{
"driveId": "9CA995BB",
"manifestFile": "\\DriveManifest.xml",
"manifestHash": "109B21108597EF36D5785F08303F3638",
"driveHeaderHash": "",
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3",
"state": "Specified"
}
],
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,6 @@
"jobName": "myJob"
},
"responses": {
"200": {
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
"streetAddress1": "Street1",
"streetAddress2": "street2",
"city": "Redmond",
"stateOrProvince": "wa",
"postalCode": "98007",
"countryOrRegion": "USA",
"phone": "4250000000",
"email": "Test@contoso.com"
},
"shippingInformation": {
"recipientName": "Microsoft Azure Import/Export Service",
"streetAddress1": "2045 Lafayette Street",
"streetAddress2": "",
"city": "Santa Clara",
"stateOrProvince": "CA",
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 0000 0000"
},
"diagnosticsPath": "waimportexport",
"logLevel": "Verbose",
"backupDriveManifest": true,
"cancelRequested": false,
"state": "Creating",
"driveList": [
{
"driveId": "9CA995BB",
"manifestFile": "\\DriveManifest.xml",
"manifestHash": "109B21108597EF36D5785F08303F3638",
"driveHeaderHash": "",
"state": "Specified"
}
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/test",
"name": "myJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
"200": {}
}
}
Loading

0 comments on commit 04e17ce

Please sign in to comment.