Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add privacyStatement/Uri to communtiy gallery image #18680

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,14 @@
},
"architecture": {
"$ref": "./galleryRPCommon.json#/definitions/Architecture"
},
kangsun-ctrl marked this conversation as resolved.
Show resolved Hide resolved
"privacyStatementUri": {
"type": "string",
"description": "Privacy statement uri for the current community gallery image."
},
"eula": {
"type": "string",
"description": "End-user license agreement for the current community gallery image."
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"publisher": "myPublisherName",
"offer": "myOfferName",
"sku": "mySkuName"
}
},
"privacyStatementUri": "https://www.microsoft.com/en-us/",
"eula": "https://www.microsoft.com/en-us/"
},
"location": "myLocation",
"name": "myGalleryImageName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1771,17 +1771,7 @@
},
"provisioningState": {
"readOnly": true,
"type": "string",
"title": "The current state of the gallery.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
"Updating",
"Failed",
"Succeeded",
"Deleting",
"Migrating"
]
"$ref": "#/definitions/GalleryProvisioningState"
},
"sharingProfile": {
"$ref": "#/definitions/SharingProfile"
Expand Down Expand Up @@ -1869,19 +1859,19 @@
"properties": {
"publisherUri": {
"type": "string",
"description": "Community gallery publisher uri"
"description": "The link to the publisher website. Visible to all users."
},
"publisherContact": {
"type": "string",
"description": "Community gallery publisher contact email"
"description": "Community gallery publisher support email. The email address of the publisher. Visible to all users."
},
"eula": {
"type": "string",
"description": "Community gallery publisher eula"
"description": "End-user license agreement for community gallery image."
},
"publicNamePrefix": {
"type": "string",
"description": "Community gallery public name prefix"
"description": "The prefix of the gallery name that will be displayed publicly. Visible to all users."
},
"communityGalleryEnabled": {
"readOnly": true,
Expand Down Expand Up @@ -2068,17 +2058,7 @@
},
"provisioningState": {
"readOnly": true,
"type": "string",
"title": "The current state of the gallery Application Version.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
"Updating",
"Failed",
"Succeeded",
"Deleting",
"Migrating"
]
"$ref": "#/definitions/GalleryProvisioningState"
},
"replicationStatus": {
"readOnly": true,
Expand Down Expand Up @@ -2250,17 +2230,7 @@
},
"provisioningState": {
"readOnly": true,
"type": "string",
"title": "The current state of the gallery image definition.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
"Updating",
"Failed",
"Succeeded",
"Deleting",
"Migrating"
]
"$ref": "#/definitions/GalleryProvisioningState"
},
"features": {
"type": "array",
Expand Down Expand Up @@ -2318,17 +2288,7 @@
},
"provisioningState": {
"readOnly": true,
"type": "string",
"title": "The current state of the gallery image version.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
"Updating",
"Failed",
"Succeeded",
"Deleting",
"Migrating"
]
"$ref": "#/definitions/GalleryProvisioningState"
},
"storageProfile": {
"$ref": "#/definitions/GalleryImageVersionStorageProfile"
Expand Down Expand Up @@ -2926,6 +2886,24 @@
"operationType"
],
"x-ms-azure-resource": true
},
"GalleryProvisioningState": {
kangsun-ctrl marked this conversation as resolved.
Show resolved Hide resolved
"readOnly": true,
"type": "string",
"title": "The current state of the gallery or gallery artifact.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
"Updating",
"Failed",
"Succeeded",
"Deleting",
"Migrating"
],
"x-ms-enum": {
"name": "GalleryProvisioningState",
"modelAsString": true
}
}
},
"parameters": {
Expand Down