Skip to content

Commit 6f2aa13

Browse files
t-bzhansinadellBo Zhang
authored andcommitted
[CDN][2021-06-01] Adding originResponseTimeoutSeconds and Identity to profile update properties (Azure#17890)
* Adding originResponseTimeoutSeconds and Identity to profile update properties * Fix json syntax * Fix incorrect type for compressionSettings and SharedPrivateLinkkResourceProperties * Add type info to fix lint error Co-authored-by: Sindhuri <[email protected]> Co-authored-by: Bo Zhang <[email protected]>
1 parent efbc6f7 commit 6f2aa13

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4873,9 +4873,7 @@
48734873
"sharedPrivateLinkResource": {
48744874
"description": "The properties of the private link resource for private origin.",
48754875
"type": "object",
4876-
"items": {
4877-
"$ref": "#/definitions/SharedPrivateLinkResourceProperties"
4878-
}
4876+
"$ref": "#/definitions/SharedPrivateLinkResourceProperties"
48794877
},
48804878
"enabledState": {
48814879
"description": "Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.",
@@ -5251,9 +5249,7 @@
52515249
"compressionSettings": {
52525250
"description": "compression settings.",
52535251
"type": "object",
5254-
"items": {
5255-
"$ref": "#/definitions/CompressionSettings"
5256-
}
5252+
"$ref": "#/definitions/CompressionSettings"
52575253
}
52585254
}
52595255
},

specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,10 +2593,31 @@
25932593
"additionalProperties": {
25942594
"type": "string"
25952595
}
2596+
},
2597+
"properties": {
2598+
"x-ms-client-flatten": true,
2599+
"$ref": "#/definitions/ProfilePropertiesUpdateParameters"
25962600
}
25972601
},
25982602
"x-ms-azure-resource": true
25992603
},
2604+
"ProfilePropertiesUpdateParameters": {
2605+
"type": "object",
2606+
"description": "The JSON object containing profile update parameters.",
2607+
"properties": {
2608+
"originResponseTimeoutSeconds": {
2609+
"description": "Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.",
2610+
"type": "integer",
2611+
"format": "int32",
2612+
"minimum": 16,
2613+
"exclusiveMinimum": false
2614+
},
2615+
"identity": {
2616+
"description": "Managed service identity.",
2617+
"$ref": "#/definitions/ManagedServiceIdentity"
2618+
}
2619+
}
2620+
},
26002621
"SsoUri": {
26012622
"description": "The URI required to login to the supplemental portal from the Azure portal.",
26022623
"type": "object",

0 commit comments

Comments
 (0)