Skip to content
Merged
Changes from 1 commit
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 @@ -1053,12 +1053,12 @@
},
"GalleryArtifactPublishingProfileBase": {
"properties": {
"regions": {
"targetRegions": {
"type": "array",
"items": {
"type": "string"
"$ref": "#/definitions/TargetRegion"
},
"description": "The regions where the artifact is going to be published."
"description": "The target regions where the artifact is going to be published."
},
"source": {
"$ref": "#/definitions/GalleryArtifactSource"
Expand All @@ -1069,6 +1069,20 @@
],
"description": "Describes the basic gallery artifact publishing profile."
},
"TargetRegion": {
"properties": {
"name": {
"type": "string",
"description": "The name of the region."
},
"regionalReplicaCount": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the name of the region is called name, why the replica count still has the region as the property's prefix? Why not just replicaCount?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Initially, we call it "replicaCount", the same as you suggested. Then we got some feedback from Kay Singh that it might be clearer to use "regionalReplicaCount". So we use this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

"type": "integer",
"format": "int32",
"description": "This is the number of source blob copies in this specific region."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

source blob in the source region, or in the target region? Or target blob? Please consider revising the statement to make it clearer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it is the copies of the source blob in the target regions. Will this be better "This is the number of copies of the source blobs in this target region."?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vanbasten2323 what exactly is the "number of copies of the source blobs mean"?

@yugangw-msft Yugang Wang (yugangw-msft) Sep 5, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kay Singh (@singhkays), the original mail communicates the new name would be scaleTier, so i am bit confused now. Can you guys offer some explanation, so i can communicate better to CLI users.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, what is the service end default value for this?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clarified in offline call

}
},
"description": "Describes the target region information."
},
"GalleryArtifactSource": {
"properties": {
"managedImage": {
Expand All @@ -1094,17 +1108,10 @@
},
"GalleryImageVersionPublishingProfile": {
"properties": {
"scaleTier": {
"type": "string",
"description": "The scale tier of the gallery image version. Valid values are 'S30' and 'S100'",
"enum": [
"S30",
"S100"
],
"x-ms-enum": {
"name": "ScaleTier",
"modelAsString": true
}
"replicaCount": {
"type": "integer",
"format": "int32",
"description": "This is the number of source blob copies in a region."
},
"excludeFromLatest": {
"type": "boolean",
Expand Down