Skip to content

Commit 2d5a9f6

Browse files
author
SDKAuto
committed
CodeGen from PR 19723 in Azure/azure-rest-api-specs
Merge 322b6d9fd9cd8d4be6e4d05f78d95c9da6d9ad1d into 6c11930fe7757c6416cb2580eeddb4e57695c707
1 parent ed90872 commit 2d5a9f6

File tree

2 files changed

+62
-6
lines changed

2 files changed

+62
-6
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/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": [

0 commit comments

Comments
 (0)