Skip to content

Commit 3800db3

Browse files
committed
Use common-types v6 for some definitions
1 parent 201443c commit 3800db3

File tree

2 files changed

+28
-141
lines changed

2 files changed

+28
-141
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/afdx.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4205,7 +4205,7 @@
42054205
"type": "object",
42064206
"allOf": [
42074207
{
4208-
"$ref": "./cdn.json#/definitions/ProxyResource"
4208+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
42094209
}
42104210
],
42114211
"properties": {
@@ -4385,7 +4385,7 @@
43854385
"type": "object",
43864386
"allOf": [
43874387
{
4388-
"$ref": "./cdn.json#/definitions/ProxyResource"
4388+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
43894389
}
43904390
],
43914391
"properties": {
@@ -4578,7 +4578,7 @@
45784578
"type": "object",
45794579
"allOf": [
45804580
{
4581-
"$ref": "./cdn.json#/definitions/TrackedResource"
4581+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource"
45824582
}
45834583
],
45844584
"properties": {
@@ -4722,7 +4722,7 @@
47224722
"type": "object",
47234723
"allOf": [
47244724
{
4725-
"$ref": "./cdn.json#/definitions/ProxyResource"
4725+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
47264726
}
47274727
],
47284728
"properties": {
@@ -4956,7 +4956,7 @@
49564956
"type": "object",
49574957
"allOf": [
49584958
{
4959-
"$ref": "./cdn.json#/definitions/ProxyResource"
4959+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
49604960
}
49614961
],
49624962
"properties": {
@@ -4987,7 +4987,7 @@
49874987
"type": "object",
49884988
"allOf": [
49894989
{
4990-
"$ref": "./cdn.json#/definitions/ProxyResource"
4990+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
49914991
}
49924992
],
49934993
"properties": {
@@ -5163,7 +5163,7 @@
51635163
"type": "object",
51645164
"allOf": [
51655165
{
5166-
"$ref": "./cdn.json#/definitions/ProxyResource"
5166+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
51675167
}
51685168
],
51695169
"properties": {
@@ -5297,7 +5297,7 @@
52975297
"type": "object",
52985298
"allOf": [
52995299
{
5300-
"$ref": "./cdn.json#/definitions/ProxyResource"
5300+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
53015301
}
53025302
],
53035303
"properties": {
@@ -5493,7 +5493,7 @@
54935493
"type": "object",
54945494
"allOf": [
54955495
{
5496-
"$ref": "./cdn.json#/definitions/ProxyResource"
5496+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
54975497
}
54985498
],
54995499
"properties": {

specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/cdn.json

Lines changed: 19 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"default": {
6565
"description": "CDN error response describing why the operation failed.",
6666
"schema": {
67-
"$ref": "#/definitions/ErrorResponse"
67+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
6868
}
6969
}
7070
},
@@ -106,7 +106,7 @@
106106
"default": {
107107
"description": "CDN error response describing why the operation failed.",
108108
"schema": {
109-
"$ref": "#/definitions/ErrorResponse"
109+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
110110
}
111111
}
112112
},
@@ -155,7 +155,7 @@
155155
"default": {
156156
"description": "CDN error response describing why the operation failed.",
157157
"schema": {
158-
"$ref": "#/definitions/ErrorResponse"
158+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
159159
}
160160
}
161161
}
@@ -225,7 +225,7 @@
225225
"default": {
226226
"description": "CDN error response describing why the operation failed.",
227227
"schema": {
228-
"$ref": "#/definitions/ErrorResponse"
228+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
229229
}
230230
}
231231
},
@@ -290,7 +290,7 @@
290290
"default": {
291291
"description": "CDN error response describing why the operation failed.",
292292
"schema": {
293-
"$ref": "#/definitions/ErrorResponse"
293+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
294294
}
295295
}
296296
},
@@ -343,7 +343,7 @@
343343
"default": {
344344
"description": "CDN error response describing why the operation failed.",
345345
"schema": {
346-
"$ref": "#/definitions/ErrorResponse"
346+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
347347
}
348348
}
349349
},
@@ -400,7 +400,7 @@
400400
"default": {
401401
"description": "CDN error response describing why the operation failed.",
402402
"schema": {
403-
"$ref": "#/definitions/ErrorResponse"
403+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
404404
}
405405
}
406406
},
@@ -463,7 +463,7 @@
463463
"default": {
464464
"description": "CDN error response describing why the operation failed.",
465465
"schema": {
466-
"$ref": "#/definitions/ErrorResponse"
466+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
467467
}
468468
}
469469
},
@@ -518,7 +518,7 @@
518518
"default": {
519519
"description": "CDN error response describing why the operation failed.",
520520
"schema": {
521-
"$ref": "#/definitions/ErrorResponse"
521+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
522522
}
523523
}
524524
},
@@ -568,7 +568,7 @@
568568
"default": {
569569
"description": "CDN error response describing why the operation failed.",
570570
"schema": {
571-
"$ref": "#/definitions/ErrorResponse"
571+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
572572
}
573573
}
574574
}
@@ -614,7 +614,7 @@
614614
"default": {
615615
"description": "CDN error response describing why the operation failed.",
616616
"schema": {
617-
"$ref": "#/definitions/ErrorResponse"
617+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
618618
}
619619
}
620620
}
@@ -660,7 +660,7 @@
660660
"default": {
661661
"description": "CDN error response describing why the operation failed.",
662662
"schema": {
663-
"$ref": "#/definitions/ErrorResponse"
663+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse"
664664
}
665665
}
666666
},
@@ -2901,7 +2901,7 @@
29012901
"type": "object",
29022902
"allOf": [
29032903
{
2904-
"$ref": "#/definitions/TrackedResource"
2904+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource"
29052905
}
29062906
],
29072907
"properties": {
@@ -3416,7 +3416,7 @@
34163416
"type": "object",
34173417
"allOf": [
34183418
{
3419-
"$ref": "#/definitions/TrackedResource"
3419+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource"
34203420
}
34213421
],
34223422
"properties": {
@@ -5993,7 +5993,7 @@
59935993
"type": "object",
59945994
"allOf": [
59955995
{
5996-
"$ref": "#/definitions/ProxyResource"
5996+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
59975997
}
59985998
],
59995999
"properties": {
@@ -6153,7 +6153,7 @@
61536153
"type": "object",
61546154
"allOf": [
61556155
{
6156-
"$ref": "#/definitions/ProxyResource"
6156+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
61576157
}
61586158
],
61596159
"properties": {
@@ -6403,7 +6403,7 @@
64036403
"type": "object",
64046404
"allOf": [
64056405
{
6406-
"$ref": "#/definitions/ProxyResource"
6406+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
64076407
}
64086408
],
64096409
"properties": {
@@ -7138,7 +7138,7 @@
71387138
"type": "object",
71397139
"allOf": [
71407140
{
7141-
"$ref": "#/definitions/ProxyResource"
7141+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
71427142
}
71437143
],
71447144
"properties": {
@@ -7212,119 +7212,6 @@
72127212
}
72137213
}
72147214
},
7215-
"Resource": {
7216-
"description": "The core properties of ARM resources",
7217-
"type": "object",
7218-
"properties": {
7219-
"id": {
7220-
"description": "Resource ID.",
7221-
"readOnly": true,
7222-
"type": "string"
7223-
},
7224-
"name": {
7225-
"description": "Resource name.",
7226-
"readOnly": true,
7227-
"type": "string"
7228-
},
7229-
"type": {
7230-
"description": "Resource type.",
7231-
"readOnly": true,
7232-
"type": "string"
7233-
},
7234-
"systemData": {
7235-
"$ref": "#/definitions/SystemData",
7236-
"readOnly": true
7237-
}
7238-
},
7239-
"x-ms-azure-resource": true
7240-
},
7241-
"SystemData": {
7242-
"description": "Read only system data",
7243-
"readOnly": true,
7244-
"type": "object",
7245-
"properties": {
7246-
"createdBy": {
7247-
"type": "string",
7248-
"description": "An identifier for the identity that created the resource"
7249-
},
7250-
"createdByType": {
7251-
"$ref": "#/definitions/IdentityType",
7252-
"description": "The type of identity that created the resource"
7253-
},
7254-
"createdAt": {
7255-
"type": "string",
7256-
"format": "date-time",
7257-
"description": "The timestamp of resource creation (UTC)"
7258-
},
7259-
"lastModifiedBy": {
7260-
"type": "string",
7261-
"description": "An identifier for the identity that last modified the resource"
7262-
},
7263-
"lastModifiedByType": {
7264-
"$ref": "#/definitions/IdentityType",
7265-
"description": "The type of identity that last modified the resource"
7266-
},
7267-
"lastModifiedAt": {
7268-
"type": "string",
7269-
"format": "date-time",
7270-
"description": "The timestamp of resource last modification (UTC)"
7271-
}
7272-
}
7273-
},
7274-
"IdentityType": {
7275-
"description": "The type of identity that creates/modifies resources",
7276-
"type": "string",
7277-
"enum": [
7278-
"user",
7279-
"application",
7280-
"managedIdentity",
7281-
"key"
7282-
],
7283-
"x-ms-enum": {
7284-
"name": "IdentityType",
7285-
"modelAsString": true
7286-
}
7287-
},
7288-
"TrackedResource": {
7289-
"description": "The resource model definition for a ARM tracked top level resource.",
7290-
"type": "object",
7291-
"allOf": [
7292-
{
7293-
"$ref": "#/definitions/Resource"
7294-
}
7295-
],
7296-
"properties": {
7297-
"location": {
7298-
"type": "string",
7299-
"description": "Resource location."
7300-
},
7301-
"tags": {
7302-
"type": "object",
7303-
"additionalProperties": {
7304-
"type": "string"
7305-
},
7306-
"x-ms-mutability": [
7307-
"read",
7308-
"create",
7309-
"update"
7310-
],
7311-
"description": "Resource tags."
7312-
}
7313-
},
7314-
"required": [
7315-
"location"
7316-
]
7317-
},
7318-
"ProxyResource": {
7319-
"description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags",
7320-
"type": "object",
7321-
"allOf": [
7322-
{
7323-
"$ref": "#/definitions/Resource"
7324-
}
7325-
],
7326-
"properties": {}
7327-
},
73287215
"QueryStringCachingBehavior": {
73297216
"description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.",
73307217
"enum": [
@@ -7404,7 +7291,7 @@
74047291
"type": "object",
74057292
"properties": {
74067293
"error": {
7407-
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail"
7294+
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorDetail"
74087295
}
74097296
}
74107297
},

0 commit comments

Comments
 (0)