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/2020-08-01 (Azure#12538)

* fix swagger

* keeping integer type same as that of default
  • Loading branch information
nivats authored Jan 26, 2021
1 parent 20ab40f commit 2ad70cb
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
"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",
Expand Down Expand Up @@ -97,6 +105,14 @@
},
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@
"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",
Expand Down Expand Up @@ -101,6 +109,14 @@
},
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"postalCode": "95050",
"countryOrRegion": "USA",
"phone": "408 352 7600",
"additionalShippingInformation": "",
"supportedCarriers": [
"FedEx"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"body": {
"value": [
{
"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/xtprodtestwu",
"jobType": "Import",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"body": {
"value": [
{
"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/testrg/providers/Microsoft.Storage/storageAccounts/xtprodtestarmos2",
"jobType": "Import",
Expand Down Expand Up @@ -70,6 +78,14 @@
"location": "East US 2"
},
{
"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/testrg/providers/Microsoft.Storage/storageAccounts/xtprodtestarmos2",
"jobType": "Import",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"postalCode": "2113",
"countryOrRegion": "Australia",
"phone": "612 0000 0000",
"additionalShippingInformation": "",
"supportedCarriers": [
"DHL"
],
Expand All @@ -37,6 +38,7 @@
"postalCode": "3207",
"countryOrRegion": "Australia",
"phone": "61 0 0000 0000",
"additionalShippingInformation": "",
"supportedCarriers": [
"DHL"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
"in": "query",
"description": "An integer value that specifies how many jobs at most should be returned. The value cannot exceed 100.",
"required": false,
"type": "integer"
"type": "integer",
"format": "int32"
},
{
"name": "$filter",
Expand Down Expand Up @@ -202,7 +203,8 @@
"in": "query",
"description": "An integer value that specifies how many jobs at most should be returned. The value cannot exceed 100.",
"required": false,
"type": "integer"
"type": "integer",
"format": "int32"
},
{
"name": "$filter",
Expand Down Expand Up @@ -694,6 +696,7 @@
},
"percentComplete": {
"type": "integer",
"format": "int32",
"description": "Overall percentage completed for the job."
},
"incompleteBlobListUri": {
Expand Down Expand Up @@ -731,7 +734,11 @@
"enum": [
"MicrosoftManaged",
"CustomerManaged"
]
],
"x-ms-enum": {
"name": "EncryptionKekType",
"modelAsString": true
}
},
"kekUrl": {
"description": "Specifies the url for kek encryption key. ",
Expand All @@ -754,7 +761,11 @@
"None",
"SystemAssigned",
"UserAssigned"
]
],
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"principalId": {
"description": "Specifies the principal id for the identity for the job. ",
Expand Down Expand Up @@ -838,6 +849,11 @@
"x-ms-azure-resource": true,
"description": "Contains the job information.",
"properties": {
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "SystemData of ImportExport Jobs.",
"readOnly": true
},
"id": {
"type": "string",
"description": "Specifies the resource identifier of the job.",
Expand Down Expand Up @@ -957,6 +973,10 @@
"description": "The phone number for the Azure data center. ",
"type": "string"
},
"additionalShippingInformation": {
"description": "Additional shipping information for customer, specific to datacenter to which customer should send their disks.",
"type": "string"
},
"supportedCarriers": {
"type": "array",
"description": "A list of carriers that are supported at this location. ",
Expand Down Expand Up @@ -1044,14 +1064,6 @@
},
"ShippingInformation": {
"description": "Contains information about the Microsoft datacenter to which the drives should be shipped.",
"required": [
"recipientName",
"streetAddress1",
"city",
"stateOrProvince",
"postalCode",
"countryOrRegion"
],
"properties": {
"recipientName": {
"type": "string",
Expand Down Expand Up @@ -1192,6 +1204,7 @@
},
"percentComplete": {
"type": "integer",
"format": "int32",
"description": "Percentage completed for the drive. "
},
"verboseLogUri": {
Expand Down

0 comments on commit 2ad70cb

Please sign in to comment.