File tree Expand file tree Collapse file tree
specification/monitor/resource-manager/Microsoft.Insights/Insights Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ interface DiagnosticSettingsCategoryResources {
3434 get is Extension .Read <
3535 Extension .ScopeParameter ,
3636 DiagnosticSettingsCategoryResource ,
37- Error = ErrorResponse
37+ Error = Microsoft . Common . ErrorResponse
3838 >;
3939
4040 /**
@@ -45,7 +45,7 @@ interface DiagnosticSettingsCategoryResources {
4545 Extension .ScopeParameter ,
4646 DiagnosticSettingsCategoryResource ,
4747 Response = ArmResponse <DiagnosticSettingsCategoryResourceCollection >,
48- Error = ErrorResponse
48+ Error = Microsoft . Common . ErrorResponse
4949 >;
5050}
5151
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ interface TenantActionGroupResources {
8080 @ header
8181 `x-ms-client-tenant-id` : string ;
8282 },
83- Error = ErrorResponse
83+ Error = Microsoft . Common . ErrorResponse
8484 >;
8585
8686 /**
@@ -97,7 +97,7 @@ interface TenantActionGroupResources {
9797 @ header
9898 `x-ms-client-tenant-id` : string ;
9999 },
100- Error = ErrorResponse
100+ Error = Microsoft . Common . ErrorResponse
101101 >;
102102
103103 /**
@@ -116,7 +116,7 @@ interface TenantActionGroupResources {
116116 @ header
117117 `x-ms-client-tenant-id` : string ;
118118 },
119- Error = ErrorResponse
119+ Error = Microsoft . Common . ErrorResponse
120120 >;
121121
122122 /**
@@ -133,7 +133,7 @@ interface TenantActionGroupResources {
133133 @ header
134134 `x-ms-client-tenant-id` : string ;
135135 },
136- Error = ErrorResponse
136+ Error = Microsoft . Common . ErrorResponse
137137 >;
138138
139139 /**
@@ -151,7 +151,7 @@ interface TenantActionGroupResources {
151151 `x-ms-client-tenant-id` : string ;
152152 },
153153 Response = ArmResponse <TenantActionGroupList >,
154- Error = ErrorResponse
154+ Error = Microsoft . Common . ErrorResponse
155155 >;
156156
157157 /**
Original file line number Diff line number Diff line change 279279 "default" : {
280280 "description" : " An unexpected error response." ,
281281 "schema" : {
282- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
282+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
283283 }
284284 }
285285 },
330330 "default" : {
331331 "description" : " An unexpected error response." ,
332332 "schema" : {
333- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
333+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
334334 }
335335 }
336336 },
Original file line number Diff line number Diff line change 7474 "default" : {
7575 "description" : " An unexpected error response." ,
7676 "schema" : {
77- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
77+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
7878 }
7979 }
8080 },
132132 "default" : {
133133 "description" : " An unexpected error response." ,
134134 "schema" : {
135- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
135+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
136136 }
137137 }
138138 },
200200 "default" : {
201201 "description" : " An unexpected error response." ,
202202 "schema" : {
203- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
203+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
204204 }
205205 }
206206 },
262262 "default" : {
263263 "description" : " An unexpected error response." ,
264264 "schema" : {
265- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
265+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
266266 }
267267 }
268268 },
315315 "default" : {
316316 "description" : " An unexpected error response." ,
317317 "schema" : {
318- "$ref" : " ../../../../../../common-types/resource-management/v3/types.json #/definitions/ErrorResponse"
318+ "$ref" : " #/definitions/Microsoft.Common. ErrorResponse"
319319 }
320320 }
321321 },
591591 " emailAddress"
592592 ]
593593 },
594+ "Microsoft.Common.ErrorResponse" : {
595+ "type" : " object" ,
596+ "description" : " Describes the format of Error response." ,
597+ "properties" : {
598+ "code" : {
599+ "type" : " string" ,
600+ "description" : " Error code"
601+ },
602+ "message" : {
603+ "type" : " string" ,
604+ "description" : " Error message indicating why the operation failed."
605+ }
606+ }
607+ },
594608 "ReceiverStatus" : {
595609 "type" : " string" ,
596610 "description" : " Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications." ,
You can’t perform that action at this time.
0 commit comments