-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.ImportExport to add vers…
…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
Showing
12 changed files
with
623 additions
and
93 deletions.
There are no files selected for viewing
172 changes: 172 additions & 0 deletions
172
...t/resource-manager/Microsoft.ImportExport/stable/2016-11-01/examples/CreateExportJob.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.