From 47760c4df80ed021848c82854dc3dd312d8a1379 Mon Sep 17 00:00:00 2001 From: "redmond\\yiyangz" Date: Sun, 20 Mar 2022 16:50:46 -0700 Subject: [PATCH 1/3] Copy existing FabricLocation --- .../stable/2022-03-01/FabricLocation.json | 219 ++++++++++++++++++ .../examples/FabricLocation/Get.json | 21 ++ .../examples/FabricLocation/List.json | 23 ++ 3 files changed, 263 insertions(+) create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json create mode 100644 specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json new file mode 100644 index 000000000000..5a08a6105b36 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json @@ -0,0 +1,219 @@ +{ + "swagger": "2.0", + "info": { + "description": "Fabric location operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{fabricLocation}": { + "get": { + "x-ms-examples": { + "Returns the requested fabric location.": { + "$ref": "./examples/FabricLocation/Get.json" + } + }, + "tags": [ + "FabricLocations" + ], + "description": "Returns the requested fabric location.", + "operationId": "FabricLocations_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "#/parameters/FabricLocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FabricLocation" + } + }, + "404": { + "description": "NOT FOUND" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations": { + "get": { + "x-ms-examples": { + "Returns a list of all fabric locations.": { + "$ref": "./examples/FabricLocation/List.json" + } + }, + "tags": [ + "FabricLocations" + ], + "description": "Returns a list of all fabric locations.", + "operationId": "FabricLocations_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FabricLocationList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/FabricLocation" + } + } + }, + "definitions": { + "FabricLocation": { + "description": "Fabric Location resource.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a FabricLocation.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/FabricLocationModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "FabricLocationModel": { + "description": "All properties of a fabric location resource.", + "type": "object", + "properties": { + "pepIpAddresses": { + "description": "The IP addresses of the privileged endpoints.", + "type": "array", + "items": { + "type": "string" + } + }, + "timeServer": { + "description": "The IP address of the time server.", + "type": "string" + }, + "stampInformationId": { + "description": "The deployment id of the stamp.", + "type": "string" + }, + "externalDNSIPAddress01": { + "description": "First external IP address of the DNS server.", + "type": "string" + }, + "externalDNSIPAddress02": { + "description": "Second external IP Address of the DNS server.", + "type": "string" + }, + "exclusiveAdminOperationRunning": { + "description": "Value for whether an exclusive admin operation is running.", + "type": "boolean" + }, + "exclusiveAdminOperationName": { + "description": "Name of the running exclusive admin operation.", + "type": "string" + }, + "startUpActionPlanStartTime": { + "description": "Last known stamp start time for the start up action plan.", + "type": "string", + "format": "date-time" + }, + "startUpActionPlanEndTime": { + "description": "Last known stamp stop time for the start up action plan.", + "type": "string", + "format": "date-time" + }, + "shutDownActionPlanStartTime": { + "description": "Last known stamp start time for the shut down action plan", + "type": "string", + "format": "date-time" + }, + "shutDownActionPlanEndTime": { + "description": "Last known stamp stop time for the shut down action plan.", + "type": "string", + "format": "date-time" + } + } + }, + "FabricLocationList": { + "description": "Pageable list of fabric locations.", + "type": "object", + "properties": { + "value": { + "description": "List of fabric locations.", + "type": "array", + "items": { + "$ref": "#/definitions/FabricLocation" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "FabricLocationParameter": { + "description": "Fabric location.", + "name": "fabricLocation", + "type": "string", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Authorization uses an Azure Active Directory OAuth2 flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json new file mode 100644 index 000000000000..fd2bb3085545 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "System.local", + "fabricLocation": "local" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "name": "local", + "type": "Microsoft.Fabric.Admin/fabricLocations", + "location": "local", + "tags": {}, + "properties": {} + } + }, + "404": {} + } +} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json new file mode 100644 index 000000000000..c6b2be2a8629 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "resourceGroupName": "System.local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/23a94a7f-64b3-42d8-807c-733284339015/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "name": "local", + "type": "Microsoft.Fabric.Admin/fabricLocations", + "location": "local", + "tags": {}, + "properties": {} + } + ] + } + } + } +} From c26db7f2d38e78b51e7c66a9ff9490a69d43fcc2 Mon Sep 17 00:00:00 2001 From: "redmond\\yiyangz" Date: Sun, 20 Mar 2022 16:52:25 -0700 Subject: [PATCH 2/3] AzureStack Admin API - Fabric RP - FabricLocation - 2022-03-01 --- .../stable/2022-03-01/FabricLocation.json | 26 +++++++++----- .../examples/FabricLocation/Get.json | 22 ++++++++++-- .../examples/FabricLocation/List.json | 22 ++++++++++-- .../fabric/readme.azsautogen.md | 4 +-- .../resource-manager/fabric/readme.md | 34 +++++++++++++++++-- 5 files changed, 91 insertions(+), 17 deletions(-) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json index 5a08a6105b36..a57c6b652c5b 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json @@ -3,7 +3,7 @@ "info": { "description": "Fabric location operation endpoints and objects.", "title": "FabricAdminClient", - "version": "2016-05-01" + "version": "2022-03-01" }, "host": "management.azure.com", "schemes": [ @@ -30,16 +30,16 @@ "operationId": "FabricLocations_Get", "parameters": [ { - "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "Fabric.json#/parameters/ResourceGroupParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/FabricLocationParameter" }, { - "$ref": "Fabric.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -69,16 +69,16 @@ "operationId": "FabricLocations_List", "parameters": [ { - "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "Fabric.json#/parameters/ResourceGroupParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "Fabric.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "Fabric.json#/parameters/FilterParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/FilterParameter" } ], "responses": { @@ -109,7 +109,7 @@ }, "allOf": [ { - "$ref": "Fabric.json#/definitions/Resource" + "$ref": "../../preview/2016-05-01/Fabric.json#/definitions/Resource" } ] }, @@ -132,6 +132,10 @@ "description": "The deployment id of the stamp.", "type": "string" }, + "stampCloudId": { + "description": "The cloud id of the stamp.", + "type": "string" + }, "externalDNSIPAddress01": { "description": "First external IP address of the DNS server.", "type": "string" @@ -167,6 +171,10 @@ "description": "Last known stamp stop time for the shut down action plan.", "type": "string", "format": "date-time" + }, + "dataGeoLocation": { + "description": "Data storage geo location for compliance.", + "type": "string" } } }, diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json index fd2bb3085545..0c952a5887d3 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2016-05-01", + "api-version": "2022-03-01", "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "resourceGroupName": "System.local", "fabricLocation": "local" @@ -13,7 +13,25 @@ "type": "Microsoft.Fabric.Admin/fabricLocations", "location": "local", "tags": {}, - "properties": {} + "properties": { + "pepIpAddresses": [ + "192.168.200.224", + "192.168.200.225", + "192.168.200.226" + ], + "timeServer": "10.221.192.41", + "stampInformationId": "25c08b46-523c-4678-9cbc-9a5dd4406683", + "stampCloudId": "66be2306-27d2-4223-9d52-f49db5530a53", + "externalDNSIPAddress01": "192.168.102.10", + "externalDNSIPAddress02": "192.168.102.12", + "exclusiveAdminOperationRunning": true, + "exclusiveAdminOperationName": "MAS Update", + "startUpActionPlanStartTime": "2022-03-01T13:25:59.99999999Z", + "startUpActionPlanEndTime": "2022-03-01T13:59:59.99999999Z", + "shutDownActionPlanStartTime": "2022-03-01T10:15:59.99999999Z", + "shutDownActionPlanEndTime": "2022-03-01T10:30:59.99999999Z", + "dataGeoLocation": "europe" + } } }, "404": {} diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json index c6b2be2a8629..fd5ace3c8836 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2016-05-01", + "api-version": "2022-03-01", "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "resourceGroupName": "System.local" }, @@ -14,7 +14,25 @@ "type": "Microsoft.Fabric.Admin/fabricLocations", "location": "local", "tags": {}, - "properties": {} + "properties": { + "pepIpAddresses": [ + "192.168.200.224", + "192.168.200.225", + "192.168.200.226" + ], + "timeServer": "10.221.192.41", + "stampInformationId": "25c08b46-523c-4678-9cbc-9a5dd4406683", + "stampCloudId": "66be2306-27d2-4223-9d52-f49db5530a53", + "externalDNSIPAddress01": "192.168.102.10", + "externalDNSIPAddress02": "192.168.102.12", + "exclusiveAdminOperationRunning": true, + "exclusiveAdminOperationName": "MAS Update", + "startUpActionPlanStartTime": "2022-03-01T13:25:59.99999999Z", + "startUpActionPlanEndTime": "2022-03-01T13:59:59.99999999Z", + "shutDownActionPlanStartTime": "2022-03-01T10:15:59.99999999Z", + "shutDownActionPlanEndTime": "2022-03-01T10:30:59.99999999Z", + "dataGeoLocation": "europe" + } } ] } diff --git a/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md b/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md index 1f4ce0188bd8..a1a00e517424 100644 --- a/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md +++ b/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md @@ -24,7 +24,7 @@ These are the global settings for the Fabric API. title: FabricAdminClient description: Fabric Admin Client openapi-type: arm -tag: package-2019-05-01 +tag: package-2022-03-01 ``` ``` yaml @@ -34,7 +34,6 @@ input-file: - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGateway.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGatewayPool.json - - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/InfraRole.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json @@ -53,6 +52,7 @@ input-file: - $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.json" - $(this-folder)/Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnit.json" - $(this-folder)/Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnitNode.json" + - $(this-folder)/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json ``` --- diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md index aaa749370e15..578bf661ff04 100644 --- a/specification/azsadmin/resource-manager/fabric/readme.md +++ b/specification/azsadmin/resource-manager/fabric/readme.md @@ -24,7 +24,7 @@ These are the global settings for the Fabric API. title: FabricAdminClient description: Fabric Admin Client openapi-type: arm -tag: package-2019-05-01 +tag: package-2022-03-01 ``` ### Tag: package-2016-05-01 @@ -117,6 +117,36 @@ input-file: - "Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnitNode.json" ``` +### Tag: package-2022-03-01 + +These settings apply only when `--tag=package-2022-03-01` is specified on the command line. + +``` yaml $(tag) == 'package-2022-03-01' +input-file: + - "Microsoft.Fabric.Admin/preview/2016-05-01/ApplicationOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGateway.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGatewayPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRole.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/IpPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalNetwork.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalSubnet.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/MacAddressPool.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/NetworkOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/SlbMuxInstance.json" + - "Microsoft.Fabric.Admin/preview/2016-05-01/StorageOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json" + - "Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json" + - "Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json" + - "Microsoft.Fabric.Admin/preview/2019-05-01/NasCluster.json" + - "Microsoft.Fabric.Admin/preview/2020-10-01/ComputeOperationResults.json" + - "Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnit.json" + - "Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnitNode.json" + - "Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json" +``` + ## Suppression ``` yaml directive: @@ -190,7 +220,7 @@ input-file: - $(this-folder)/Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnit.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2020-10-01/ScaleUnitNode.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2020-10-01/ComputeOperationResults.json - + - $(this-folder)/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json ``` If there are files that should not be in the `all-api-versions` set, From ef42eecc4966236dd0c63ba2da56c9c668fbd4ea Mon Sep 17 00:00:00 2001 From: "redmond\\yiyangz" Date: Thu, 24 Mar 2022 23:43:55 -0700 Subject: [PATCH 3/3] Revert to original Fabric.json for common type --- .../stable/2022-03-01/FabricLocation.json | 25 +++++++++++++------ .../examples/FabricLocation/Get.json | 3 +-- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json index a57c6b652c5b..dce038780856 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/FabricLocation.json @@ -30,16 +30,16 @@ "operationId": "FabricLocations_Get", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" }, { "$ref": "#/parameters/FabricLocationParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -49,8 +49,11 @@ "$ref": "#/definitions/FabricLocation" } }, - "404": { - "description": "NOT FOUND" + "default": { + "description": "Error Response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } } } } @@ -69,13 +72,13 @@ "operationId": "FabricLocations_List", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/ResourceGroupParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/ApiVersionParameter" }, { "$ref": "../../preview/2016-05-01/Fabric.json#/parameters/FilterParameter" @@ -87,6 +90,12 @@ "schema": { "$ref": "#/definitions/FabricLocationList" } + }, + "default": { + "description": "Error Response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } } }, "x-ms-pageable": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json index 0c952a5887d3..9dbe0e8ae555 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/stable/2022-03-01/examples/FabricLocation/Get.json @@ -33,7 +33,6 @@ "dataGeoLocation": "europe" } } - }, - "404": {} + } } }