Skip to content

Commit

Permalink
CodeGen from PR 12254 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Removing a readonly tag from a property (#12254)
  • Loading branch information
SDKAuto committed Jan 4, 2021
1 parent 9cd73d3 commit cdc327a
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schemas/2018-01-01/Microsoft.DataBox.json
Original file line number Diff line number Diff line change
Expand Up @@ -522,4 +522,4 @@
"description": "The Sku."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-09-01/Microsoft.DataBox.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,4 +607,4 @@
"description": "Preferences related to the shipment logistics of the sku"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-04-01/Microsoft.DataBox.json
Original file line number Diff line number Diff line change
Expand Up @@ -1032,4 +1032,4 @@
"description": "Preferences related to the shipment logistics of the sku"
}
}
}
}
87 changes: 86 additions & 1 deletion schemas/2020-11-01/Microsoft.DataBox.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,27 @@
],
"description": "Details of the filter files to be used for data transfer."
},
"IdentityProperties": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Managed service identity type."
},
"userAssigned": {
"oneOf": [
{
"$ref": "#/definitions/UserAssignedProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "User assigned identity properties."
}
},
"description": "Managed identity properties."
},
"JobDeliveryInfo": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -531,6 +552,17 @@
],
"description": "The expected size of the data, which needs to be transferred in this job, in terabytes."
},
"keyEncryptionKey": {
"oneOf": [
{
"$ref": "#/definitions/KeyEncryptionKey"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Encryption key containing details about key to encrypt different keys."
},
"preferences": {
"oneOf": [
{
Expand Down Expand Up @@ -620,6 +652,49 @@
],
"description": "Job Properties"
},
"KeyEncryptionKey": {
"type": "object",
"properties": {
"identityProperties": {
"oneOf": [
{
"$ref": "#/definitions/IdentityProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Managed identity properties."
},
"kekType": {
"oneOf": [
{
"type": "string",
"enum": [
"MicrosoftManaged",
"CustomerManaged"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Type of encryption key used for key encryption."
},
"kekUrl": {
"type": "string",
"description": "Key encryption key. It is required in case of Customer managed KekType."
},
"kekVaultResourceID": {
"type": "string",
"description": "Kek vault resource id. It is required in case of Customer managed KekType."
}
},
"required": [
"kekType"
],
"description": "Encryption key containing details about key to encrypt different keys."
},
"ManagedDiskDetails": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1081,6 +1156,16 @@
"type": "object",
"properties": {},
"description": "Class defining User assigned identity details."
},
"UserAssignedProperties": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "Arm resource id for user assigned identity to be used to fetch MSI token."
}
},
"description": "User assigned identity properties."
}
}
}
}

0 comments on commit cdc327a

Please sign in to comment.