Skip to content

Commit c96149d

Browse files
author
SDKAuto
committed
CodeGen from PR 20103 in Azure/azure-rest-api-specs
Merge 3bf15e4d55a5b63d5c7d6b73bfce87e84cc2c3b2 into d32cece9ca8814ef42085d4bbc426dc35bbcaf87
1 parent a36253f commit c96149d

File tree

4 files changed

+64
-8
lines changed

4 files changed

+64
-8
lines changed

schemas/2021-10-01/Microsoft.Compute.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,28 @@
334334
}
335335
},
336336
"definitions": {
337+
"CommunityGalleryInfo": {
338+
"type": "object",
339+
"properties": {
340+
"eula": {
341+
"type": "string",
342+
"description": "Community gallery publisher eula"
343+
},
344+
"publicNamePrefix": {
345+
"type": "string",
346+
"description": "Community gallery public name prefix"
347+
},
348+
"publisherContact": {
349+
"type": "string",
350+
"description": "Community gallery publisher contact email"
351+
},
352+
"publisherUri": {
353+
"type": "string",
354+
"description": "Community gallery publisher uri"
355+
}
356+
},
357+
"description": "Information of community gallery if current gallery is shared to community"
358+
},
337359
"DataDiskImageEncryption": {
338360
"type": "object",
339361
"properties": {
@@ -1537,9 +1559,15 @@
15371559
"type": "object",
15381560
"properties": {
15391561
"communityGalleryInfo": {
1540-
"type": "object",
1541-
"properties": {},
1542-
"description": "Information of community gallery if current gallery is shared to community."
1562+
"oneOf": [
1563+
{
1564+
"$ref": "#/definitions/CommunityGalleryInfo"
1565+
},
1566+
{
1567+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1568+
}
1569+
],
1570+
"description": "Information of community gallery if current gallery is shared to community"
15431571
},
15441572
"permissions": {
15451573
"oneOf": [

schemas/2021-11-01/Microsoft.Compute.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@
35723572
"properties": {
35733573
"keyData": {
35743574
"type": "string",
3575-
"description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
3575+
"description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
35763576
},
35773577
"path": {
35783578
"type": "string",

schemas/2022-01-03/Microsoft.Compute.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,28 @@
334334
}
335335
},
336336
"definitions": {
337+
"CommunityGalleryInfo": {
338+
"type": "object",
339+
"properties": {
340+
"eula": {
341+
"type": "string",
342+
"description": "End-user license agreement for community gallery image."
343+
},
344+
"publicNamePrefix": {
345+
"type": "string",
346+
"description": "The prefix of the gallery name that will be displayed publicly. Visible to all users."
347+
},
348+
"publisherContact": {
349+
"type": "string",
350+
"description": "Community gallery publisher support email. The email address of the publisher. Visible to all users."
351+
},
352+
"publisherUri": {
353+
"type": "string",
354+
"description": "The link to the publisher website. Visible to all users."
355+
}
356+
},
357+
"description": "Information of community gallery if current gallery is shared to community"
358+
},
337359
"DataDiskImageEncryption": {
338360
"type": "object",
339361
"properties": {
@@ -1562,9 +1584,15 @@
15621584
"type": "object",
15631585
"properties": {
15641586
"communityGalleryInfo": {
1565-
"type": "object",
1566-
"properties": {},
1567-
"description": "Information of community gallery if current gallery is shared to community."
1587+
"oneOf": [
1588+
{
1589+
"$ref": "#/definitions/CommunityGalleryInfo"
1590+
},
1591+
{
1592+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1593+
}
1594+
],
1595+
"description": "Information of community gallery if current gallery is shared to community"
15681596
},
15691597
"permissions": {
15701598
"oneOf": [

schemas/2022-03-01/Microsoft.Compute.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2415,7 +2415,7 @@
24152415
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
24162416
}
24172417
],
2418-
"description": "The OS State."
2418+
"description": "The OS State. For managed images, use Generalized."
24192419
},
24202420
"osType": {
24212421
"oneOf": [

0 commit comments

Comments
 (0)