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 preview/2021-01-01 (#12490)

* Adds base for updating Microsoft.ImportExport from version stable/2020-08-01 to version 2021-01-01

* Updates readme

* Updates API version in new specs and examples

* making changes to swagger for upgraded version

* prettier fix
  • Loading branch information
nivats authored Feb 18, 2021
1 parent 5b5bc00 commit 228cf29
Show file tree
Hide file tree
Showing 15 changed files with 2,459 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"parameters": {
"api-version": "2021-01-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
@@ -0,0 +1,178 @@
{
"parameters": {
"api-version": "2021-01-01",
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "myResourceGroup",
"jobName": "myJob",
"body": {
"location": "West US",
"properties": {
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"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,
"driveList": [
{
"driveId": "9CA995BB",
"bitLockerKey": "238810-662376-448998-450120-652806-203390-606320-483076",
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3"
}
]
}
}
},
"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": "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",
"driveList": [
{
"driveId": "9CA995BB",
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3",
"state": "Specified"
}
],
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
"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": "Import",
"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",
"driveList": [
{
"driveId": "9CA995BB",
"manifestFile": "\\8a0c23f7-14b7-470a-9633-fcd46590a1bc.manifest",
"manifestHash": "4228EC5D8E048CB9B515338C789314BE8D0B2FDBC7C7A0308E1C826242CDE74E",
"driveHeaderHash": "0:1048576:FB6B6ED500D49DA6E0D723C98D42C657F2881CC13357C28DCECA6A524F1292501571A321238540E621AB5BD9C9A32637615919A75593E6CB5C1515DAE341CABF;135266304:143360:C957A189AFC38C4E80731252301EB91427CE55E61448FA3C73C6FDDE70ABBC197947EC8D0249A2C639BB10B95957D5820A4BE8DFBBF76FFFA688AE5CE0D42EC3",
"state": "Specified"
}
],
"provisioningState": "Succeeded",
"encryptionKey": {
"kekType": "MicrosoftManaged"
}
},
"identity": {
"type": "None"
},
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"api-version": "2021-01-01",
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "myResourceGroup",
"jobName": "myJob"
},
"responses": {
"200": {}
}
}
Loading

0 comments on commit 228cf29

Please sign in to comment.