From 2401d9e3bc2dab06725d427b432ba516c09cc1a8 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Wed, 16 Dec 2020 16:48:10 +0530 Subject: [PATCH 01/12] first commit for swagger --- .../2020-12-01-preview.json | 3560 +++++++++++++++++ .../examples/AddressCreate.json | 78 + .../examples/AddressDelete.json | 21 + .../examples/AddressGetByName.json | 47 + .../examples/AddressPatch.json | 86 + .../AddressesGetAtResourceGrouplevel.json | 108 + .../AddressesGetAtSubscriptionLevel.json | 107 + .../examples/ListConfigurations.json | 72 + .../ListConfigurationsByResourceGroup.json | 73 + .../examples/ListOperations.json | 211 + .../examples/ListProductFamilies.json | 325 ++ ...tFamiliesMetadataAtResourceGroupLevel.json | 326 ++ .../examples/OrderCollectionCreate.json | 57 + .../examples/OrderCollectionDelete.json | 22 + .../examples/OrderCollectionGet.json | 34 + .../OrderCollectionListAtRGLevel.json | 37 + ...rderCollectionListAtSubscriptionLevel.json | 36 + .../examples/OrderCollectionUpdate.json | 54 + .../edgeorder/resource-manager/readme.md | 41 + 19 files changed, 5295 insertions(+) create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json create mode 100644 specification/edgeorder/resource-manager/readme.md diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json new file mode 100644 index 000000000000..54415a703028 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json @@ -0,0 +1,3560 @@ +{ + "swagger": "2.0", + "info": { + "version": "2020-12-01-preview", + "title": "Edge Ordering Service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.EdgeOrder/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "This method gets all the operations.", + "operationId": "List", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List": { + "$ref": "./examples/ListOperations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/addresses": { + "get": { + "tags": [ + "Addresses" + ], + "description": "Lists all the addresses available under the subscription.", + "operationId": "ListAddressesAtSubscriptionLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "$filter is supported to filter based on shipping address properties. Filter supports only equals operation.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of addresses, which provides the next page in the list of addresses.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "List of addresses available under the subscription.", + "schema": { + "$ref": "#/definitions/AddressResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAddressesAtSubscriptionLevel": { + "$ref": "./examples/AddressesGetAtSubscriptionLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/listProductFamilies": { + "post": { + "tags": [ + "ProductsAndConfigurations" + ], + "description": "This method provides the list of product families for the given subscription.", + "operationId": "ListProductFamilies", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$expand", + "in": "query", + "description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of product families, which provides the next page in the list of product families.", + "required": false, + "type": "string" + }, + { + "name": "productFamiliesRequest", + "in": "body", + "description": "Filters for showing the product families.", + "required": true, + "schema": { + "$ref": "#/definitions/ProductFamiliesRequest" + } + } + ], + "responses": { + "200": { + "description": "The list of available product families under subscription.", + "schema": { + "$ref": "#/definitions/ProductFamilies" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListProductFamilies": { + "$ref": "./examples/ListProductFamilies.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamilies/{productFamilyName}/productLines/{productLineName}/products/{productName}/configurations": { + "post": { + "tags": [ + "ProductsAndConfigurations" + ], + "description": "This method provides the list of configurations for the given product family, product line and product under subscription.", + "operationId": "ListConfigurations", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/productFamilyNameParameter" + }, + { + "$ref": "#/parameters/productLineNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations.", + "required": false, + "type": "string" + }, + { + "name": "configurationsRequest", + "in": "body", + "description": "Filters for showing the configurations.", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationsRequest" + } + } + ], + "responses": { + "200": { + "description": "The list of configurations for the given product family, product line and product under subscription.", + "schema": { + "$ref": "#/definitions/Configurations" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListConfigurations": { + "$ref": "./examples/ListConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamiliesMetadata": { + "get": { + "tags": [ + "ProductFamilyMetadata" + ], + "description": "This method provides the list of product families metadata for the given subscription.", + "operationId": "ListProductFamiliesMetadata", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of product families metadata, which provides the next page in the list of product families metadata.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The list of available product families under subscription.", + "schema": { + "$ref": "#/definitions/ProductFamiliesMetadata" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListProductFamiliesMetadata": { + "$ref": "./examples/ListProductFamiliesMetadata.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orderCollections": { + "get": { + "tags": [ + "OrderCollections" + ], + "description": "Lists order collections at subscription level.", + "operationId": "ListOrderCollectionsAtSubscriptionLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of order collections, which provides the next page in the list of order collections.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Order collection object", + "schema": { + "$ref": "#/definitions/OrderCollectionResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOrderCollectionsAtSubscriptionLevel": { + "$ref": "./examples/ListOrderCollectionsAtSubscriptionLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orders": { + "get": { + "tags": [ + "Orders" + ], + "description": "Lists order at subscription level.", + "operationId": "ListOrdersAtSubscriptionLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "$filter is supported to filter based on order collection id. Filter supports only equals operation.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of orders, which provides the next page in the list of order.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Order object", + "schema": { + "$ref": "#/definitions/OrderResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOrdersAtSubscriptionLevel": { + "$ref": "./examples/ListOrdersAtSubscriptionLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses": { + "get": { + "tags": [ + "Addresses" + ], + "description": "Lists all the addresses available under the given resource group.", + "operationId": "ListAddressesAtResourceGroupLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "$filter is supported to filter based on shipping address properties. Filter supports only equals operation.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of addresses, which provides the next page in the list of address.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "List of addresses available under the resource group.", + "schema": { + "$ref": "#/definitions/AddressResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAddressesAtResourceGroupLevel": { + "$ref": "./examples/AddressesGetAtResourceGroupLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses/{addressName}": { + "get": { + "tags": [ + "Addresses" + ], + "description": "Gets information about the specified address.", + "operationId": "GetAddressByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/addressNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Address object", + "schema": { + "$ref": "#/definitions/AddressResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "GetAddressByName": { + "$ref": "./examples/AddressGetByName.json" + } + } + }, + "put": { + "tags": [ + "Addresses" + ], + "description": "Creates a new address with the specified parameters. Existing address cannot be updated with this API and should instead be updated with the Update address API.", + "operationId": "CreateAddress", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/addressNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "addressResource", + "in": "body", + "description": "Address details from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/AddressResource" + } + } + ], + "responses": { + "200": { + "description": "Address object." + }, + "202": { + "description": "Accepted request for create Address." + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CreateAddress": { + "$ref": "./examples/AddressCreate.json" + } + } + }, + "delete": { + "tags": [ + "Addresses" + ], + "description": "Deletes an address.", + "operationId": "DeleteAddressByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/addressNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Address deleted." + }, + "202": { + "description": "Accepted request for delete address." + }, + "204": { + "description": "No content. Address deleted." + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteAddressByName": { + "$ref": "./examples/AddressDelete.json" + } + } + }, + "patch": { + "tags": [ + "Addresses" + ], + "description": "Updates the properties of an existing address.", + "operationId": "UpdateAddress", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/addressNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value.", + "required": false, + "type": "string" + }, + { + "name": "addressUpdateParameter", + "in": "body", + "description": "Address update parameters from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/AddressUpdateParameter" + } + } + ], + "responses": { + "202": { + "description": "Accepted request for address update." + }, + "200": { + "description": "Address resource object.", + "schema": { + "$ref": "#/definitions/AddressResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "UpdateAddress": { + "$ref": "./examples/AddressPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/listProductFamilies": { + "post": { + "tags": [ + "ProductsAndConfigurations" + ], + "description": "This method provides the list of product families for the given subscription and resource group.", + "operationId": "ListProductFamiliesByResourceGroup", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$expand", + "in": "query", + "description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of product families, which provides the next page in the list of product families.", + "required": false, + "type": "string" + }, + { + "name": "productFamiliesRequest", + "in": "body", + "description": "Filters for showing the product families.", + "required": true, + "schema": { + "$ref": "#/definitions/ProductFamiliesRequest" + } + } + ], + "responses": { + "200": { + "description": "The list of available product families under resource group.", + "schema": { + "$ref": "#/definitions/ProductFamilies" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListProductFamiliesByResourceGroup": { + "$ref": "./examples/ListProductFamiliesByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/productFamilies/{productFamilyName}/productLines/{productLineName}/products/{productName}/configurations": { + "post": { + "tags": [ + "ProductsAndConfigurations" + ], + "description": "This method provides list of configurations for the given product family, product line and product under resource group and subscription.", + "operationId": "ListConfigurationsByResourceGroup", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/productFamilyNameParameter" + }, + { + "$ref": "#/parameters/productLineNameParameter" + }, + { + "$ref": "#/parameters/productNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations.", + "required": false, + "type": "string" + }, + { + "name": "configurationsRequest", + "in": "body", + "description": "Filters for showing the configurations.", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationsRequest" + } + } + ], + "responses": { + "200": { + "description": "The list of configurations for the given product family, product line and product under resource group.", + "schema": { + "$ref": "#/definitions/Configurations" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListConfigurationsByResourceGroup": { + "$ref": "./examples/ListConfigurationsByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/productFamiliesMetadata": { + "get": { + "tags": [ + "ProductFamilyMetadata" + ], + "description": "This method provides the list of product families metadata for the given resource group level.", + "operationId": "ListProductFamiliesMetadataAtResourceGroupLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on list of product families metadata, which provides the next page in the list of product families metadata.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The list of available product families under subscription.", + "schema": { + "$ref": "#/definitions/ProductFamiliesMetadata" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListProductFamiliesMetadataAtResourceGroupLevel": { + "$ref": "./examples/ListProductFamiliesMetadataAtResourceGroupLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderCollections": { + "get": { + "tags": [ + "OrderCollections" + ], + "description": "Lists order collections at resource group level.", + "operationId": "ListOrderCollectionsAtResourceGroupLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of order collections, which provides the next page in the list of order collections.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Order collection object", + "schema": { + "$ref": "#/definitions/OrderCollectionResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOrderCollectionsAtResourceGroupLevel": { + "$ref": "./examples/ListOrderCollectionsAtResourceGroupLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderCollections/{orderCollectionName}": { + "get": { + "tags": [ + "OrderCollections" + ], + "description": "Gets an order collection.", + "operationId": "GetOrderCollectionByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderCollectionNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Order collection object", + "schema": { + "$ref": "#/definitions/OrderCollectionResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "GetOrderCollectionByName": { + "$ref": "./examples/GetOrderCollectionByName.json" + } + } + }, + "put": { + "tags": [ + "OrderCollections" + ], + "description": "Creates an order collection. Existing order collection cannot be updated with this api and should instead be updated with the Update order collection API.", + "operationId": "CreateOrderCollection", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderCollectionNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "orderCollectionResource", + "in": "body", + "description": "Order collection details from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/OrderCollectionResource" + } + } + ], + "responses": { + "200": { + "description": "Returns order collection object" + }, + "202": { + "description": "Accepted request to create order collection." + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CreateOrderCollection": { + "$ref": "./examples/CreateOrderCollection.json" + } + } + }, + "delete": { + "tags": [ + "OrderCollections" + ], + "description": "Deletes an order collection.", + "operationId": "DeleteOrderCollectionByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderCollectionNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Just for swagger we are adding this status code" + }, + "202": { + "description": "Accepted delete request for an order collection" + }, + "204": { + "description": "No content. Order collection deleted" + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteOrderCollectionByName": { + "$ref": "./examples/DeleteOrderCollectionByName.json" + } + } + }, + "patch": { + "tags": [ + "OrderCollections" + ], + "description": "Updates the properties of an existing order collection.", + "operationId": "UpdateOrderCollection", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderCollectionNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "Defines the If-Match condition. The patch will be performed only if the ETag of the order collection on the server matches this value.", + "required": false, + "type": "string" + }, + { + "name": "orderCollectionUpdateParameter", + "in": "body", + "description": "order collection update parameters from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/OrderCollectionUpdateParameter" + } + } + ], + "responses": { + "202": { + "description": "Accepted request for order collection update." + }, + "200": { + "description": "Order collection object", + "schema": { + "$ref": "#/definitions/OrderCollectionResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "UpdateOrderCollection": { + "$ref": "./examples/UpdateOrderCollection.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders": { + "get": { + "tags": [ + "Orders" + ], + "description": "Lists order at resource group level.", + "operationId": "ListOrdersAtResourceGroupLevel", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "$filter is supported to filter based on order collection id. Filter supports only equals operation.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "$skipToken is supported on Get list of orders, which provides the next page in the list of order.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Order object", + "schema": { + "$ref": "#/definitions/OrderResourceList" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOrdersAtResourceGroupLevel": { + "$ref": "./examples/ListOrdersAtResourceGroupLevel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders/{orderName}": { + "get": { + "tags": [ + "Orders" + ], + "description": "Gets an order.", + "operationId": "GetOrderByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Order object", + "schema": { + "$ref": "#/definitions/OrderResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "GetOrderByName": { + "$ref": "./examples/GetOrderByName.json" + } + } + }, + "put": { + "tags": [ + "Orders" + ], + "description": "Creates an order. Existing order cannot be updated with this api and should instead be updated with the Update order API.", + "operationId": "CreateOrder", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "orderResource", + "in": "body", + "description": "Order details from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/OrderResource" + } + } + ], + "responses": { + "200": { + "description": "Returns order object" + }, + "202": { + "description": "Accepted request to create order." + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CreateOrder": { + "$ref": "./examples/CreateOrder.json" + } + } + }, + "delete": { + "tags": [ + "Orders" + ], + "description": "Deletes an order.", + "operationId": "DeleteOrderByName", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Order Deleted" + }, + "202": { + "description": "Accepted delete request for an order" + }, + "204": { + "description": "No content. Order deleted" + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteOrderByName": { + "$ref": "./examples/DeleteOrderByName.json" + } + } + }, + "patch": { + "tags": [ + "Orders" + ], + "description": "Updates the properties of an existing order.", + "operationId": "UpdateOrder", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "If-Match", + "in": "header", + "description": "Defines the If-Match condition. The patch will be performed only if the ETag of the order on the server matches this value.", + "required": false, + "type": "string" + }, + { + "name": "orderUpdateParameter", + "in": "body", + "description": "order update parameters from request body.", + "required": true, + "schema": { + "$ref": "#/definitions/OrderUpdateParameter" + } + } + ], + "responses": { + "202": { + "description": "Accepted request for order update." + }, + "200": { + "description": "Order resource object", + "schema": { + "$ref": "#/definitions/OrderResource" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "UpdateOrder": { + "$ref": "./examples/UpdateOrder.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders/{orderName}/cancel": { + "post": { + "tags": [ + "Orders" + ], + "description": "Cancel order.", + "operationId": "CancelOrder", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "cancellationReason", + "in": "body", + "description": "Reason for cancellation.", + "required": true, + "schema": { + "$ref": "#/definitions/CancellationReason" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "\"No content\"" + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-examples": { + "CancelOrder": { + "$ref": "./examples/CancelOrder.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orders/{orderName}/return": { + "post": { + "tags": [ + "Orders" + ], + "description": "Return order.", + "operationId": "ReturnOrder", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/orderNameParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "name": "returnOrderDetails", + "in": "body", + "description": "Return order CurrentStatus.", + "required": true, + "schema": { + "$ref": "#/definitions/ReturnOrderDetails" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "\"Return order request accepted.\"" + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "#/definitions/ApiError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ReturnOrder": { + "$ref": "./examples/ReturnOrder.json" + } + } + } + } + }, + "definitions": { + "AdditionalErrorInfo": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "info": { + "type": "object" + } + } + }, + "AddressDetails": { + "description": "Address details for an order.", + "required": [ + "shippingAddress" + ], + "type": "object", + "properties": { + "shippingAddress": { + "$ref": "#/definitions/AddressResource", + "description": "Customer address and contact details. It should be address resource" + }, + "returnAddress": { + "$ref": "#/definitions/AddressResource", + "description": "Return shipping address", + "readOnly": true + } + } + }, + "AddressProperties": { + "description": "Address Properties", + "required": [ + "contactDetails" + ], + "type": "object", + "properties": { + "shippingAddress": { + "$ref": "#/definitions/ShippingAddress", + "description": "Shipping details for the address" + }, + "contactDetails": { + "$ref": "#/definitions/ContactDetails", + "description": "Contact details for the address" + } + } + }, + "AddressResource": { + "description": "Address Resource.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AddressProperties", + "description": "Properties of a job.", + "x-ms-client-flatten": true + }, + "name": { + "description": "Name of the object.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the object.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the object.", + "type": "string", + "readOnly": true + } + } + }, + "AddressResourceList": { + "description": "Address Resource Collection", + "type": "object", + "properties": { + "value": { + "description": "List of address resources.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/AddressResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of job resources.", + "type": "string" + } + } + }, + "AddressUpdateParameter": { + "description": "The Address update parameters", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AddressUpdateProperties", + "description": "Properties of a address to be updated.", + "x-ms-client-flatten": true + }, + "tags": { + "description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "AddressUpdateProperties": { + "description": "Address Properties", + "type": "object", + "properties": { + "shippingAddress": { + "$ref": "#/definitions/ShippingAddress", + "description": "Shipping details for the address" + }, + "contactDetails": { + "$ref": "#/definitions/ContactDetails", + "description": "Contact details for the address" + } + } + }, + "ApiError": { + "required": [ + "error" + ], + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetail" + } + } + }, + "ArmBaseObject": { + "description": "Base class for all objects under resource.", + "type": "object", + "properties": { + "name": { + "description": "Name of the object.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the object.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the object.", + "type": "string", + "readOnly": true + } + } + }, + "AvailabilityInformation": { + "description": "Availability information of a product system.", + "type": "object", + "properties": { + "availabilityStage": { + "description": "Current availability stage of the product. Availability stage", + "enum": [ + "Available", + "ComingSoon", + "Preview", + "Deprecated" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "AvailabilityStage", + "modelAsExtensible": true, + "values": [ + { + "value": "Available", + "description": "Product is available." + }, + { + "value": "ComingSoon", + "description": "Product is coming soon." + }, + { + "value": "Preview", + "description": "Product is in preview." + }, + { + "value": "Deprecated", + "description": "Product is deprecated." + } + ] + } + }, + "disabledReason": { + "description": "Reason why the product is disabled.", + "enum": [ + "None", + "Country", + "Region", + "Feature", + "OfferType", + "NoSubscriptionInfo", + "NotAvailable", + "OutOfStock" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DisabledReason", + "modelAsExtensible": true, + "values": [ + { + "value": "None", + "description": "Not disabled." + }, + { + "value": "Country", + "description": "Not available in the requested country." + }, + { + "value": "Region", + "description": "Not available to push data to the requested Azure region." + }, + { + "value": "Feature", + "description": "Required features are not enabled." + }, + { + "value": "OfferType", + "description": "Subscription does not have required offer types." + }, + { + "value": "NoSubscriptionInfo", + "description": "Subscription has not registered to Microsoft.DataBox and Service does not have the subscription notification." + }, + { + "value": "NotAvailable", + "description": "The product is not yet available." + }, + { + "value": "OutOfStock", + "description": "The product is out of stock." + } + ] + } + }, + "disabledReasonMessage": { + "description": "Message for why the product is disabled.", + "type": "string", + "readOnly": true + } + } + }, + "BasicInformation": { + "description": "Basic information for any product system", + "type": "object", + "properties": { + "displayName": { + "description": "Display Name for the product system.", + "type": "string", + "readOnly": true + }, + "description": { + "$ref": "#/definitions/Description", + "description": "Description related to the product system.", + "readOnly": true + }, + "imageInformation": { + "description": "Image information for the product system.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ImageInformation" + }, + "readOnly": true + }, + "costInformation": { + "$ref": "#/definitions/CostInformation", + "description": "Cost information for the product system.", + "readOnly": true + }, + "availabilityInformation": { + "$ref": "#/definitions/AvailabilityInformation", + "description": "Availability information of the product system.", + "readOnly": true + } + } + }, + "BillingModel": { + "description": "Model to represent the billing cycle", + "type": "object", + "properties": { + "model": { + "description": "String to represent the billing model", + "type": "string", + "readOnly": true + } + } + }, + "CancellationReason": { + "description": "Reason for cancellation.", + "required": [ + "reason" + ], + "type": "object", + "properties": { + "reason": { + "description": "Reason for cancellation.", + "type": "string" + } + } + }, + "CloudError": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + }, + "details": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/CloudError" + }, + "readOnly": true + }, + "additionalInfo": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalErrorInfo" + }, + "readOnly": true + } + }, + "x-ms-external": true + }, + "Configuration": { + "description": "Configuration object.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArmBaseObject" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationProperties", + "description": "Properties of configuration", + "readOnly": true, + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "ConfigurationProperties": { + "description": "Properties of configuration", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BasicInformation" + } + ], + "properties": { + "specifications": { + "description": "Specifications of the configuration", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Specification" + }, + "readOnly": true + } + } + }, + "Configurations": { + "description": "The list of configurations.", + "type": "object", + "properties": { + "value": { + "description": "List of configurations.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of configurations.", + "type": "string" + } + } + }, + "ConfigurationsRequest": { + "description": "Configuration request object.", + "required": [ + "filterableProperties" + ], + "type": "object", + "properties": { + "filterableProperties": { + "description": "List of filters on product.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/FilterableProperty" + } + }, + "customerSubscriptionDetails": { + "$ref": "#/definitions/CustomerSubscriptionDetails", + "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" + } + } + }, + "ContactDetails": { + "description": "Contact Details.", + "required": [ + "contactName", + "phone" + ], + "type": "object", + "properties": { + "contactName": { + "description": "Contact name of the person.", + "type": "string" + }, + "phone": { + "description": "Phone number of the contact person.", + "type": "string" + }, + "phoneExtension": { + "description": "Phone extension number of the contact person.", + "type": "string" + }, + "mobile": { + "description": "Mobile number of the contact person.", + "type": "string" + } + } + }, + "CostInformation": { + "description": "Cost information for the product system", + "type": "object", + "properties": { + "primaryMeterType": { + "description": "Primary meter i.e. basic billing type for the product system.", + "enum": [ + "ServiceFee", + "ShippingFee", + "LostOrDamagedFee", + "LateDayFee" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MeterType", + "modelAsExtensible": true, + "values": [ + { + "value": "ServiceFee", + "description": "Service usage fee." + }, + { + "value": "ShippingFee", + "description": "Shipping fee." + }, + { + "value": "LostOrDamagedFee", + "description": "Fee charged if the device is lost or damaged." + }, + { + "value": "LateDayFee", + "description": "Fee charged if the device is kept longer that the allotted days." + } + ] + } + }, + "meterDetails": { + "description": "Details on the various billing aspects for the product system.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MeterDetails" + }, + "readOnly": true + } + } + }, + "Description": { + "description": "Description related properties of a product system.", + "type": "object", + "properties": { + "descriptionType": { + "description": "Type of description.", + "enum": [ + "Base" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DescriptionType", + "modelAsExtensible": true, + "values": [ + { + "value": "Base", + "description": "Base description." + } + ] + } + }, + "shortDescription": { + "description": "Short description of the product system.", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the product system.", + "type": "string", + "readOnly": true + }, + "keywords": { + "description": "Keywords for the product system.", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "attributes": { + "description": "Attributes for the product system.", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "links": { + "description": "Links for the product system.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Link" + }, + "readOnly": true + } + } + }, + "Details": { + "required": [ + "code", + "message" + ], + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "DeviceDetails": { + "description": "Device details.", + "type": "object", + "properties": { + "serialNumber": { + "description": "device serial number", + "type": "string", + "readOnly": true + }, + "deviceHistory": { + "description": "Package Shipping details", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "ErrorDetail": { + "required": [ + "code", + "message" + ], + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "details": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Details" + } + }, + "target": { + "type": "string" + } + } + }, + "FilterableProperty": { + "description": "Class defining the list of filter values on a filter type as part of configuration request.", + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "description": "Type of product filter.", + "enum": [ + "ShipToCountries" + ], + "type": "string", + "x-ms-enum": { + "name": "SupportedFilterTypes", + "modelAsExtensible": true, + "values": [ + { + "value": "ShipToCountries", + "description": "Ship to country" + } + ] + } + }, + "supportedValues": { + "description": "Values to be filtered.", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "ImageInformation": { + "description": "Image for the product", + "type": "object", + "properties": { + "imageType": { + "description": "Type of the image", + "enum": [ + "MainImage", + "BulletImage", + "GenericImage" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ImageType", + "modelAsExtensible": true, + "values": [ + { + "value": "MainImage", + "description": "Main image." + }, + { + "value": "BulletImage", + "description": "Bullet image." + }, + { + "value": "GenericImage", + "description": "Generic image." + } + ] + } + }, + "imageUrl": { + "description": "Url of the image", + "type": "string", + "readOnly": true + } + } + }, + "Link": { + "description": "Returns link related to the product", + "type": "object", + "properties": { + "linkType": { + "description": "Type of link", + "enum": [ + "Generic", + "TermsAndConditions", + "Specification", + "Documentation", + "KnowMore", + "SignUp" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "LinkType", + "modelAsExtensible": true, + "values": [ + { + "value": "Generic", + "description": "Generic link." + }, + { + "value": "TermsAndConditions", + "description": "Terms and conditions link." + }, + { + "value": "Specification", + "description": "Link to product specification." + }, + { + "value": "Documentation", + "description": "Link to product documentation" + }, + { + "value": "KnowMore", + "description": "Link to know more" + }, + { + "value": "SignUp", + "description": "Link to sign up for products" + } + ] + } + }, + "linkUrl": { + "description": "Url of the link", + "type": "string", + "readOnly": true + } + } + }, + "MeterDetails": { + "description": "Billing details for each meter.", + "type": "object", + "properties": { + "meterId": { + "description": "MeterId/ Billing Guid against which the product system will be charged", + "type": "string", + "readOnly": true + }, + "meterType": { + "description": "Category of the billing meter.", + "enum": [ + "ServiceFee", + "ShippingFee", + "LostOrDamagedFee", + "LateDayFee" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "MeterType", + "modelAsExtensible": true, + "values": [ + { + "value": "ServiceFee", + "description": "Service usage fee." + }, + { + "value": "ShippingFee", + "description": "Shipping fee." + }, + { + "value": "LostOrDamagedFee", + "description": "Fee charged if the device is lost or damaged." + }, + { + "value": "LateDayFee", + "description": "Fee charged if the device is kept longer that the allotted days." + } + ] + } + }, + "billingModel": { + "$ref": "#/definitions/BillingModel", + "description": "Billing model to represent billing cycle, i.e. Monthly, biweekly, daily, hourly etc.", + "readOnly": true + } + } + }, + "NotificationPreference": { + "description": "Notification preference for a job stage.", + "required": [ + "stageName", + "sendNotification" + ], + "type": "object", + "properties": { + "stageName": { + "description": "Name of the stage.", + "enum": [ + "DevicePrepared", + "Dispatched", + "Delivered", + "PickedUp", + "AtAzureDC", + "DataCopy" + ], + "type": "string", + "x-ms-enum": { + "name": "NotificationStageName", + "modelAsExtensible": true, + "values": [ + { + "value": "DevicePrepared", + "description": "Notification at device prepared stage." + }, + { + "value": "Dispatched", + "description": "Notification at device dispatched stage." + }, + { + "value": "Delivered", + "description": "Notification at device delivered stage." + }, + { + "value": "PickedUp", + "description": "Notification at device picked up from user stage." + }, + { + "value": "AtAzureDC", + "description": "Notification at device received at Azure datacenter stage." + }, + { + "value": "DataCopy", + "description": "Notification at data copy started stage." + } + ] + } + }, + "sendNotification": { + "description": "Notification is required or not.", + "type": "boolean" + } + } + }, + "Operation": { + "description": "Operation entity.", + "type": "object", + "properties": { + "name": { + "description": "Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}", + "type": "string", + "readOnly": true + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Operation display values.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Operation properties.", + "readOnly": true, + "x-ms-client-flatten": true + }, + "origin": { + "description": "Origin of the operation. Can be : user|system|user,system", + "type": "string", + "readOnly": true + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action.", + "type": "boolean", + "readOnly": true + } + } + }, + "OperationDisplay": { + "description": "Operation display", + "type": "object", + "properties": { + "provider": { + "description": "Provider name.", + "type": "string" + }, + "resource": { + "description": "Resource name.", + "type": "string" + }, + "operation": { + "description": "Localized name of the operation for display purpose.", + "type": "string" + }, + "description": { + "description": "Localized description of the operation for display purpose.", + "type": "string" + } + } + }, + "OperationList": { + "description": "Operation Collection.", + "type": "object", + "properties": { + "value": { + "description": "List of operations.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of operations.", + "type": "string" + } + } + }, + "OperationProperties": { + "description": "Operation properties.", + "type": "object", + "properties": {} + }, + "OrderCollectionProperties": { + "description": "Represents order collection details.", + "required": [ + "orderIds" + ], + "type": "object", + "properties": { + "orderIds": { + "description": "List of order ARM Ids which are part of an order collection.", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "OrderCollectionResource": { + "description": "Specifies the properties or parameters for an order collection. Order collection is a grouping of one or more orders.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/OrderCollectionProperties", + "description": "Order collection properties", + "x-ms-client-flatten": true + }, + "name": { + "description": "Name of the object.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the object.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the object.", + "type": "string", + "readOnly": true + } + } + }, + "OrderCollectionResourceList": { + "description": "Specifies the list of order collections.", + "type": "object", + "properties": { + "value": { + "description": "List of order collection resources.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OrderCollectionResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of order collection resources.", + "type": "string" + } + } + }, + "OrderCollectionUpdateParameter": { + "description": "Specifies the parameters which can be updated for an order collection.", + "type": "object", + "properties": { + "tags": { + "description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "OrderDetails": { + "description": "Order details", + "required": [ + "productDetails", + "orderType" + ], + "type": "object", + "properties": { + "productDetails": { + "$ref": "#/definitions/ProductDetails", + "description": "Unique identifier for configuration." + }, + "orderType": { + "description": "Order type.", + "enum": [ + "Purchase", + "Rental" + ], + "type": "string", + "x-ms-enum": { + "name": "OrderType", + "modelAsExtensible": true, + "values": [ + { + "value": "Purchase", + "description": "Purchase Order." + }, + { + "value": "Rental", + "description": "Rental Order." + } + ] + } + }, + "currentStatus": { + "$ref": "#/definitions/OrderStatusDetails", + "description": "Current Order Status", + "readOnly": true + }, + "orderStatusHistory": { + "description": "Order history", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OrderStatusDetails" + }, + "readOnly": true + }, + "preferences": { + "$ref": "#/definitions/Preferences", + "description": "Customer notification Preferences" + }, + "forwardShippingDetails": { + "$ref": "#/definitions/ShippingDetails", + "description": "Forward Package Shipping details", + "readOnly": true + }, + "reverseShippingDetails": { + "$ref": "#/definitions/ShippingDetails", + "description": "Reverse Package Shipping details", + "readOnly": true + }, + "notificationEmailList": { + "description": "Package Shipping details", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "cancellationReason": { + "description": "Cancellation reason.", + "type": "string", + "readOnly": true + }, + "cancellationStatus": { + "description": "Describes whether the order is cancellable or not.", + "enum": [ + "Cancellable", + "CancellableWithFee", + "NotCancellable" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "OrderCancellationEnum", + "modelAsExtensible": true, + "values": [ + { + "value": "Cancellable", + "description": "Order can be cancelled without fee." + }, + { + "value": "CancellableWithFee", + "description": "Order can be cancelled with fee." + }, + { + "value": "NotCancellable", + "description": "Order not cancellable." + } + ] + } + }, + "deletionStatus": { + "description": "Describes whether the order is deletable or not.", + "enum": [ + "Allowed", + "NotAllowed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ActionStatusEnum", + "modelAsExtensible": true, + "values": [ + { + "value": "Allowed", + "description": "Allowed flag." + }, + { + "value": "NotAllowed", + "description": "Not Allowed flag." + } + ] + } + }, + "returnReason": { + "description": "Return reason.", + "type": "string", + "readOnly": true + }, + "returnStatus": { + "description": "Describes whether the order is returnable or not.", + "enum": [ + "Returnable", + "ReturnableWithFee", + "NotReturnable" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "OrderReturnEnum", + "modelAsExtensible": true, + "values": [ + { + "value": "Returnable", + "description": "Order can be returned without fee." + }, + { + "value": "ReturnableWithFee", + "description": "Order can be returned with fee." + }, + { + "value": "NotReturnable", + "description": "Order not returnable." + } + ] + } + }, + "managementRpDetails": { + "$ref": "#/definitions/ResourceProviderDetails", + "description": "parent RP details", + "readOnly": true + }, + "error": { + "$ref": "#/definitions/CloudError", + "description": "Top level error for the job.", + "readOnly": true + } + } + }, + "OrderProperties": { + "description": "Represents order details.", + "required": [ + "orderDetails", + "addressDetails" + ], + "type": "object", + "properties": { + "orderDetails": { + "$ref": "#/definitions/OrderDetails", + "description": "Represents order details." + }, + "addressDetails": { + "$ref": "#/definitions/AddressDetails", + "description": "Represents shipping and return address for order" + }, + "startTime": { + "format": "date-time", + "description": "Start time of order", + "type": "string", + "readOnly": true + }, + "orderCollectionId": { + "description": "Id of the order collection to which order belongs to", + "type": "string", + "readOnly": true + } + } + }, + "OrderResource": { + "description": "Represents order contract", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/OrderProperties", + "description": "Order properties", + "x-ms-client-flatten": true + }, + "name": { + "description": "Name of the object.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the object.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the object.", + "type": "string", + "readOnly": true + } + } + }, + "OrderResourceList": { + "description": "List of orders", + "type": "object", + "properties": { + "value": { + "description": "List of order resources.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/OrderResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of order resources.", + "type": "string" + } + } + }, + "OrderStatusDetails": { + "description": "Order status CurrentStatus", + "type": "object", + "properties": { + "orderStatus": { + "description": "Order status", + "type": "string", + "readOnly": true + } + } + }, + "OrderUpdateParameter": { + "description": "Updates order parameters.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/OrderUpdateProperties", + "description": "Order update properties", + "x-ms-client-flatten": true + }, + "tags": { + "description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "OrderUpdateProperties": { + "description": "Order update properties.", + "type": "object", + "properties": { + "shippingAddress": { + "$ref": "#/definitions/AddressProperties", + "description": "Updates forward shipping address and contact details." + }, + "preferences": { + "$ref": "#/definitions/Preferences", + "description": "Customer preference." + }, + "notificationEmailList": { + "description": "Customer preference.", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Preferences": { + "description": "Preferences related to the order", + "type": "object", + "properties": { + "notificationPreferences": { + "description": "Notification preferences.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/NotificationPreference" + } + }, + "transportPreferences": { + "$ref": "#/definitions/TransportPreferences", + "description": "Preferences related to the shipment logistics of the order." + } + } + }, + "Product": { + "description": "List of Products", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArmBaseObject" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProductProperties", + "description": "Properties of product", + "readOnly": true, + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "ProductDetails": { + "description": "Represents product details", + "required": [ + "productId" + ], + "type": "object", + "properties": { + "productId": { + "description": "Unique id of the product", + "type": "string" + }, + "count": { + "format": "int32", + "description": "Quantity of the product", + "type": "integer" + }, + "deviceDetails": { + "description": "list of device details", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/DeviceDetails" + }, + "readOnly": true + } + } + }, + "ProductFamilies": { + "description": "The list of product families.", + "type": "object", + "properties": { + "value": { + "description": "List of product families.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ProductFamily" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of product families.", + "type": "string" + } + } + }, + "ProductFamiliesMetadata": { + "description": "Holds details about product family metadata", + "type": "object", + "properties": { + "value": { + "description": "List of product family metadata details.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ProductFamiliesMetadataDetails" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link for the next set of product families.", + "type": "string", + "readOnly": true + } + } + }, + "ProductFamiliesMetadataDetails": { + "description": "Product families metadata details.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/BasicInformation", + "description": "Product family properties", + "readOnly": true, + "x-ms-client-flatten": true + }, + "filters": { + "description": "list of filters supported for a product family", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/FilterableProperty" + }, + "readOnly": true + }, + "name": { + "description": "Name of the object.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the object.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the object.", + "type": "string", + "readOnly": true + } + } + }, + "ProductFamiliesRequest": { + "description": "The filters for showing the product families.", + "required": [ + "filterableProperties" + ], + "type": "object", + "properties": { + "filterableProperties": { + "description": "List of filters on product family.", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/FilterableProperty" + } + }, + "productFamilies": { + "description": "Product families to filter", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "customerSubscriptionDetails": { + "$ref": "#/definitions/CustomerSubscriptionDetails", + "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" + } + } + }, + "ProductFamily": { + "description": "Product Family", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArmBaseObject" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProductFamilyProperties", + "description": "Properties of product family", + "readOnly": true, + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "ProductFamilyProperties": { + "description": "Properties of product family", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BasicInformation" + } + ], + "properties": { + "productLines": { + "description": "List of product lines supported in the product family", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/ProductLine" + }, + "readOnly": true + } + } + }, + "ProductLine": { + "description": "Product line", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArmBaseObject" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProductLineProperties", + "description": "Properties of product line", + "readOnly": true, + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "ProductLineProperties": { + "description": "Properties of product line", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BasicInformation" + } + ], + "properties": { + "products": { + "description": "List of products in the product line", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Product" + }, + "readOnly": true + } + } + }, + "ProductProperties": { + "description": "Properties of products", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BasicInformation" + } + ], + "properties": { + "configurations": { + "description": "List of configurations for the product", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/Configuration" + }, + "readOnly": true + } + } + }, + "Resource": { + "description": "Model of the Resource.", + "required": [ + "location" + ], + "type": "object", + "properties": { + "location": { + "description": "The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "description": "Represents resource creation and updation time", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ResourceIdentity": { + "description": "Msi identity details of the resource", + "type": "object", + "properties": { + "type": { + "description": "Identity type", + "type": "string" + }, + "principalId": { + "description": "Service Principal Id backing the Msi", + "type": "string", + "readOnly": true + }, + "tenantId": { + "description": "Home Tenant Id", + "type": "string", + "readOnly": true + } + } + }, + "ResourceProviderDetails": { + "description": "Management RP details", + "type": "object", + "properties": {} + }, + "ReturnOrderDetails": { + "description": "Return order request body", + "required": [ + "returnReason" + ], + "type": "object", + "properties": { + "returnAddress": { + "$ref": "#/definitions/AddressProperties", + "description": "customer return address." + }, + "returnReason": { + "description": "Return Reason.", + "type": "string" + } + } + }, + "ShippingAddress": { + "description": "Shipping address where customer wishes to receive the device.", + "required": [ + "streetAddress1", + "country" + ], + "type": "object", + "properties": { + "streetAddress1": { + "description": "Street Address line 1.", + "type": "string" + }, + "streetAddress2": { + "description": "Street Address line 2.", + "type": "string" + }, + "streetAddress3": { + "description": "Street Address line 3.", + "type": "string" + }, + "city": { + "description": "Name of the City.", + "type": "string" + }, + "stateOrProvince": { + "description": "Name of the State or Province.", + "type": "string" + }, + "country": { + "description": "Name of the Country.", + "type": "string" + }, + "postalCode": { + "description": "Postal code.", + "type": "string" + }, + "zipExtendedCode": { + "description": "Extended Zip Code.", + "type": "string" + }, + "companyName": { + "description": "Name of the company.", + "type": "string" + }, + "addressType": { + "description": "Type of address.", + "enum": [ + "None", + "Residential", + "Commercial" + ], + "type": "string", + "x-ms-enum": { + "name": "AddressType", + "modelAsExtensible": true, + "values": [ + { + "value": "None", + "description": "Address type not known." + }, + { + "value": "Residential", + "description": "Residential Address." + }, + { + "value": "Commercial", + "description": "Commercial Address." + } + ] + } + } + } + }, + "ShippingDetails": { + "description": "Package shipping details", + "type": "object", + "properties": { + "carrierName": { + "description": "Name of the carrier.", + "type": "string", + "readOnly": true + }, + "carrierDisplayName": { + "description": "Carrier Name for display purpose. Not to be used for any processing.", + "type": "string", + "readOnly": true + }, + "trackingId": { + "description": "TrackingId of the package", + "type": "string", + "readOnly": true + }, + "trackingUrl": { + "description": "TrackingUrl of the package.", + "type": "string", + "readOnly": true + } + } + }, + "Specification": { + "description": "Specifications of the configurations", + "type": "object", + "properties": { + "name": { + "description": "Name of the specification", + "type": "string", + "readOnly": true + }, + "value": { + "description": "Value of the specification", + "type": "string", + "readOnly": true + } + } + }, + "CustomerSubscriptionDetails": { + "required": [ + "quotaId" + ], + "type": "object", + "properties": { + "registeredFeatures": { + "uniqueItems": false, + "description": "List of registered feature flags for subscription", + "type": "array", + "items": { + "$ref": "#/definitions/SubscriptionRegisteredFeatures" + } + }, + "locationPlacementId": { + "description": "Location placement Id of a subscription", + "type": "string" + }, + "quotaId": { + "description": "Quota ID of a subscription", + "type": "string" + } + } + }, + "SubscriptionRegisteredFeatures": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "state": { + "type": "string" + } + } + }, + "SystemData": { + "description": "Provides details about resource creation and updation time", + "type": "object", + "properties": { + "createdBy": { + "description": "a string identifier for the identity that created the resource", + "type": "string", + "readOnly": true + }, + "createdByType": { + "description": "the type of identity that created the resource: user, application, managedIdentity", + "type": "string", + "readOnly": true + }, + "createdAt": { + "format": "date-time", + "description": "the timestamp of resource creation (UTC)", + "type": "string", + "readOnly": true + }, + "lastModifiedBy": { + "description": "a string identifier for the identity that last modified the resource", + "type": "string", + "readOnly": true + }, + "lastModifiedByType": { + "description": "the type of identity that last modified the resource: user, application, managedIdentity", + "type": "string", + "readOnly": true + }, + "lastModifiedAt": { + "format": "date-time", + "description": "the timestamp of resource last modification (UTC)", + "type": "string", + "readOnly": true + } + } + }, + "TransportPreferences": { + "description": "Preferences related to the shipment logistics of the sku", + "required": [ + "preferredShipmentType" + ], + "type": "object", + "properties": { + "preferredShipmentType": { + "description": "Indicates Shipment Logistics type that the customer preferred.", + "enum": [ + "CustomerManaged", + "MicrosoftManaged" + ], + "type": "string", + "x-ms-enum": { + "name": "TransportShipmentTypes", + "modelAsExtensible": true, + "values": [ + { + "value": "CustomerManaged", + "description": "Shipment Logistics is handled by the customer." + }, + { + "value": "MicrosoftManaged", + "description": "Shipment Logistics is handled by Microsoft." + } + ] + } + } + } + } + }, + "parameters": { + "addressNameParameter": { + "name": "addressName", + "in": "path", + "description": "The name of the address Resource within the specified resource group. address names must be between 3 and 24 characters in length and use any alphanumeric and underscore only", + "required": true, + "type": "string", + "maxLength": 24, + "minLength": 3, + "pattern": "^[-\\w\\.]+$", + "x-ms-parameter-location": "method" + }, + "apiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "The API Version", + "required": true, + "type": "string" + }, + "configurationNameParameter": { + "name": "configurationName", + "in": "path", + "description": "The name of the configuration", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "locationParameter": { + "name": "location", + "in": "path", + "description": "The location of the resource", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "orderCollectionNameParameter": { + "name": "orderCollectionName", + "in": "path", + "description": "The name of the order collection", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "orderNameParameter": { + "name": "orderName", + "in": "path", + "description": "The name of the order", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "productFamilyNameParameter": { + "name": "productFamilyName", + "in": "path", + "description": "The name of the product family", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "productLineNameParameter": { + "name": "productLineName", + "in": "path", + "description": "The name of the product line", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "productNameParameter": { + "name": "productName", + "in": "path", + "description": "The name of the product", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "description": "The Resource Group Name", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "The Subscription Id", + "required": true, + "type": "string" + } + }, + "securityDefinitions": { + "azure_auth": { + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json new file mode 100644 index 000000000000..a3065dea7c5a --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "addressName": "TestMicrosoftAddressName2", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + ], + "x-ms-client-tenant-id": [ + " 72f988bf-86f1-41af-91ab-2d7cd011db47" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "474" + ], + "addressResource": { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "ContactName": "Petr Cech", + "Phone": "123344334", + "PhoneExtension": "" + } + }, + "location": "westus", + "type": "Microsoft.Ordering/addresses" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestMicrosoftAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json new file mode 100644 index 000000000000..219b69891074 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "addressName": "TestAddressName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": "" + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json new file mode 100644 index 000000000000..7454ec153e91 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "addressName": "TestMicrosoftAddressName2", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestMicrosoftAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json new file mode 100644 index 000000000000..9fc46cc019a2 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "addressName": "TestMicrosoftAddressName2", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "611" + ], + "addressUpdateParameter": { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND STT", + "streetAddress2": "UNIT 1", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "ContactName": "Petr Cech", + "Phone": "123344335", + "PhoneExtension": "" + } + }, + "tags": { + "Name": "Smile-Updated", + "Work": "Engineering", + "Hobby": "Web Series Added", + "WhatElse": "Web Series Added" + }, + "location": "westus", + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND STT", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344335", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": { + "name": "Smile-Updated", + "work": "Engineering", + "hobby": "Web Series Added", + "whatElse": "Web Series Added" + }, + "identity": { + "type": "None" + }, + "name": "TestMicrosoftAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json new file mode 100644 index 000000000000..ae759a2f3403 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestAddressName0", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", + "type": "Microsoft.EdgeOrder/addresses" + }, + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + }, + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestMicrosoftAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json new file mode 100644 index 000000000000..52beac508dfe --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/addresses?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestAddressName0", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", + "type": "Microsoft.EdgeOrder/addresses" + }, + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + }, + { + "properties": { + "shippingAddress": { + "streetAddress1": "16 TOWNSEND ST", + "streetAddress2": "UNIT 1", + "streetAddress3": "", + "city": "San Francisco", + "stateOrProvince": "CA", + "country": "US", + "postalCode": "94107", + "zipExtendedCode": "", + "companyName": "Microsoft", + "addressType": "None" + }, + "contactDetails": { + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" + } + }, + "location": "westus", + "tags": {}, + "identity": { + "type": "None" + }, + "name": "TestMicrosoftAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "type": "Microsoft.EdgeOrder/addresses" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json new file mode 100644 index 000000000000..344edae5de81 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgepro-gPu", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productlines/azurestackedge/products/azurestackedgepro-gPu/configurations?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "102" + ], + "configurationsRequest": { + "filterableProperties": [ + { + "Type": "ShipToCountries", + "SupportedValues": [ + "US" + ] + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "specifications": [ + { + "name": "Cores", + "value": "24" + }, + { + "name": "Memory", + "value": "128 GB" + }, + { + "name": "Storage", + "value": "~8 TB" + } + ], + "displayName": "1 GPU", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "1GPU", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productLines/azurestackedge/product/azurestackedgepro-gpu/configuration/1GPU", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product/Configuration" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json new file mode 100644 index 000000000000..4de5f6fcedd6 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "testrg", + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgepro-gPu", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productlines/azurestackedge/products/azurestackedgepro-gPu/configurations?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "102" + ], + "configurationsRequest": { + "filterableProperties": [ + { + "Type": "ShipToCountries", + "SupportedValues": [ + "US" + ] + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "specifications": [ + { + "name": "Cores", + "value": "24" + }, + { + "name": "Memory", + "value": "128 GB" + }, + { + "name": "Storage", + "value": "~8 TB" + } + ], + "displayName": "1 GPU", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "1GPU", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productLines/azurestackedge/product/azurestackedgepro-gpu/configuration/1GPU", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product/Configuration" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json new file mode 100644 index 000000000000..9bcdc5119c05 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json @@ -0,0 +1,211 @@ +{ + "parameters": { + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/providers/Microsoft.EdgeOrder/operations?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.EdgeOrder/addresses/read", + "display": { + "provider": "Edge Ordering", + "resource": "Addresses", + "operation": "List or Get Addresses", + "description": "List or get the Addresses" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/addresses/delete", + "display": { + "provider": "Edge Ordering", + "resource": "Addresses", + "operation": "Delete Addresses", + "description": "Delete the Addresses" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/addresses/write", + "display": { + "provider": "Edge Ordering", + "resource": "Addresses", + "operation": "Create or Update Addresses", + "description": "Create or update the Addresses" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/locations/operationResults/read", + "display": { + "provider": "Edge Ordering", + "resource": "Operation Results", + "operation": "List or Get Operation Results", + "description": "List or get the Operation Results" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/operations/read", + "display": { + "provider": "Edge Ordering", + "resource": "Operations", + "operation": "List or Get Operations", + "description": "List or get the Operations" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orders/cancel/action", + "display": { + "provider": "Edge Ordering", + "resource": "Orders", + "operation": "Cancel Order", + "description": "Cancels an order in progress." + }, + "properties": {}, + "origin": "user", + "isDataAction": true + }, + { + "name": "Microsoft.EdgeOrder/orders/return/action", + "display": { + "provider": "Edge Ordering", + "resource": "Orders", + "operation": "Return Order", + "description": "Return an order." + }, + "properties": {}, + "origin": "user", + "isDataAction": true + }, + { + "name": "Microsoft.EdgeOrder/orders/read", + "display": { + "provider": "Edge Ordering", + "resource": "Orders", + "operation": "List or Get Orders", + "description": "List or get the Orders" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orders/delete", + "display": { + "provider": "Edge Ordering", + "resource": "Orders", + "operation": "Delete Orders", + "description": "Delete the Orders" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orders/write", + "display": { + "provider": "Edge Ordering", + "resource": "Orders", + "operation": "Create or Update Orders", + "description": "Create or update the Orders" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orderCollections/write", + "display": { + "provider": "Edge Ordering", + "resource": "Order Collections", + "operation": "Create or Update Order Collections", + "description": "Create or update the Order Collections" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orderCollections/read", + "display": { + "provider": "Edge Ordering", + "resource": "Order Collections", + "operation": "List or Get Order Collections", + "description": "List or get the Order Collections" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/orderCollections/delete", + "display": { + "provider": "Edge Ordering", + "resource": "Order Collections", + "operation": "Delete Order Collections", + "description": "Delete the Order Collections" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/locations/productFamiliesMetadata/read", + "display": { + "provider": "Edge Ordering", + "resource": "Product Families Metadata", + "operation": "List or Get Product Families Metadata", + "description": "List or get the Product Families Metadata" + }, + "properties": {}, + "origin": "user", + "isDataAction": false + }, + { + "name": "Microsoft.EdgeOrder/locations/listProductFamilies/read", + "display": { + "provider": "Edge Ordering", + "resource": "Product Families", + "operation": "List Product Families", + "description": "This method returns list of product families." + }, + "properties": {}, + "origin": "user", + "isDataAction": true + }, + { + "name": "Microsoft.EdgeOrder/locations/productFamilies/productLines/products/configurations/read", + "display": { + "provider": "Edge Ordering", + "resource": "Product Configurations", + "operation": "List Product Configurations", + "description": "This method returns list of product configurations." + }, + "properties": {}, + "origin": "user", + "isDataAction": true + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json new file mode 100644 index 000000000000..5960406a3840 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json @@ -0,0 +1,325 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/listProductFamilies?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ], + "productFamiliesRequest": { + "filterableProperties": [ + { + "Type": "ShipToCountries", + "SupportedValues": [ + "US" + ] + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "productLines": [ + { + "properties": { + "products": [ + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - GPU", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Cancelled", + "keywords": [ + "AtAzureDC", + "GPU" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using NVIDIA T4 FPGA", + "Azure Private Zone Enabled" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-GPU", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - FPGA", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-FPGA", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - R", + "description": { + "descriptionType": "Base", + "shortDescription": "Rugged physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "ComingSoon", + "disabledReason": "NotAvailable", + "disabledReasonMessage": "Device is not available yet" + } + }, + "name": "AzureStackEdgePro-R", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } + ], + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" + } + ], + "productFamilyId": "AzureStackEdge", + "localizationKeyValueDictionary": { + "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", + "key2": "Edge" + }, + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies", + "type": "Microsoft.EdgeOrder/ProductFamilies" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json new file mode 100644 index 000000000000..a6d7ddc9bce7 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json @@ -0,0 +1,326 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "testrg", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/listProductFamilies?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ], + "productFamiliesRequest": { + "filterableProperties": [ + { + "Type": "ShipToCountries", + "SupportedValues": [ + "US" + ] + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "productLines": [ + { + "properties": { + "products": [ + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - GPU", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Cancelled", + "keywords": [ + "AtAzureDC", + "GPU" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using NVIDIA T4 FPGA", + "Azure Private Zone Enabled" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-GPU", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - FPGA", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-FPGA", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - R", + "description": { + "descriptionType": "Base", + "shortDescription": "Rugged physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "ComingSoon", + "disabledReason": "NotAvailable", + "disabledReasonMessage": "Device is not available yet" + } + }, + "name": "AzureStackEdgePro-R", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } + ], + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" + } + ], + "productFamilyId": "AzureStackEdge", + "localizationKeyValueDictionary": { + "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", + "key2": "Edge" + }, + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies", + "type": "Microsoft.EdgeOrder/ProductFamilies" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json new file mode 100644 index 000000000000..ec64e18a5482 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderCollectionName": "TestOrderCollectionName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "447" + ], + "orderCollectionResource": { + "properties": { + "OrderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2" + ] + }, + "tags": { + "Name": "TestName", + "Work": "Engineering" + }, + "location": "westus", + "type": "Microsoft.EdgeOrder/orderCollections" + } + }, + "responses": { + "202": { + "body": "" + }, + "200": { + "body": { + "properties": { + "orderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG1/providers/Microsoft.EdgeOrder/orders/TestOrderName2" + ] + }, + "location": "westus", + "tags": { + "name": "TestName", + "work": "Engineering" + }, + "name": "TestOrderCollectionName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1", + "type": "Microsoft.EdgeOrder/orderCollections" + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json new file mode 100644 index 000000000000..2d7e0660e819 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderCollectionName": "TestOrderCollectionName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "202": { + "body": "" + }, + "204": { + "body": "" + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json new file mode 100644 index 000000000000..c7f59d4caee8 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderCollectionName": "TestOrderCollectionName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "orderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG1/providers/Microsoft.EdgeOrder/orders/TestOrderName2" + ] + }, + "location": "westus", + "tags": { + "name": "TestName", + "work": "Engineering" + }, + "name": "TestOrderCollectionName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1", + "type": "Microsoft.EdgeOrder/orderCollections" + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json new file mode 100644 index 000000000000..74932662b7f7 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "orderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG1/providers/Microsoft.EdgeOrder/orders/TestOrderName2" + ] + }, + "location": "westus", + "tags": { + "name": "TestName", + "work": "Engineering" + }, + "name": "TestOrderCollectionName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1", + "type": "Microsoft.EdgeOrder/orderCollections" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json new file mode 100644 index 000000000000..6e885c866632 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/orderCollections?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "orderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG1/providers/Microsoft.EdgeOrder/orders/TestOrderName2" + ] + }, + "location": "westus", + "tags": { + "name": "TestName", + "work": "Engineering" + }, + "name": "TestOrderCollectionName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1", + "type": "Microsoft.EdgeOrder/orderCollections" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json new file mode 100644 index 000000000000..f55b9bde872a --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderCollectionName": "TestOrderCollectionName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "193" + ], + "orderCollectionUpdateParameter": { + "properties": {}, + "tags": { + "Name": "TestName-Updated", + "Work": "Engineering", + "Hobby": "Coding-Added" + }, + "location": "westus", + "type": "Microsoft.EdgeOrder/orderCollections" + } + }, + "responses": { + "202": { + "body": "" + }, + "200": { + "body": { + "properties": { + "orderIds": [ + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG1/providers/Microsoft.EdgeOrder/orders/TestOrderName2" + ] + }, + "location": "westus", + "tags": { + "name": "TestName-Updated", + "work": "Engineering", + "hobby": "Coding-Added" + }, + "name": "TestOrderCollectionName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderCollections/TestOrderCollectionName1", + "type": "Microsoft.EdgeOrder/orderCollections" + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/readme.md b/specification/edgeorder/resource-manager/readme.md new file mode 100644 index 000000000000..f20620ade6ec --- /dev/null +++ b/specification/edgeorder/resource-manager/readme.md @@ -0,0 +1,41 @@ +# EdgeOrder + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for EdgeOrder. + + + +--- +## Getting Started +To build the SDK for EdgeOrder, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the EdgeOrder API. + +``` yaml +title: Edge Order API's +openapi-type: arm +tag: package-2020-12-preview +``` + +### Tag: package-2020-12-preview + +These settings apply only when `--tag=package-2020-12-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2020-12-preview' +input-file: +- Microsoft.EdgeOrder/preview/2020-12-01-preview/edgeorder.json +``` +--- \ No newline at end of file From 799ad3f9eca89d9a3f6464edab967d846d78c0c0 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Wed, 16 Dec 2020 18:37:18 +0530 Subject: [PATCH 02/12] moved swagger to 2020-12-01-preview --- .../{ => 2020-12-01-preview}/2020-12-01-preview.json | 0 .../{ => 2020-12-01-preview}/examples/AddressCreate.json | 0 .../{ => 2020-12-01-preview}/examples/AddressDelete.json | 0 .../{ => 2020-12-01-preview}/examples/AddressGetByName.json | 0 .../{ => 2020-12-01-preview}/examples/AddressPatch.json | 0 .../examples/AddressesGetAtResourceGrouplevel.json | 0 .../examples/AddressesGetAtSubscriptionLevel.json | 0 .../{ => 2020-12-01-preview}/examples/ListConfigurations.json | 0 .../examples/ListConfigurationsByResourceGroup.json | 0 .../{ => 2020-12-01-preview}/examples/ListOperations.json | 0 .../{ => 2020-12-01-preview}/examples/ListProductFamilies.json | 0 .../examples/ListProductFamiliesMetadataAtResourceGroupLevel.json | 0 .../{ => 2020-12-01-preview}/examples/OrderCollectionCreate.json | 0 .../{ => 2020-12-01-preview}/examples/OrderCollectionDelete.json | 0 .../{ => 2020-12-01-preview}/examples/OrderCollectionGet.json | 0 .../examples/OrderCollectionListAtRGLevel.json | 0 .../examples/OrderCollectionListAtSubscriptionLevel.json | 0 .../{ => 2020-12-01-preview}/examples/OrderCollectionUpdate.json | 0 18 files changed, 0 insertions(+), 0 deletions(-) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/2020-12-01-preview.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressCreate.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressDelete.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressGetByName.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressPatch.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressesGetAtResourceGrouplevel.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/AddressesGetAtSubscriptionLevel.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/ListConfigurations.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/ListConfigurationsByResourceGroup.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/ListOperations.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/ListProductFamilies.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionCreate.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionDelete.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionGet.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionListAtRGLevel.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionListAtSubscriptionLevel.json (100%) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/{ => 2020-12-01-preview}/examples/OrderCollectionUpdate.json (100%) diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressCreate.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressDelete.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressGetByName.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressPatch.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtResourceGrouplevel.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/AddressesGetAtSubscriptionLevel.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurations.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListConfigurationsByResourceGroup.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListOperations.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamilies.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionCreate.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionDelete.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionGet.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtRGLevel.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionListAtSubscriptionLevel.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json similarity index 100% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/examples/OrderCollectionUpdate.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json From bf442114929b74f9bf097d2db0c49f6b4a382cc5 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Wed, 16 Dec 2020 18:39:58 +0530 Subject: [PATCH 03/12] updated readme --- specification/edgeorder/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/edgeorder/resource-manager/readme.md b/specification/edgeorder/resource-manager/readme.md index f20620ade6ec..10a3489f4fee 100644 --- a/specification/edgeorder/resource-manager/readme.md +++ b/specification/edgeorder/resource-manager/readme.md @@ -36,6 +36,6 @@ These settings apply only when `--tag=package-2020-12-preview` is specified on t ``` yaml $(tag) == 'package-2020-12-preview' input-file: -- Microsoft.EdgeOrder/preview/2020-12-01-preview/edgeorder.json +- Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json ``` --- \ No newline at end of file From 992dc343a2d47801e5446d83c1cb7e0b932cc12c Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Wed, 16 Dec 2020 20:32:53 +0530 Subject: [PATCH 04/12] fixed readme --- specification/edgeorder/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/edgeorder/resource-manager/readme.md b/specification/edgeorder/resource-manager/readme.md index 10a3489f4fee..db7342137387 100644 --- a/specification/edgeorder/resource-manager/readme.md +++ b/specification/edgeorder/resource-manager/readme.md @@ -36,6 +36,6 @@ These settings apply only when `--tag=package-2020-12-preview` is specified on t ``` yaml $(tag) == 'package-2020-12-preview' input-file: -- Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +- Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json ``` --- \ No newline at end of file From 49f4618fe1005a648a9b723e3a85b07cb0c28272 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Thu, 17 Dec 2020 22:28:15 +0530 Subject: [PATCH 05/12] added missing examples --- ...2020-12-01-preview.json => edgeorder.json} | 28 +- .../ListProductFamiliesByResourceGroup.json | 326 +++++++++++++++++ .../examples/ListProductFamiliesMetadata.json | 71 ++++ ...tFamiliesMetadataAtResourceGroupLevel.json | 330 ++---------------- .../examples/OrderCancel.json | 28 ++ .../examples/OrderCreate.json | 113 ++++++ .../examples/OrderDelete.json | 25 ++ .../2020-12-01-preview/examples/OrderGet.json | 72 ++++ .../examples/OrderGetByRG.json | 75 ++++ .../examples/OrderGetBySubscription.json | 74 ++++ .../examples/OrderReturn.json | 28 ++ .../examples/OrderUpdate.json | 96 +++++ 12 files changed, 960 insertions(+), 306 deletions(-) rename specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/{2020-12-01-preview.json => edgeorder.json} (99%) create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json similarity index 99% rename from specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json rename to specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index 54415a703028..b702304cd03c 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -353,7 +353,7 @@ }, "x-ms-examples": { "ListOrderCollectionsAtSubscriptionLevel": { - "$ref": "./examples/ListOrderCollectionsAtSubscriptionLevel.json" + "$ref": "./examples/OrderCollectionListAtSubscriptionLevel.json" } } } @@ -412,7 +412,7 @@ }, "x-ms-examples": { "ListOrdersAtSubscriptionLevel": { - "$ref": "./examples/ListOrdersAtSubscriptionLevel.json" + "$ref": "./examples/OrderGetBySubscription.json" } } } @@ -948,7 +948,7 @@ }, "x-ms-examples": { "ListOrderCollectionsAtResourceGroupLevel": { - "$ref": "./examples/ListOrderCollectionsAtResourceGroupLevel.json" + "$ref": "./examples/OrderCollectionListAtRGLevel.json" } } } @@ -996,7 +996,7 @@ }, "x-ms-examples": { "GetOrderCollectionByName": { - "$ref": "./examples/GetOrderCollectionByName.json" + "$ref": "./examples/OrderCollectionGet.json" } } }, @@ -1052,7 +1052,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "CreateOrderCollection": { - "$ref": "./examples/CreateOrderCollection.json" + "$ref": "./examples/OrderCollectionCreate.json" } } }, @@ -1102,7 +1102,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteOrderCollectionByName": { - "$ref": "./examples/DeleteOrderCollectionByName.json" + "$ref": "./examples/OrderCollectionDelete.json" } } }, @@ -1168,7 +1168,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateOrderCollection": { - "$ref": "./examples/UpdateOrderCollection.json" + "$ref": "./examples/OrderCollectionUpdate.json" } } } @@ -1230,7 +1230,7 @@ }, "x-ms-examples": { "ListOrdersAtResourceGroupLevel": { - "$ref": "./examples/ListOrdersAtResourceGroupLevel.json" + "$ref": "./examples/OrderGetBySubscription.json" } } } @@ -1278,7 +1278,7 @@ }, "x-ms-examples": { "GetOrderByName": { - "$ref": "./examples/GetOrderByName.json" + "$ref": "./examples/OrderGet.json" } } }, @@ -1334,7 +1334,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "CreateOrder": { - "$ref": "./examples/CreateOrder.json" + "$ref": "./examples/OrderCreate.json" } } }, @@ -1384,7 +1384,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteOrderByName": { - "$ref": "./examples/DeleteOrderByName.json" + "$ref": "./examples/OrderDelete.json" } } }, @@ -1450,7 +1450,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateOrder": { - "$ref": "./examples/UpdateOrder.json" + "$ref": "./examples/OrderUpdate.json" } } } @@ -1507,7 +1507,7 @@ }, "x-ms-examples": { "CancelOrder": { - "$ref": "./examples/CancelOrder.json" + "$ref": "./examples/OrderCancel.json" } } } @@ -1565,7 +1565,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "ReturnOrder": { - "$ref": "./examples/ReturnOrder.json" + "$ref": "./examples/OrderReturn.json" } } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json new file mode 100644 index 000000000000..a6d7ddc9bce7 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json @@ -0,0 +1,326 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "testrg", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/listProductFamilies?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ], + "productFamiliesRequest": { + "filterableProperties": [ + { + "Type": "ShipToCountries", + "SupportedValues": [ + "US" + ] + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "productLines": [ + { + "properties": { + "products": [ + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - GPU", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Cancelled", + "keywords": [ + "AtAzureDC", + "GPU" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using NVIDIA T4 FPGA", + "Azure Private Zone Enabled" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-GPU", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - FPGA", + "description": { + "descriptionType": "Base", + "shortDescription": "Azure managed physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdgePro-FPGA", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + }, + { + "properties": { + "configurations": [], + "displayName": "Azure Stack Edge Pro - R", + "description": { + "descriptionType": "Base", + "shortDescription": "Rugged physical edge compute device", + "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", + "keywords": [ + "Edge", + "FPGA" + ], + "attributes": [ + "1U device shipped by Microsoft", + "Hardware accelerated ML using Intel ARIA FPGA" + ], + "links": [ + { + "linkType": "TermsAndConditions", + "linkUrl": "https://aka.mx/tc" + }, + { + "linkType": "KnowMore", + "linkUrl": "https://aka.mx/knowmore" + } + ] + }, + "imageInformation": [ + { + "imageType": "MainImage", + "imageUrl": "https://xyz.com" + }, + { + "imageType": "BulletImage", + "imageUrl": "https://abc.com" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://xyz.com/1" + }, + { + "imageType": "GenericImage", + "imageUrl": "https://abc.com/1" + } + ], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "ComingSoon", + "disabledReason": "NotAvailable", + "disabledReasonMessage": "Device is not available yet" + } + }, + "name": "AzureStackEdgePro-R", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } + ], + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", + "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" + } + ], + "productFamilyId": "AzureStackEdge", + "localizationKeyValueDictionary": { + "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", + "key2": "Edge" + }, + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "name": "AzureStackEdge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies", + "type": "Microsoft.EdgeOrder/ProductFamilies" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json new file mode 100644 index 000000000000..0143d3fc83b3 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + } + }, + "filters": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json index a6d7ddc9bce7..9bacef22974c 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json @@ -1,30 +1,14 @@ { "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "testrg", + "resourceGroupName": "TestRG", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" ], "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/listProductFamilies?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "103" - ], - "productFamiliesRequest": { - "filterableProperties": [ - { - "Type": "ShipToCountries", - "SupportedValues": [ - "US" - ] - } - ] - } + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/productFamiliesMetadata?api-version=2020-12-01-preview" + ] }, "responses": { "200": { @@ -32,276 +16,6 @@ "value": [ { "properties": { - "productLines": [ - { - "properties": { - "products": [ - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - GPU", - "description": { - "descriptionType": "Base", - "shortDescription": "Azure managed physical edge compute device", - "longDescription": "Cancelled", - "keywords": [ - "AtAzureDC", - "GPU" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using NVIDIA T4 FPGA", - "Azure Private Zone Enabled" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdgePro-GPU", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - }, - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - FPGA", - "description": { - "descriptionType": "Base", - "shortDescription": "Azure managed physical edge compute device", - "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", - "keywords": [ - "Edge", - "FPGA" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using Intel ARIA FPGA" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdgePro-FPGA", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - }, - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - R", - "description": { - "descriptionType": "Base", - "shortDescription": "Rugged physical edge compute device", - "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", - "keywords": [ - "Edge", - "FPGA" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using Intel ARIA FPGA" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "ComingSoon", - "disabledReason": "NotAvailable", - "disabledReasonMessage": "Device is not available yet" - } - }, - "name": "AzureStackEdgePro-R", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - } - ], - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" - } - ], - "productFamilyId": "AzureStackEdge", - "localizationKeyValueDictionary": { - "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", - "key2": "Edge" - }, "displayName": "Azure Stack Edge", "description": { "descriptionType": "Base", @@ -310,14 +24,46 @@ "links": [] }, "imageInformation": [], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" } }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies", - "type": "Microsoft.EdgeOrder/ProductFamilies" + "filters": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ] } ] } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json new file mode 100644 index 000000000000..793b136fd4f1 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "cancellationReason": { + "reason": "Order cancelled" + } + }, + "responses": { + "204": { + "body": "" + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json new file mode 100644 index 000000000000..f681488cd63b --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "829" + ], + "orderResource": { + "properties": { + "orderDetails": { + "OrderType": "Purchase", + "expectedDataSizeInTeraBytes": 0, + "ProductDetails": { + "ProductId": "Andrew Cubone" + }, + "Preferences": { + "TransportPreferences": { + "PreferredShipmentType": "MicrosoftManaged" + } + } + }, + "addressDetails": { + "ShippingAddress": { + "Properties": { + "ContactDetails": { + "ContactName": "first", + "Phone": "11111" + } + }, + "location": "westus" + } + } + }, + "Tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + }, + "202": { + "body": "" + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json new file mode 100644 index 000000000000..30161dfe9529 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json new file mode 100644 index 000000000000..7387b004f293 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json new file mode 100644 index 000000000000..2646fb9b53db --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json new file mode 100644 index 000000000000..a9cfb0d598aa --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/orders?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + ] + } + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json new file mode 100644 index 000000000000..fc9d7c55e6eb --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/return?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "39" + ], + "returnOrderDetails": { + "ReturnReason": "Order returned" + } + }, + "responses": { + "200": { + "body": "" + } + } + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json new file mode 100644 index 000000000000..e511c4247ca2 --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "268" + ], + "orderUpdateParameter": { + "Properties": { + "Preferences": { + "TransportPreferences": { + "PreferredShipmentType": "CustomerManaged" + } + } + }, + "Tags": { + "pigeon": "bird", + "tiger": "animal", + "ant": "insect" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "CustomerManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "pigeon": "bird", + "tiger": "animal", + "ant": "insect" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + }, + "202": { + "body": "" + } + } + } \ No newline at end of file From a59eecdf548cc61176d3084599d678b72b9be9fb Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Thu, 17 Dec 2020 22:30:42 +0530 Subject: [PATCH 06/12] updated readme --- specification/edgeorder/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/edgeorder/resource-manager/readme.md b/specification/edgeorder/resource-manager/readme.md index db7342137387..10a3489f4fee 100644 --- a/specification/edgeorder/resource-manager/readme.md +++ b/specification/edgeorder/resource-manager/readme.md @@ -36,6 +36,6 @@ These settings apply only when `--tag=package-2020-12-preview` is specified on t ``` yaml $(tag) == 'package-2020-12-preview' input-file: -- Microsoft.EdgeOrder/2020-12-01-preview/2020-12-01-preview.json +- Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json ``` --- \ No newline at end of file From 80de99fa7f0db620abd7649fc7b610ad32d8865a Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Thu, 17 Dec 2020 23:08:52 +0530 Subject: [PATCH 07/12] fixed prettier issues --- .../2020-12-01-preview/edgeorder.json | 6 +- .../examples/AddressCreate.json | 2 +- .../examples/AddressDelete.json | 2 +- .../examples/AddressGetByName.json | 2 +- .../examples/AddressPatch.json | 2 +- .../AddressesGetAtResourceGrouplevel.json | 2 +- .../AddressesGetAtSubscriptionLevel.json | 2 +- .../examples/ListConfigurations.json | 2 +- .../ListConfigurationsByResourceGroup.json | 2 +- .../examples/ListOperations.json | 2 +- .../examples/ListProductFamilies.json | 2 +- .../ListProductFamiliesByResourceGroup.json | 2 +- .../examples/ListProductFamiliesMetadata.json | 2 +- ...tFamiliesMetadataAtResourceGroupLevel.json | 2 +- .../examples/OrderCancel.json | 52 ++--- .../examples/OrderCollectionCreate.json | 2 +- .../examples/OrderCollectionDelete.json | 2 +- .../examples/OrderCollectionGet.json | 2 +- .../OrderCollectionListAtRGLevel.json | 2 +- ...rderCollectionListAtSubscriptionLevel.json | 2 +- .../examples/OrderCollectionUpdate.json | 2 +- .../examples/OrderCreate.json | 192 +++++++++--------- .../examples/OrderDelete.json | 44 ++-- .../2020-12-01-preview/examples/OrderGet.json | 128 ++++++------ .../examples/OrderGetByRG.json | 2 +- .../examples/OrderGetBySubscription.json | 132 ++++++------ .../examples/OrderReturn.json | 52 ++--- .../examples/OrderUpdate.json | 170 ++++++++-------- 28 files changed, 408 insertions(+), 408 deletions(-) diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index b702304cd03c..c970522fa5fb 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -1230,7 +1230,7 @@ }, "x-ms-examples": { "ListOrdersAtResourceGroupLevel": { - "$ref": "./examples/OrderGetBySubscription.json" + "$ref": "./examples/OrderGetByRG.json" } } } @@ -3180,7 +3180,7 @@ }, "systemData": { "$ref": "#/definitions/SystemData", - "description": "Represents resource creation and updation time", + "description": "Represents resource creation and update time", "readOnly": true } }, @@ -3379,7 +3379,7 @@ } }, "SystemData": { - "description": "Provides details about resource creation and updation time", + "description": "Provides details about resource creation and update time", "type": "object", "properties": { "createdBy": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json index a3065dea7c5a..f0f2d7007a9e 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json @@ -75,4 +75,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json index 219b69891074..6d7f5e852ce0 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json @@ -18,4 +18,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json index 7454ec153e91..db931c87b586 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json index 9fc46cc019a2..b08c76b84f1e 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json @@ -83,4 +83,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json index ae759a2f3403..0a714c59bb89 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json @@ -105,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json index 52beac508dfe..950bfc8faf41 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json @@ -104,4 +104,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json index 344edae5de81..1924f45c19e6 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json index 4de5f6fcedd6..9592b45ea534 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json index 9bcdc5119c05..3c796775968a 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json @@ -208,4 +208,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json index 5960406a3840..7bfbd2334774 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json @@ -322,4 +322,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json index a6d7ddc9bce7..dc122c601abb 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json @@ -323,4 +323,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json index 0143d3fc83b3..2f63672ff636 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json index 9bacef22974c..a0993c241234 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json index 793b136fd4f1..2aa867229327 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "34" - ], - "cancellationReason": { - "reason": "Order cancelled" - } - }, - "responses": { - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "cancellationReason": { + "reason": "Order cancelled" } - } \ No newline at end of file + }, + "responses": { + "204": { + "body": "" + } + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json index ec64e18a5482..5949086120ca 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json @@ -54,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json index 2d7e0660e819..e588b2c08359 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json @@ -19,4 +19,4 @@ "body": "" } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json index c7f59d4caee8..aa2b11387bb1 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionGet.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json index 74932662b7f7..ee892f241887 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtRGLevel.json @@ -34,4 +34,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json index 6e885c866632..51db77529b2c 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionListAtSubscriptionLevel.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json index f55b9bde872a..30404b6779b5 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json index f681488cd63b..25ebaa23842c 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json @@ -1,113 +1,113 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "829" - ], - "orderResource": { + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "829" + ], + "orderResource": { + "properties": { + "orderDetails": { + "OrderType": "Purchase", + "expectedDataSizeInTeraBytes": 0, + "ProductDetails": { + "ProductId": "Andrew Cubone" + }, + "Preferences": { + "TransportPreferences": { + "PreferredShipmentType": "MicrosoftManaged" + } + } + }, + "addressDetails": { + "ShippingAddress": { + "Properties": { + "ContactDetails": { + "ContactName": "first", + "Phone": "11111" + } + }, + "location": "westus" + } + } + }, + "Tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { "properties": { "orderDetails": { - "OrderType": "Purchase", - "expectedDataSizeInTeraBytes": 0, - "ProductDetails": { - "ProductId": "Andrew Cubone" + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" }, - "Preferences": { - "TransportPreferences": { - "PreferredShipmentType": "MicrosoftManaged" + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" } - } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, "addressDetails": { - "ShippingAddress": { - "Properties": { - "ContactDetails": { - "ContactName": "first", - "Phone": "11111" + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" } }, - "location": "westus" + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" } - } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" }, - "Tags": { + "location": "westus", + "tags": { "mango": "fruit", "carrot": "vegetable" }, - "location": "westus" + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" } }, - "responses": { - "200": { - "body": { - "properties": { - "orderDetails": { - "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" - }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" - }, - "addressDetails": { - "shippingAddress": { - "properties": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" - } - }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" - }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" - }, - "identity": { - "type": "None" - }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } - }, - "202": { - "body": "" - } + "202": { + "body": "" } - } \ No newline at end of file + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json index 30161dfe9529..932dbc4c5f7f 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json @@ -1,25 +1,25 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ] + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": "" }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": { + "body": "" + }, + "204": { + "body": "" } - } \ No newline at end of file + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json index 7387b004f293..b08023d4d67d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json @@ -1,72 +1,72 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - "body": { - "properties": { - "orderDetails": { - "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" - }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] }, - "addressDetails": { - "shippingAddress": { - "properties": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" } }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" - }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, - "identity": { - "type": "None" + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" } } - } \ No newline at end of file + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json index 2646fb9b53db..df181eb1ef1a 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json index a9cfb0d598aa..49e6d03c9e5e 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json @@ -1,74 +1,74 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/orders?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "orderDetails": { - "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" - }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/orders?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] }, - "addressDetails": { - "shippingAddress": { - "properties": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" } }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" - }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, - "identity": { - "type": "None" + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } - ] - } + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json index fc9d7c55e6eb..4da23f05c54d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/return?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "39" - ], - "returnOrderDetails": { - "ReturnReason": "Order returned" - } - }, - "responses": { - "200": { - "body": "" - } + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/return?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "39" + ], + "returnOrderDetails": { + "ReturnReason": "Order returned" } - } \ No newline at end of file + }, + "responses": { + "200": { + "body": "" + } + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json index e511c4247ca2..704ea0c68a1f 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json @@ -1,96 +1,96 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "268" - ], - "orderUpdateParameter": { - "Properties": { - "Preferences": { - "TransportPreferences": { - "PreferredShipmentType": "CustomerManaged" - } + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "268" + ], + "orderUpdateParameter": { + "Properties": { + "Preferences": { + "TransportPreferences": { + "PreferredShipmentType": "CustomerManaged" } - }, - "Tags": { - "pigeon": "bird", - "tiger": "animal", - "ant": "insect" } + }, + "Tags": { + "pigeon": "bird", + "tiger": "animal", + "ant": "insect" } - }, - "responses": { - "200": { - "body": { - "properties": { - "orderDetails": { - "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" - }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "CustomerManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "productId": "Andrew Cubone", + "count": 0, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" }, - "addressDetails": { - "shippingAddress": { - "properties": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "CustomerManaged" } }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, - "location": "westus", - "tags": { - "pigeon": "bird", - "tiger": "animal", - "ant": "insect" - }, - "identity": { - "type": "None" + "addressDetails": { + "shippingAddress": { + "properties": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + }, + "location": "westus", + "tags": {}, + "type": "Microsoft.EdgeOrder/addresses" + } }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } - }, - "202": { - "body": "" + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "pigeon": "bird", + "tiger": "animal", + "ant": "insect" + }, + "identity": { + "type": "None" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" } + }, + "202": { + "body": "" } - } \ No newline at end of file + } +} From 1d524fbacc6db85f0ef4454df8e527689f1bad51 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Sun, 20 Dec 2020 17:24:25 +0530 Subject: [PATCH 08/12] minor fixes --- .../Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index c970522fa5fb..cf61e4084896 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -474,7 +474,7 @@ }, "x-ms-examples": { "ListAddressesAtResourceGroupLevel": { - "$ref": "./examples/AddressesGetAtResourceGroupLevel.json" + "$ref": "./examples/AddressesGetAtResourceGrouplevel.json" } } } From bfc45dd476039fca9f15fef5d41c73d502d11a04 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Mon, 11 Jan 2021 14:07:01 +0530 Subject: [PATCH 09/12] Fixed ARM review comments --- .../2020-12-01-preview/edgeorder.json | 958 +++++------------- .../examples/AddressCreate.json | 22 +- .../examples/AddressDelete.json | 1 - .../examples/AddressGetByName.json | 11 +- .../examples/AddressPatch.json | 21 +- .../AddressesGetAtResourceGrouplevel.json | 16 +- .../AddressesGetAtSubscriptionLevel.json | 16 +- .../examples/GetProductFamilyMetadata.json | 71 ++ .../examples/ListConfigurations.json | 44 +- .../ListConfigurationsByResourceGroup.json | 73 -- .../examples/ListOperations.json | 16 - .../examples/ListProductFamilies.json | 110 +- .../ListProductFamiliesByResourceGroup.json | 326 ------ .../examples/ListProductFamiliesMetadata.json | 11 +- ...tFamiliesMetadataAtResourceGroupLevel.json | 72 -- .../examples/OrderCancel.json | 52 +- .../examples/OrderCollectionCreate.json | 9 +- .../examples/OrderCollectionDelete.json | 6 +- .../examples/OrderCollectionUpdate.json | 9 +- .../examples/OrderCreate.json | 133 ++- .../examples/OrderDelete.json | 41 +- .../2020-12-01-preview/examples/OrderGet.json | 89 +- .../examples/OrderGetByRG.json | 18 +- .../examples/OrderGetBySubscription.json | 19 +- .../examples/OrderReturn.json | 7 +- .../examples/OrderUpdate.json | 28 +- 26 files changed, 668 insertions(+), 1511 deletions(-) create mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json delete mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json delete mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json delete mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index cf61e4084896..67bb374538cc 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -21,7 +21,7 @@ "Operations" ], "description": "This method gets all the operations.", - "operationId": "List", + "operationId": "ListOperations", "consumes": [ "application/json" ], @@ -30,20 +30,20 @@ ], "parameters": [ { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/OperationList" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" } }, "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -51,7 +51,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List": { + "ListOperations": { "$ref": "./examples/ListOperations.json" } } @@ -72,10 +72,10 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$filter", @@ -102,7 +102,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -131,10 +131,10 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$expand", @@ -170,7 +170,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -184,7 +184,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamilies/{productFamilyName}/productLines/{productLineName}/products/{productName}/configurations": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/listConfigurations": { "post": { "tags": [ "ProductsAndConfigurations" @@ -199,19 +199,10 @@ ], "parameters": [ { - "$ref": "#/parameters/productFamilyNameParameter" - }, - { - "$ref": "#/parameters/productLineNameParameter" - }, - { - "$ref": "#/parameters/productNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$skipToken", @@ -240,7 +231,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -269,10 +260,10 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$skipToken", @@ -292,7 +283,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -306,6 +297,51 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamiliesMetadata/{productFamilyName}": { + "get": { + "tags": [ + "ProductFamilyMetadata" + ], + "description": "This method gets the product family metadata for the given subscription.", + "operationId": "GetProductFamilyMetadata", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/productFamilyNameParameter" + }, + { + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Gets product family details under subscription.", + "schema": { + "$ref": "#/definitions/ProductFamiliesMetadataDetails" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetProductFamilyMetadata": { + "$ref": "./examples/GetProductFamilyMetadata.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orderCollections": { "get": { "tags": [ @@ -321,10 +357,10 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$skipToken", @@ -344,7 +380,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -373,10 +409,10 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$filter", @@ -403,7 +439,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -432,13 +468,13 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$filter", @@ -465,7 +501,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -497,13 +533,13 @@ "$ref": "#/parameters/addressNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -516,7 +552,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -543,13 +579,13 @@ "$ref": "#/parameters/addressNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "addressResource", @@ -563,7 +599,10 @@ ], "responses": { "200": { - "description": "Address object." + "description": "Address object.", + "schema": { + "$ref": "#/definitions/AddressResource" + } }, "202": { "description": "Accepted request for create Address." @@ -571,7 +610,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -599,13 +638,13 @@ "$ref": "#/parameters/addressNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -621,7 +660,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -649,13 +688,13 @@ "$ref": "#/parameters/addressNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "If-Match", @@ -687,7 +726,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -699,205 +738,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/listProductFamilies": { - "post": { - "tags": [ - "ProductsAndConfigurations" - ], - "description": "This method provides the list of product families for the given subscription and resource group.", - "operationId": "ListProductFamiliesByResourceGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$expand", - "in": "query", - "description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product.", - "required": false, - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "description": "$skipToken is supported on list of product families, which provides the next page in the list of product families.", - "required": false, - "type": "string" - }, - { - "name": "productFamiliesRequest", - "in": "body", - "description": "Filters for showing the product families.", - "required": true, - "schema": { - "$ref": "#/definitions/ProductFamiliesRequest" - } - } - ], - "responses": { - "200": { - "description": "The list of available product families under resource group.", - "schema": { - "$ref": "#/definitions/ProductFamilies" - } - }, - "default": { - "description": "Error response describing reason for operation failure.", - "schema": { - "$ref": "#/definitions/ApiError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ListProductFamiliesByResourceGroup": { - "$ref": "./examples/ListProductFamiliesByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/productFamilies/{productFamilyName}/productLines/{productLineName}/products/{productName}/configurations": { - "post": { - "tags": [ - "ProductsAndConfigurations" - ], - "description": "This method provides list of configurations for the given product family, product line and product under resource group and subscription.", - "operationId": "ListConfigurationsByResourceGroup", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/productFamilyNameParameter" - }, - { - "$ref": "#/parameters/productLineNameParameter" - }, - { - "$ref": "#/parameters/productNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$skipToken", - "in": "query", - "description": "$skipToken is supported on list of configurations, which provides the next page in the list of configurations.", - "required": false, - "type": "string" - }, - { - "name": "configurationsRequest", - "in": "body", - "description": "Filters for showing the configurations.", - "required": true, - "schema": { - "$ref": "#/definitions/ConfigurationsRequest" - } - } - ], - "responses": { - "200": { - "description": "The list of configurations for the given product family, product line and product under resource group.", - "schema": { - "$ref": "#/definitions/Configurations" - } - }, - "default": { - "description": "Error response describing reason for operation failure.", - "schema": { - "$ref": "#/definitions/ApiError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ListConfigurationsByResourceGroup": { - "$ref": "./examples/ListConfigurationsByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/productFamiliesMetadata": { - "get": { - "tags": [ - "ProductFamilyMetadata" - ], - "description": "This method provides the list of product families metadata for the given resource group level.", - "operationId": "ListProductFamiliesMetadataAtResourceGroupLevel", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "name": "$skipToken", - "in": "query", - "description": "$skipToken is supported on list of product families metadata, which provides the next page in the list of product families metadata.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The list of available product families under subscription.", - "schema": { - "$ref": "#/definitions/ProductFamiliesMetadata" - } - }, - "default": { - "description": "Error response describing reason for operation failure.", - "schema": { - "$ref": "#/definitions/ApiError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ListProductFamiliesMetadataAtResourceGroupLevel": { - "$ref": "./examples/ListProductFamiliesMetadataAtResourceGroupLevel.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderCollections": { "get": { "tags": [ @@ -913,13 +753,13 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$skipToken", @@ -939,7 +779,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -971,13 +811,13 @@ "$ref": "#/parameters/orderCollectionNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -990,7 +830,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1017,13 +857,13 @@ "$ref": "#/parameters/orderCollectionNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "orderCollectionResource", @@ -1037,7 +877,10 @@ ], "responses": { "200": { - "description": "Returns order collection object" + "description": "Returns order collection object", + "schema": { + "$ref": "#/definitions/OrderCollectionResource" + } }, "202": { "description": "Accepted request to create order collection." @@ -1045,7 +888,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1073,13 +916,13 @@ "$ref": "#/parameters/orderCollectionNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1095,7 +938,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1123,13 +966,13 @@ "$ref": "#/parameters/orderCollectionNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "If-Match", @@ -1161,7 +1004,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1188,13 +1031,13 @@ ], "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "$filter", @@ -1221,7 +1064,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1253,13 +1096,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1272,7 +1115,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1299,13 +1142,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "orderResource", @@ -1319,7 +1162,10 @@ ], "responses": { "200": { - "description": "Returns order object" + "description": "Returns order object", + "schema": { + "$ref": "#/definitions/OrderResource" + } }, "202": { "description": "Accepted request to create order." @@ -1327,7 +1173,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1355,13 +1201,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1377,7 +1223,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1405,13 +1251,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "If-Match", @@ -1443,7 +1289,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1473,13 +1319,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "cancellationReason", @@ -1501,7 +1347,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1530,13 +1376,13 @@ "$ref": "#/parameters/orderNameParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "returnOrderDetails", @@ -1558,7 +1404,7 @@ "default": { "description": "Error response describing reason for operation failure.", "schema": { - "$ref": "#/definitions/ApiError" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1591,11 +1437,11 @@ "type": "object", "properties": { "shippingAddress": { - "$ref": "#/definitions/AddressResource", + "$ref": "#/definitions/AddressProperties", "description": "Customer address and contact details. It should be address resource" }, "returnAddress": { - "$ref": "#/definitions/AddressResource", + "$ref": "#/definitions/AddressProperties", "description": "Return shipping address", "readOnly": true } @@ -1626,28 +1472,18 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { "properties": { "$ref": "#/definitions/AddressProperties", - "description": "Properties of a job.", + "description": "Properties of an address.", "x-ms-client-flatten": true }, - "name": { - "description": "Name of the object.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Id of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the object.", - "type": "string", + "systemData": { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Represents resource creation and updation time", "readOnly": true } } @@ -1703,38 +1539,6 @@ } } }, - "ApiError": { - "required": [ - "error" - ], - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ErrorDetail" - } - } - }, - "ArmBaseObject": { - "description": "Base class for all objects under resource.", - "type": "object", - "properties": { - "name": { - "description": "Name of the object.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Id of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the object.", - "type": "string", - "readOnly": true - } - } - }, "AvailabilityInformation": { "description": "Availability information of a product system.", "type": "object", @@ -1864,6 +1668,11 @@ "$ref": "#/definitions/AvailabilityInformation", "description": "Availability information of the product system.", "readOnly": true + }, + "hierarchyInformation": { + "$ref": "#/definitions/HierarchyInformation", + "description": "Hierarchy information of the product system.", + "readOnly": true } } }, @@ -1922,14 +1731,29 @@ }, "x-ms-external": true }, - "Configuration": { - "description": "Configuration object.", + "CommonProperties": { + "description": "Represents common properties accross product hierarchy", "type": "object", "allOf": [ { - "$ref": "#/definitions/ArmBaseObject" + "$ref": "#/definitions/BasicInformation" } ], + "properties": { + "filterableProperties": { + "description": "list of filters supported for a product", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/FilterableProperty" + }, + "readOnly": true + } + } + }, + "Configuration": { + "description": "Configuration object.", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/ConfigurationProperties", @@ -1937,15 +1761,28 @@ "readOnly": true, "x-ms-client-flatten": true } - }, - "x-ms-azure-resource": true + } + }, + "ConfigurationFilters": { + "description": "Configuration filters", + "type": "object", + "properties": { + "hierarchyInformation": { + "$ref": "#/definitions/HierarchyInformation", + "description": "Product hierarchy information" + }, + "filterableProperty": { + "$ref": "#/definitions/FilterableProperty", + "description": "Filters specific to product" + } + } }, "ConfigurationProperties": { "description": "Properties of configuration", "type": "object", "allOf": [ { - "$ref": "#/definitions/BasicInformation" + "$ref": "#/definitions/CommonProperties" } ], "properties": { @@ -1982,16 +1819,16 @@ "ConfigurationsRequest": { "description": "Configuration request object.", "required": [ - "filterableProperties" + "configurationFilters" ], "type": "object", "properties": { - "filterableProperties": { - "description": "List of filters on product.", - "uniqueItems": false, + "configurationFilters": { + "description": "Holds details about product hierarchy information and filterable property.", + "uniqueItems": true, "type": "array", "items": { - "$ref": "#/definitions/FilterableProperty" + "$ref": "#/definitions/ConfigurationFilters" } }, "customerSubscriptionDetails": { @@ -2135,21 +1972,6 @@ } } }, - "Details": { - "required": [ - "code", - "message" - ], - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, "DeviceDetails": { "description": "Device details.", "type": "object", @@ -2170,31 +1992,6 @@ } } }, - "ErrorDetail": { - "required": [ - "code", - "message" - ], - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "details": { - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Details" - } - }, - "target": { - "type": "string" - } - } - }, "FilterableProperty": { "description": "Class defining the list of filter values on a filter type as part of configuration request.", "required": [ @@ -2225,8 +2022,29 @@ "type": "array", "items": { "type": "string" - }, - "readOnly": true + } + } + } + }, + "HierarchyInformation": { + "description": "Holds details about product hierarchy information", + "type": "object", + "properties": { + "productFamilyName": { + "description": "Represents product family name that uniquely identifies product family", + "type": "string" + }, + "productLineName": { + "description": "Represents product line name that uniquely identifies product line", + "type": "string" + }, + "productName": { + "description": "Represents product name that uniquely identifies product", + "type": "string" + }, + "configurationName": { + "description": "Represents configuration name that uniquely identifies configuration", + "type": "string" } } }, @@ -2428,84 +2246,6 @@ } } }, - "Operation": { - "description": "Operation entity.", - "type": "object", - "properties": { - "name": { - "description": "Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}", - "type": "string", - "readOnly": true - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "Operation display values.", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/OperationProperties", - "description": "Operation properties.", - "readOnly": true, - "x-ms-client-flatten": true - }, - "origin": { - "description": "Origin of the operation. Can be : user|system|user,system", - "type": "string", - "readOnly": true - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action.", - "type": "boolean", - "readOnly": true - } - } - }, - "OperationDisplay": { - "description": "Operation display", - "type": "object", - "properties": { - "provider": { - "description": "Provider name.", - "type": "string" - }, - "resource": { - "description": "Resource name.", - "type": "string" - }, - "operation": { - "description": "Localized name of the operation for display purpose.", - "type": "string" - }, - "description": { - "description": "Localized description of the operation for display purpose.", - "type": "string" - } - } - }, - "OperationList": { - "description": "Operation Collection.", - "type": "object", - "properties": { - "value": { - "description": "List of operations.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link for the next set of operations.", - "type": "string" - } - } - }, - "OperationProperties": { - "description": "Operation properties.", - "type": "object", - "properties": {} - }, "OrderCollectionProperties": { "description": "Represents order collection details.", "required": [ @@ -2531,7 +2271,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -2540,19 +2280,9 @@ "description": "Order collection properties", "x-ms-client-flatten": true }, - "name": { - "description": "Name of the object.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Id of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the object.", - "type": "string", + "systemData": { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Represents resource creation and updation time", "readOnly": true } } @@ -2797,7 +2527,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -2806,19 +2536,9 @@ "description": "Order properties", "x-ms-client-flatten": true }, - "name": { - "description": "Name of the object.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Id of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the object.", - "type": "string", + "systemData": { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Represents resource creation and updation time", "readOnly": true } } @@ -2850,7 +2570,12 @@ "description": "Order status", "type": "string", "readOnly": true - } + }, + "lastUpdatedTime": { + "description": "last time order was updated", + "format": "date-time", + "type": "string" + } } }, "OrderUpdateParameter": { @@ -2914,11 +2639,6 @@ "Product": { "description": "List of Products", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArmBaseObject" - } - ], "properties": { "properties": { "$ref": "#/definitions/ProductProperties", @@ -2926,19 +2646,18 @@ "readOnly": true, "x-ms-client-flatten": true } - }, - "x-ms-azure-resource": true + } }, "ProductDetails": { "description": "Represents product details", "required": [ - "productId" + "hierarchyInformation" ], "type": "object", "properties": { - "productId": { - "description": "Unique id of the product", - "type": "string" + "hierarchyInformation": { + "$ref": "#/definitions/HierarchyInformation", + "description": " Hierarchy of the product which uniquely identifies the product" }, "count": { "format": "int32", @@ -2998,38 +2717,20 @@ "ProductFamiliesMetadataDetails": { "description": "Product families metadata details.", "type": "object", + "allOf": [ + { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], "properties": { "properties": { - "$ref": "#/definitions/BasicInformation", + "$ref": "#/definitions/ProductFamilyProperties", "description": "Product family properties", "readOnly": true, "x-ms-client-flatten": true - }, - "filters": { - "description": "list of filters supported for a product family", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/FilterableProperty" - }, - "readOnly": true - }, - "name": { - "description": "Name of the object.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "Id of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the object.", - "type": "string", - "readOnly": true } - } + }, + "x-ms-azure-resource": true }, "ProductFamiliesRequest": { "description": "The filters for showing the product families.", @@ -3039,21 +2740,12 @@ "type": "object", "properties": { "filterableProperties": { - "description": "List of filters on product family.", - "uniqueItems": false, - "type": "array", - "items": { + "description": "Dictionary of filterable properties on product family.", + "type": "object", + "additionalProperties": { "$ref": "#/definitions/FilterableProperty" } }, - "productFamilies": { - "description": "Product families to filter", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, "customerSubscriptionDetails": { "$ref": "#/definitions/CustomerSubscriptionDetails", "description": "Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details" @@ -3063,11 +2755,6 @@ "ProductFamily": { "description": "Product Family", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArmBaseObject" - } - ], "properties": { "properties": { "$ref": "#/definitions/ProductFamilyProperties", @@ -3075,15 +2762,14 @@ "readOnly": true, "x-ms-client-flatten": true } - }, - "x-ms-azure-resource": true + } }, "ProductFamilyProperties": { "description": "Properties of product family", "type": "object", "allOf": [ { - "$ref": "#/definitions/BasicInformation" + "$ref": "#/definitions/CommonProperties" } ], "properties": { @@ -3101,11 +2787,6 @@ "ProductLine": { "description": "Product line", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArmBaseObject" - } - ], "properties": { "properties": { "$ref": "#/definitions/ProductLineProperties", @@ -3113,15 +2794,14 @@ "readOnly": true, "x-ms-client-flatten": true } - }, - "x-ms-azure-resource": true + } }, "ProductLineProperties": { "description": "Properties of product line", "type": "object", "allOf": [ { - "$ref": "#/definitions/BasicInformation" + "$ref": "#/definitions/CommonProperties" } ], "properties": { @@ -3141,7 +2821,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/BasicInformation" + "$ref": "#/definitions/CommonProperties" } ], "properties": { @@ -3156,36 +2836,6 @@ } } }, - "Resource": { - "description": "Model of the Resource.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "location": { - "description": "The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Represents resource creation and update time", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, "ResourceIdentity": { "description": "Msi identity details of the resource", "type": "object", @@ -3354,7 +3004,7 @@ "description": "List of registered feature flags for subscription", "type": "array", "items": { - "$ref": "#/definitions/SubscriptionRegisteredFeatures" + "$ref": "#/definitions/CustomerSubscriptionRegisteredFeatures" } }, "locationPlacementId": { @@ -3367,55 +3017,19 @@ } } }, - "SubscriptionRegisteredFeatures": { + "CustomerSubscriptionRegisteredFeatures": { "type": "object", "properties": { "name": { + "description": "Name of subscription registered feature", "type": "string" }, "state": { + "description": "State of subscription registered feature", "type": "string" } } }, - "SystemData": { - "description": "Provides details about resource creation and update time", - "type": "object", - "properties": { - "createdBy": { - "description": "a string identifier for the identity that created the resource", - "type": "string", - "readOnly": true - }, - "createdByType": { - "description": "the type of identity that created the resource: user, application, managedIdentity", - "type": "string", - "readOnly": true - }, - "createdAt": { - "format": "date-time", - "description": "the timestamp of resource creation (UTC)", - "type": "string", - "readOnly": true - }, - "lastModifiedBy": { - "description": "a string identifier for the identity that last modified the resource", - "type": "string", - "readOnly": true - }, - "lastModifiedByType": { - "description": "the type of identity that last modified the resource: user, application, managedIdentity", - "type": "string", - "readOnly": true - }, - "lastModifiedAt": { - "format": "date-time", - "description": "the timestamp of resource last modification (UTC)", - "type": "string", - "readOnly": true - } - } - }, "TransportPreferences": { "description": "Preferences related to the shipment logistics of the sku", "required": [ @@ -3460,21 +3074,6 @@ "pattern": "^[-\\w\\.]+$", "x-ms-parameter-location": "method" }, - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "The API Version", - "required": true, - "type": "string" - }, - "configurationNameParameter": { - "name": "configurationName", - "in": "path", - "description": "The name of the configuration", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, "locationParameter": { "name": "location", "in": "path", @@ -3506,37 +3105,6 @@ "required": true, "type": "string", "x-ms-parameter-location": "method" - }, - "productLineNameParameter": { - "name": "productLineName", - "in": "path", - "description": "The name of the product line", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "productNameParameter": { - "name": "productName", - "in": "path", - "description": "The name of the product", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The Resource Group Name", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "The Subscription Id", - "required": true, - "type": "string" } }, "securityDefinitions": { @@ -3557,4 +3125,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json index f0f2d7007a9e..99001b2be826 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", "resourceGroupName": "TestRG", - "addressName": "TestMicrosoftAddressName2", + "addressName": "TestMSAddressName", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" ], "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName?api-version=2020-12-01-preview" ], "x-ms-client-tenant-id": [ " 72f988bf-86f1-41af-91ab-2d7cd011db47" @@ -32,13 +32,12 @@ "addressType": "None" }, "contactDetails": { - "ContactName": "Petr Cech", - "Phone": "123344334", - "PhoneExtension": "" + "contactName": "Petr Cech", + "phone": "123344334", + "phoneExtension": "" } }, - "location": "westus", - "type": "Microsoft.Ordering/addresses" + "location": "westus" } }, "responses": { @@ -64,12 +63,9 @@ } }, "location": "westus", - "tags": {}, - "identity": { - "type": "None" - }, - "name": "TestMicrosoftAddressName2", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "tags": {}, + "name": "TestMSAddressName", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" } }, diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json index 6d7f5e852ce0..679d74861101 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json @@ -13,7 +13,6 @@ }, "responses": { "200": { - "body": "" }, "202": {}, "204": {} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json index db931c87b586..ff00c19effa5 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressGetByName.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", "resourceGroupName": "TestRG", - "addressName": "TestMicrosoftAddressName2", + "addressName": "TestMSAddressName", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" ], "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName?api-version=2020-12-01-preview" ] }, "responses": { @@ -35,11 +35,8 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, - "name": "TestMicrosoftAddressName2", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "name": "TestMSAddressName", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json index b08c76b84f1e..934e2e9e4f9a 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressPatch.json @@ -2,13 +2,13 @@ "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", "resourceGroupName": "TestRG", - "addressName": "TestMicrosoftAddressName2", + "addressName": "TestAddressName2", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" ], "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2?api-version=2020-12-01-preview" + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2?api-version=2020-12-01-preview" ], "Content-Type": [ "application/json; charset=utf-8" @@ -29,9 +29,9 @@ "addressType": "None" }, "contactDetails": { - "ContactName": "Petr Cech", - "Phone": "123344335", - "PhoneExtension": "" + "contactName": "Petr Cech", + "phone": "123344335", + "phoneExtension": "" } }, "tags": { @@ -39,9 +39,7 @@ "Work": "Engineering", "Hobby": "Web Series Added", "WhatElse": "Web Series Added" - }, - "location": "westus", - "type": "Microsoft.EdgeOrder/addresses" + } } }, "responses": { @@ -73,11 +71,8 @@ "hobby": "Web Series Added", "whatElse": "Web Series Added" }, - "identity": { - "type": "None" - }, - "name": "TestMicrosoftAddressName2", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + "name": "TestAddressName2", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", "type": "Microsoft.EdgeOrder/addresses" } }, diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json index 0a714c59bb89..e9e0fde4d12d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json @@ -36,9 +36,7 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, + "name": "TestAddressName0", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", "type": "Microsoft.EdgeOrder/addresses" @@ -65,9 +63,7 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, + "name": "TestAddressName2", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", "type": "Microsoft.EdgeOrder/addresses" @@ -94,11 +90,9 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, - "name": "TestMicrosoftAddressName2", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + + "name": "TestMSAddressName", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" } ] diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json index 950bfc8faf41..99f7f7ba06cf 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json @@ -35,9 +35,7 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, + "name": "TestAddressName0", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", "type": "Microsoft.EdgeOrder/addresses" @@ -64,9 +62,7 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, + "name": "TestAddressName2", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", "type": "Microsoft.EdgeOrder/addresses" @@ -93,11 +89,9 @@ }, "location": "westus", "tags": {}, - "identity": { - "type": "None" - }, - "name": "TestMicrosoftAddressName2", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMicrosoftAddressName2", + + "name": "TestMSAddressName", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" } ] diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json new file mode 100644 index 000000000000..af039d7f3a1d --- /dev/null +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "productFamilyName" : "azurestackedge", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" + } + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + }, + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ] + }, + "name": "azurestackedge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", + "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" + } + } + } +} \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json index 1924f45c19e6..8488d496002e 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json @@ -1,29 +1,33 @@ { "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "productFamilyName": "azurestackedge", - "productLineName": "azurestackedge", - "productName": "azurestackedgepro-gPu", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" ], "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productlines/azurestackedge/products/azurestackedgepro-gPu/configurations?api-version=2020-12-01-preview" + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/listConfigurations?api-version=2020-12-01-preview" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "102" + "323" ], "configurationsRequest": { - "filterableProperties": [ + "configurationFilters": [ { - "Type": "ShipToCountries", - "SupportedValues": [ - "US" - ] + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA" + }, + "filterableProperty": { + "type": "ShipToCountries", + "supportedValues": [ + "US" + ] + } } ] } @@ -48,6 +52,15 @@ "value": "~8 TB" } ], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ], "displayName": "1 GPU", "description": { "descriptionType": "Base", @@ -59,11 +72,14 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA", + "configurationName": "1GPU" } - }, - "name": "1GPU", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productLines/azurestackedge/product/azurestackedgepro-gpu/configuration/1GPU", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product/Configuration" + } } ] } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json deleted file mode 100644 index 9592b45ea534..000000000000 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurationsByResourceGroup.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "testrg", - "productFamilyName": "azurestackedge", - "productLineName": "azurestackedge", - "productName": "azurestackedgepro-gPu", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productlines/azurestackedge/products/azurestackedgepro-gPu/configurations?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "102" - ], - "configurationsRequest": { - "filterableProperties": [ - { - "Type": "ShipToCountries", - "SupportedValues": [ - "US" - ] - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "specifications": [ - { - "name": "Cores", - "value": "24" - }, - { - "name": "Memory", - "value": "128 GB" - }, - { - "name": "Storage", - "value": "~8 TB" - } - ], - "displayName": "1 GPU", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "1GPU", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/azurestackedge/productLines/azurestackedge/product/azurestackedgepro-gpu/configuration/1GPU", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product/Configuration" - } - ] - } - } - } -} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json index 3c796775968a..ccacae54d1df 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListOperations.json @@ -20,7 +20,6 @@ "operation": "List or Get Addresses", "description": "List or get the Addresses" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -32,7 +31,6 @@ "operation": "Delete Addresses", "description": "Delete the Addresses" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -44,7 +42,6 @@ "operation": "Create or Update Addresses", "description": "Create or update the Addresses" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -56,7 +53,6 @@ "operation": "List or Get Operation Results", "description": "List or get the Operation Results" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -68,7 +64,6 @@ "operation": "List or Get Operations", "description": "List or get the Operations" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -80,7 +75,6 @@ "operation": "Cancel Order", "description": "Cancels an order in progress." }, - "properties": {}, "origin": "user", "isDataAction": true }, @@ -92,7 +86,6 @@ "operation": "Return Order", "description": "Return an order." }, - "properties": {}, "origin": "user", "isDataAction": true }, @@ -104,7 +97,6 @@ "operation": "List or Get Orders", "description": "List or get the Orders" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -116,7 +108,6 @@ "operation": "Delete Orders", "description": "Delete the Orders" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -128,7 +119,6 @@ "operation": "Create or Update Orders", "description": "Create or update the Orders" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -140,7 +130,6 @@ "operation": "Create or Update Order Collections", "description": "Create or update the Order Collections" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -152,7 +141,6 @@ "operation": "List or Get Order Collections", "description": "List or get the Order Collections" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -164,7 +152,6 @@ "operation": "Delete Order Collections", "description": "Delete the Order Collections" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -176,7 +163,6 @@ "operation": "List or Get Product Families Metadata", "description": "List or get the Product Families Metadata" }, - "properties": {}, "origin": "user", "isDataAction": false }, @@ -188,7 +174,6 @@ "operation": "List Product Families", "description": "This method returns list of product families." }, - "properties": {}, "origin": "user", "isDataAction": true }, @@ -200,7 +185,6 @@ "operation": "List Product Configurations", "description": "This method returns list of product configurations." }, - "properties": {}, "origin": "user", "isDataAction": true } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json index 7bfbd2334774..6328fd6d24b4 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamilies.json @@ -12,17 +12,17 @@ "application/json; charset=utf-8" ], "Content-Length": [ - "103" + "120" ], "productFamiliesRequest": { - "filterableProperties": [ - { - "Type": "ShipToCountries", - "SupportedValues": [ + "filterableProperties": { + "azurestackedge": { + "type": "ShipToCountries", + "supportedValues": [ "US" ] } - ] + } } }, "responses": { @@ -37,7 +37,14 @@ "products": [ { "properties": { - "configurations": [], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US" + ] + } + ], "displayName": "Azure Stack Edge Pro - GPU", "description": { "descriptionType": "Base", @@ -110,15 +117,24 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProGPU" } - }, - "name": "AzureStackEdgePro-GPU", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } }, { "properties": { - "configurations": [], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "UK" + ] + } + ], "displayName": "Azure Stack Edge Pro - FPGA", "description": { "descriptionType": "Base", @@ -190,15 +206,25 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA" } - }, - "name": "AzureStackEdgePro-FPGA", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } }, { "properties": { - "configurations": [], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ], "displayName": "Azure Stack Edge Pro - R", "description": { "descriptionType": "Base", @@ -271,11 +297,22 @@ "availabilityStage": "ComingSoon", "disabledReason": "NotAvailable", "disabledReasonMessage": "Device is not available yet" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA" } - }, - "name": "AzureStackEdgePro-R", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" + } + } + ], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] } ], "displayName": "Azure Stack Edge", @@ -289,18 +326,23 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge" } - }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" + } + } + ], + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] } ], - "productFamilyId": "AzureStackEdge", - "localizationKeyValueDictionary": { - "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", - "key2": "Edge" - }, "displayName": "Azure Stack Edge", "description": { "descriptionType": "Base", @@ -312,11 +354,11 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" + }, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge" } - }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productfamilies", - "type": "Microsoft.EdgeOrder/ProductFamilies" + } } ] } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json deleted file mode 100644 index dc122c601abb..000000000000 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesByResourceGroup.json +++ /dev/null @@ -1,326 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "testrg", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/listProductFamilies?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "103" - ], - "productFamiliesRequest": { - "filterableProperties": [ - { - "Type": "ShipToCountries", - "SupportedValues": [ - "US" - ] - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "productLines": [ - { - "properties": { - "products": [ - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - GPU", - "description": { - "descriptionType": "Base", - "shortDescription": "Azure managed physical edge compute device", - "longDescription": "Cancelled", - "keywords": [ - "AtAzureDC", - "GPU" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using NVIDIA T4 FPGA", - "Azure Private Zone Enabled" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdgePro-GPU", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-GPU", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - }, - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - FPGA", - "description": { - "descriptionType": "Base", - "shortDescription": "Azure managed physical edge compute device", - "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", - "keywords": [ - "Edge", - "FPGA" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using Intel ARIA FPGA" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdgePro-FPGA", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgeProFPGA", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - }, - { - "properties": { - "configurations": [], - "displayName": "Azure Stack Edge Pro - R", - "description": { - "descriptionType": "Base", - "shortDescription": "Rugged physical edge compute device", - "longDescription": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with Intel Aria to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two FPGAs basis your business need", - "keywords": [ - "Edge", - "FPGA" - ], - "attributes": [ - "1U device shipped by Microsoft", - "Hardware accelerated ML using Intel ARIA FPGA" - ], - "links": [ - { - "linkType": "TermsAndConditions", - "linkUrl": "https://aka.mx/tc" - }, - { - "linkType": "KnowMore", - "linkUrl": "https://aka.mx/knowmore" - } - ] - }, - "imageInformation": [ - { - "imageType": "MainImage", - "imageUrl": "https://xyz.com" - }, - { - "imageType": "BulletImage", - "imageUrl": "https://abc.com" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://xyz.com/1" - }, - { - "imageType": "GenericImage", - "imageUrl": "https://abc.com/1" - } - ], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "ComingSoon", - "disabledReason": "NotAvailable", - "disabledReasonMessage": "Device is not available yet" - } - }, - "name": "AzureStackEdgePro-R", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge/product/AzureStackEdgePro-R", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines/Product" - } - ], - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies/AzureStackEdge/productLines/AzureStackEdge", - "type": "Microsoft.EdgeOrder/ProductFamilies/ProductLines" - } - ], - "productFamilyId": "AzureStackEdge", - "localizationKeyValueDictionary": { - "key1": "Azure Stack Edge is an AI-enabled edge computing device with network data transfer capabilities. The device is powered with NVIDIA T4 GPUs to provide accelerated AI inferencing at the edge. You can choose from the available configurations with one or two GPUs basis your business need", - "key2": "Edge" - }, - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "name": "AzureStackEdge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/testrg/providers/Microsoft.EdgeOrder/productfamilies", - "type": "Microsoft.EdgeOrder/ProductFamilies" - } - ] - } - } - } -} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json index 2f63672ff636..5a8503e673ef 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json @@ -52,9 +52,8 @@ "availabilityInformation": { "availabilityStage": "Available", "disabledReason": "None" - } - }, - "filters": [ + }, + "filterableProperties": [ { "type": "ShipToCountries", "supportedValues": [ @@ -62,7 +61,11 @@ "UK" ] } - ] + ] + }, + "name": "azurestackedge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", + "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" } ] } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json deleted file mode 100644 index a0993c241234..000000000000 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadataAtResourceGroupLevel.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/productFamiliesMetadata?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - } - }, - "filters": [ - { - "type": "ShipToCountries", - "supportedValues": [ - "US", - "UK" - ] - } - ] - } - ] - } - } - } -} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json index 2aa867229327..d29ff8cf68b3 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json @@ -1,28 +1,28 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "34" - ], - "cancellationReason": { - "reason": "Order cancelled" + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "cancellationReason": { + "reason": "Order cancelled" + } + }, + "responses": { + "200":{}, + "204": { + } } - }, - "responses": { - "204": { - "body": "" - } - } -} + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json index 5949086120ca..71f5ff91fd82 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json @@ -18,7 +18,7 @@ ], "orderCollectionResource": { "properties": { - "OrderIds": [ + "orderIds": [ "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG/providers/Microsoft.EdgeOrder/Orders/TestOrderName1", "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/TestRG1/providers/Microsoft.EdgeOrder/Orders/TestOrderName2" ] @@ -27,14 +27,11 @@ "Name": "TestName", "Work": "Engineering" }, - "location": "westus", - "type": "Microsoft.EdgeOrder/orderCollections" + "location": "westus" } }, "responses": { - "202": { - "body": "" - }, + "202":{}, "200": { "body": { "properties": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json index e588b2c08359..ee84fbe55c71 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json @@ -12,11 +12,9 @@ ] }, "responses": { - "202": { - "body": "" - }, + "200":{}, + "202":{}, "204": { - "body": "" } } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json index 30404b6779b5..e25f959c473b 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json @@ -17,20 +17,15 @@ "193" ], "orderCollectionUpdateParameter": { - "properties": {}, "tags": { "Name": "TestName-Updated", "Work": "Engineering", "Hobby": "Coding-Added" - }, - "location": "westus", - "type": "Microsoft.EdgeOrder/orderCollections" + } } }, "responses": { - "202": { - "body": "" - }, + "202":{}, "200": { "body": { "properties": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json index 25ebaa23842c..74873a2cd96f 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json @@ -19,95 +19,88 @@ "orderResource": { "properties": { "orderDetails": { - "OrderType": "Purchase", - "expectedDataSizeInTeraBytes": 0, - "ProductDetails": { - "ProductId": "Andrew Cubone" - }, - "Preferences": { - "TransportPreferences": { - "PreferredShipmentType": "MicrosoftManaged" - } - } - }, - "addressDetails": { - "ShippingAddress": { - "Properties": { - "ContactDetails": { - "ContactName": "first", - "Phone": "11111" - } - }, - "location": "westus" - } - } - }, - "Tags": { - "mango": "fruit", - "carrot": "vegetable" - }, - "location": "westus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "orderDetails": { - "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + "productDetails": { + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" + } }, - "orderStatusHistory": [], "preferences": { "transportPreferences": { "preferredShipmentType": "MicrosoftManaged" } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + } }, "addressDetails": { "shippingAddress": { - "properties": { "contactDetails": { "contactName": "first", "phone": "11111" } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" } - }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" + } }, - "location": "westus", "tags": { "mango": "fruit", "carrot": "vegetable" }, - "identity": { - "type": "None" - }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" + "location": "westus" } }, - "202": { - "body": "" + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { + "productDetails": { + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA", + "configurationName": "1GPU" + }, + "count": 1, + "deviceDetails": [] + }, + "orderType": "Purchase", + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" + }, + "addressDetails": { + "shippingAddress": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } + }, + "202": { + } } - } -} + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json index 932dbc4c5f7f..30b735689a3d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json @@ -1,25 +1,22 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - "body": "" + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] }, - "202": { - "body": "" - }, - "204": { - "body": "" + "responses": { + "200": { + }, + "202": { + }, + "204": { + } } - } -} + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json index b08023d4d67d..43b29ba63768 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json @@ -17,56 +17,53 @@ "properties": { "orderDetails": { "productDetails": { - "productId": "Andrew Cubone", - "count": 0, - "deviceDetails": [] - }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" + }, + "count": 1, + "deviceDetails": [] + }, + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" + "addressDetails": { + "shippingAddress": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } } }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" }, - "addressDetails": { - "shippingAddress": { - "properties": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" - } + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" - }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" - }, - "identity": { - "type": "None" - }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" + } } } - } -} + } \ No newline at end of file diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json index df181eb1ef1a..94a172c508af 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json @@ -18,8 +18,13 @@ "properties": { "orderDetails": { "productDetails": { - "productId": "Andrew Cubone", - "count": 0, + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" + }, + "count": 1, "deviceDetails": [] }, "orderType": "Purchase", @@ -42,15 +47,10 @@ }, "addressDetails": { "shippingAddress": { - "properties": { "contactDetails": { "contactName": "first", "phone": "11111" } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" } }, "startTime": "0001-01-01T05:30:00+05:30", @@ -61,9 +61,7 @@ "mango": "fruit", "carrot": "vegetable" }, - "identity": { - "type": "None" - }, + "name": "TestOrderName1", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", "type": "Microsoft.EdgeOrder/orders" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json index 49e6d03c9e5e..51327b83c884 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json @@ -17,8 +17,13 @@ "properties": { "orderDetails": { "productDetails": { - "productId": "Andrew Cubone", - "count": 0, + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" + }, + "count": 1, "deviceDetails": [] }, "orderType": "Purchase", @@ -41,16 +46,11 @@ }, "addressDetails": { "shippingAddress": { - "properties": { "contactDetails": { "contactName": "first", "phone": "11111" } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" - } + } }, "startTime": "0001-01-01T05:30:00+05:30", "orderCollectionId": "" @@ -60,9 +60,6 @@ "mango": "fruit", "carrot": "vegetable" }, - "identity": { - "type": "None" - }, "name": "TestOrderName1", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", "type": "Microsoft.EdgeOrder/orders" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json index 4da23f05c54d..f5eec57d8e05 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json @@ -17,12 +17,13 @@ "39" ], "returnOrderDetails": { - "ReturnReason": "Order returned" + "returnReason": "Order returned" } }, "responses": { "200": { - "body": "" - } + }, + "202": { + } } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json index 704ea0c68a1f..06cbe6811b93 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json @@ -17,14 +17,14 @@ "268" ], "orderUpdateParameter": { - "Properties": { - "Preferences": { - "TransportPreferences": { - "PreferredShipmentType": "CustomerManaged" + "properties": { + "preferences": { + "transportPreferences": { + "preferredShipmentType": "CustomerManaged" } } }, - "Tags": { + "tags": { "pigeon": "bird", "tiger": "animal", "ant": "insect" @@ -37,8 +37,13 @@ "properties": { "orderDetails": { "productDetails": { - "productId": "Andrew Cubone", - "count": 0, + "hierarchyInformation": { + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA", + "configurationName": "1GPU" + }, + "count": 1, "deviceDetails": [] }, "orderType": "Purchase", @@ -61,15 +66,10 @@ }, "addressDetails": { "shippingAddress": { - "properties": { "contactDetails": { "contactName": "first", "phone": "11111" } - }, - "location": "westus", - "tags": {}, - "type": "Microsoft.EdgeOrder/addresses" } }, "startTime": "0001-01-01T05:30:00+05:30", @@ -81,16 +81,12 @@ "tiger": "animal", "ant": "insect" }, - "identity": { - "type": "None" - }, "name": "TestOrderName1", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", "type": "Microsoft.EdgeOrder/orders" } }, "202": { - "body": "" } } } From 7afd58ecf2fec0348d8a9322621b8304e183eb51 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Tue, 12 Jan 2021 14:54:28 +0530 Subject: [PATCH 10/12] spell check fix --- .../2020-12-01-preview/edgeorder.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index 67bb374538cc..c391ea4ec44f 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -1483,7 +1483,7 @@ }, "systemData": { "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and updation time", + "description": "Represents resource creation and update time", "readOnly": true } } @@ -1732,7 +1732,7 @@ "x-ms-external": true }, "CommonProperties": { - "description": "Represents common properties accross product hierarchy", + "description": "Represents common properties across product hierarchy", "type": "object", "allOf": [ { @@ -2282,7 +2282,7 @@ }, "systemData": { "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and updation time", + "description": "Represents resource creation and update time", "readOnly": true } } @@ -2538,7 +2538,7 @@ }, "systemData": { "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and updation time", + "description": "Represents resource creation and update time", "readOnly": true } } @@ -2728,6 +2728,11 @@ "description": "Product family properties", "readOnly": true, "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Represents resource creation and update time", + "readOnly": true } }, "x-ms-azure-resource": true From 4dc5fda81343b0f6ac88774174c62ea5ebd1f7ba Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Tue, 12 Jan 2021 15:00:02 +0530 Subject: [PATCH 11/12] prettier check fix --- .../2020-12-01-preview/edgeorder.json | 10 +- .../examples/AddressCreate.json | 2 +- .../examples/AddressDelete.json | 3 +- .../AddressesGetAtResourceGrouplevel.json | 3 - .../AddressesGetAtSubscriptionLevel.json | 3 - .../examples/GetProductFamilyMetadata.json | 90 ++++++------ .../examples/ListConfigurations.json | 2 +- .../examples/ListProductFamiliesMetadata.json | 18 +-- .../examples/OrderCancel.json | 51 ++++--- .../examples/OrderCollectionCreate.json | 2 +- .../examples/OrderCollectionDelete.json | 7 +- .../examples/OrderCollectionUpdate.json | 2 +- .../examples/OrderCreate.json | 133 +++++++++--------- .../examples/OrderDelete.json | 39 +++-- .../2020-12-01-preview/examples/OrderGet.json | 84 +++++------ .../examples/OrderGetByRG.json | 9 +- .../examples/OrderGetBySubscription.json | 8 +- .../examples/OrderReturn.json | 6 +- .../examples/OrderUpdate.json | 21 ++- 19 files changed, 238 insertions(+), 255 deletions(-) diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index c391ea4ec44f..797513d39b55 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -2571,11 +2571,11 @@ "type": "string", "readOnly": true }, - "lastUpdatedTime": { - "description": "last time order was updated", - "format": "date-time", - "type": "string" - } + "lastUpdatedTime": { + "description": "last time order was updated", + "format": "date-time", + "type": "string" + } } }, "OrderUpdateParameter": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json index 99001b2be826..3bdba115fc42 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json @@ -63,7 +63,7 @@ } }, "location": "westus", - "tags": {}, + "tags": {}, "name": "TestMSAddressName", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json index 679d74861101..6fa54e2c6c9c 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressDelete.json @@ -12,8 +12,7 @@ ] }, "responses": { - "200": { - }, + "200": {}, "202": {}, "204": {} } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json index e9e0fde4d12d..7f9e5a70f87b 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json @@ -36,7 +36,6 @@ }, "location": "westus", "tags": {}, - "name": "TestAddressName0", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", "type": "Microsoft.EdgeOrder/addresses" @@ -63,7 +62,6 @@ }, "location": "westus", "tags": {}, - "name": "TestAddressName2", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", "type": "Microsoft.EdgeOrder/addresses" @@ -90,7 +88,6 @@ }, "location": "westus", "tags": {}, - "name": "TestMSAddressName", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json index 99f7f7ba06cf..b8dfbef9174d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json @@ -35,7 +35,6 @@ }, "location": "westus", "tags": {}, - "name": "TestAddressName0", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName0", "type": "Microsoft.EdgeOrder/addresses" @@ -62,7 +61,6 @@ }, "location": "westus", "tags": {}, - "name": "TestAddressName2", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestAddressName2", "type": "Microsoft.EdgeOrder/addresses" @@ -89,7 +87,6 @@ }, "location": "westus", "tags": {}, - "name": "TestMSAddressName", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName", "type": "Microsoft.EdgeOrder/addresses" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json index af039d7f3a1d..893641a4e4dc 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "productFamilyName" : "azurestackedge", + "productFamilyName": "azurestackedge", "api-version": "2020-12-01-preview", "User-Agent": [ "vscode-restclient" @@ -13,46 +13,46 @@ "responses": { "200": { "body": { - "properties": { - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } + "properties": { + "displayName": "Azure Stack Edge", + "description": { + "descriptionType": "Base", + "keywords": [], + "attributes": [], + "links": [] + }, + "imageInformation": [], + "costInformation": { + "primaryMeterType": "ServiceFee", + "meterDetails": [ + { + "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", + "meterType": "ServiceFee", + "billingModel": { + "model": "PT1M" } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - }, - "filterableProperties": [ + }, + { + "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", + "meterType": "ShippingFee", + "billingModel": { + "model": "PT0H" + } + }, + { + "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", + "meterType": "LostOrDamagedFee", + "billingModel": { + "model": "PT0H" + } + } + ] + }, + "availabilityInformation": { + "availabilityStage": "Available", + "disabledReason": "None" + }, + "filterableProperties": [ { "type": "ShipToCountries", "supportedValues": [ @@ -61,11 +61,11 @@ ] } ] - }, - "name": "azurestackedge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", - "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" + }, + "name": "azurestackedge", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", + "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" } } } -} \ No newline at end of file +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json index 8488d496002e..73f7a72c132e 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListConfigurations.json @@ -77,7 +77,7 @@ "productFamilyName": "AzureStackEdge", "productLineName": "AzureStackEdge", "productName": "AzureStackEdgeProFPGA", - "configurationName": "1GPU" + "configurationName": "1GPU" } } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json index 5a8503e673ef..71feca9901fd 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json @@ -53,15 +53,15 @@ "availabilityStage": "Available", "disabledReason": "None" }, - "filterableProperties": [ - { - "type": "ShipToCountries", - "supportedValues": [ - "US", - "UK" - ] - } - ] + "filterableProperties": [ + { + "type": "ShipToCountries", + "supportedValues": [ + "US", + "UK" + ] + } + ] }, "name": "azurestackedge", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json index d29ff8cf68b3..c9c90e440a0f 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCancel.json @@ -1,28 +1,27 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "34" - ], - "cancellationReason": { - "reason": "Order cancelled" - } - }, - "responses": { - "200":{}, - "204": { - } + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "cancellationReason": { + "reason": "Order cancelled" } - } \ No newline at end of file + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json index 71f5ff91fd82..24620db5fce9 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionCreate.json @@ -31,7 +31,7 @@ } }, "responses": { - "202":{}, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json index ee84fbe55c71..ac3d7874cc42 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionDelete.json @@ -12,9 +12,8 @@ ] }, "responses": { - "200":{}, - "202":{}, - "204": { - } + "200": {}, + "202": {}, + "204": {} } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json index e25f959c473b..0102f806db29 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCollectionUpdate.json @@ -25,7 +25,7 @@ } }, "responses": { - "202":{}, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json index 74873a2cd96f..28184bb3f0e8 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderCreate.json @@ -19,88 +19,87 @@ "orderResource": { "properties": { "orderDetails": { - "orderType": "Purchase", + "orderType": "Purchase", + "productDetails": { + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" + } + }, + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" + } + } + }, + "addressDetails": { + "shippingAddress": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + } + } + }, + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "orderDetails": { "productDetails": { "hierarchyInformation": { - "productFamilyName": "azurestackedge", - "productLineName": "azurestackedge", - "productName": "azurestackedgeprogpu", - "configurationName": "1gpu" - } + "productFamilyName": "AzureStackEdge", + "productLineName": "AzureStackEdge", + "productName": "AzureStackEdgeProFPGA", + "configurationName": "1GPU" + }, + "count": 1, + "deviceDetails": [] }, + "orderType": "Purchase", + "orderStatusHistory": [], "preferences": { "transportPreferences": { "preferredShipmentType": "MicrosoftManaged" } - } + }, + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, "addressDetails": { "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } + "contactDetails": { + "contactName": "first", + "phone": "11111" + } } - } + }, + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" }, + "location": "westus", "tags": { "mango": "fruit", "carrot": "vegetable" }, - "location": "westus" + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" } }, - "responses": { - "200": { - "body": { - "properties": { - "orderDetails": { - "productDetails": { - "hierarchyInformation": { - "productFamilyName": "AzureStackEdge", - "productLineName": "AzureStackEdge", - "productName": "AzureStackEdgeProFPGA", - "configurationName": "1GPU" - }, - "count": 1, - "deviceDetails": [] - }, - "orderType": "Purchase", - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" - }, - "addressDetails": { - "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } - } - }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" - }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" - }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } - }, - "202": { - } - } - } \ No newline at end of file + "202": {} + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json index 30b735689a3d..f93701d7d9c7 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderDelete.json @@ -1,22 +1,19 @@ { - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "resourceGroupName": "TestRG", - "orderName": "TestOrderName1", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - }, - "202": { - }, - "204": { - } - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", + "resourceGroupName": "TestRG", + "orderName": "TestOrderName1", + "api-version": "2020-12-01-preview", + "User-Agent": [ + "vscode-restclient" + ], + "Referer": [ + "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1?api-version=2020-12-01-preview" + ] + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json index 43b29ba63768..88664837bf73 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGet.json @@ -17,53 +17,53 @@ "properties": { "orderDetails": { "productDetails": { - "hierarchyInformation": { - "productFamilyName": "azurestackedge", - "productLineName": "azurestackedge", - "productName": "azurestackedgeprogpu", - "configurationName": "1gpu" - }, - "count": 1, - "deviceDetails": [] + "hierarchyInformation": { + "productFamilyName": "azurestackedge", + "productLineName": "azurestackedge", + "productName": "azurestackedgeprogpu", + "configurationName": "1gpu" }, - "orderType": "Purchase", - "currentStatus": { - "orderStatus": "", - "lastUpdatedTime": "0001-01-01T05:30:00+05:30" - }, - "orderStatusHistory": [], - "preferences": { - "transportPreferences": { - "preferredShipmentType": "MicrosoftManaged" - } - }, - "notificationEmailList": [], - "cancellationReason": "", - "cancellationStatus": "Cancellable", - "deletionStatus": "Allowed", - "returnReason": "", - "returnStatus": "Returnable" + "count": 1, + "deviceDetails": [] }, - "addressDetails": { - "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } + "orderType": "Purchase", + "currentStatus": { + "orderStatus": "", + "lastUpdatedTime": "0001-01-01T05:30:00+05:30" + }, + "orderStatusHistory": [], + "preferences": { + "transportPreferences": { + "preferredShipmentType": "MicrosoftManaged" } }, - "startTime": "0001-01-01T05:30:00+05:30", - "orderCollectionId": "" + "notificationEmailList": [], + "cancellationReason": "", + "cancellationStatus": "Cancellable", + "deletionStatus": "Allowed", + "returnReason": "", + "returnStatus": "Returnable" }, - "location": "westus", - "tags": { - "mango": "fruit", - "carrot": "vegetable" + "addressDetails": { + "shippingAddress": { + "contactDetails": { + "contactName": "first", + "phone": "11111" + } + } }, - "name": "TestOrderName1", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", - "type": "Microsoft.EdgeOrder/orders" - } + "startTime": "0001-01-01T05:30:00+05:30", + "orderCollectionId": "" + }, + "location": "westus", + "tags": { + "mango": "fruit", + "carrot": "vegetable" + }, + "name": "TestOrderName1", + "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", + "type": "Microsoft.EdgeOrder/orders" } } - } \ No newline at end of file + } +} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json index 94a172c508af..5a6faa36c101 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetByRG.json @@ -47,10 +47,10 @@ }, "addressDetails": { "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } + "contactDetails": { + "contactName": "first", + "phone": "11111" + } } }, "startTime": "0001-01-01T05:30:00+05:30", @@ -61,7 +61,6 @@ "mango": "fruit", "carrot": "vegetable" }, - "name": "TestOrderName1", "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1", "type": "Microsoft.EdgeOrder/orders" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json index 51327b83c884..a45a5a8f56b5 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderGetBySubscription.json @@ -46,11 +46,11 @@ }, "addressDetails": { "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } + "contactDetails": { + "contactName": "first", + "phone": "11111" } + } }, "startTime": "0001-01-01T05:30:00+05:30", "orderCollectionId": "" diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json index f5eec57d8e05..caa050cf6d01 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderReturn.json @@ -21,9 +21,7 @@ } }, "responses": { - "200": { - }, - "202": { - } + "200": {}, + "202": {} } } diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json index 06cbe6811b93..6cc662736e46 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/OrderUpdate.json @@ -17,14 +17,14 @@ "268" ], "orderUpdateParameter": { - "properties": { - "preferences": { - "transportPreferences": { - "preferredShipmentType": "CustomerManaged" + "properties": { + "preferences": { + "transportPreferences": { + "preferredShipmentType": "CustomerManaged" } } }, - "tags": { + "tags": { "pigeon": "bird", "tiger": "animal", "ant": "insect" @@ -66,10 +66,10 @@ }, "addressDetails": { "shippingAddress": { - "contactDetails": { - "contactName": "first", - "phone": "11111" - } + "contactDetails": { + "contactName": "first", + "phone": "11111" + } } }, "startTime": "0001-01-01T05:30:00+05:30", @@ -86,7 +86,6 @@ "type": "Microsoft.EdgeOrder/orders" } }, - "202": { - } + "202": {} } } From e4bd82500685cb6319fb1052784d218aa7d00f87 Mon Sep 17 00:00:00 2001 From: Saranya Shanmugam Date: Wed, 13 Jan 2021 22:19:32 +0530 Subject: [PATCH 12/12] changed productfamily metadata Api to post --- .../2020-12-01-preview/edgeorder.json | 68 +----------------- .../examples/GetProductFamilyMetadata.json | 71 ------------------- .../examples/ListProductFamiliesMetadata.json | 5 +- 3 files changed, 3 insertions(+), 141 deletions(-) delete mode 100644 specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json index 797513d39b55..e046b38cd682 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json @@ -246,7 +246,7 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamiliesMetadata": { - "get": { + "post": { "tags": [ "ProductFamilyMetadata" ], @@ -297,51 +297,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/productFamiliesMetadata/{productFamilyName}": { - "get": { - "tags": [ - "ProductFamilyMetadata" - ], - "description": "This method gets the product family metadata for the given subscription.", - "operationId": "GetProductFamilyMetadata", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/productFamilyNameParameter" - }, - { - "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Gets product family details under subscription.", - "schema": { - "$ref": "#/definitions/ProductFamiliesMetadataDetails" - } - }, - "default": { - "description": "Error response describing reason for operation failure.", - "schema": { - "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "GetProductFamilyMetadata": { - "$ref": "./examples/GetProductFamilyMetadata.json" - } - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orderCollections": { "get": { "tags": [ @@ -2717,25 +2672,14 @@ "ProductFamiliesMetadataDetails": { "description": "Product families metadata details.", "type": "object", - "allOf": [ - { - "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], "properties": { "properties": { "$ref": "#/definitions/ProductFamilyProperties", "description": "Product family properties", "readOnly": true, "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and update time", - "readOnly": true } - }, - "x-ms-azure-resource": true + } }, "ProductFamiliesRequest": { "description": "The filters for showing the product families.", @@ -3102,14 +3046,6 @@ "required": true, "type": "string", "x-ms-parameter-location": "method" - }, - "productFamilyNameParameter": { - "name": "productFamilyName", - "in": "path", - "description": "The name of the product family", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" } }, "securityDefinitions": { diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json deleted file mode 100644 index 893641a4e4dc..000000000000 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/GetProductFamilyMetadata.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f", - "productFamilyName": "azurestackedge", - "api-version": "2020-12-01-preview", - "User-Agent": [ - "vscode-restclient" - ], - "Referer": [ - "https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge?api-version=2020-12-01-preview" - ] - }, - "responses": { - "200": { - "body": { - "properties": { - "displayName": "Azure Stack Edge", - "description": { - "descriptionType": "Base", - "keywords": [], - "attributes": [], - "links": [] - }, - "imageInformation": [], - "costInformation": { - "primaryMeterType": "ServiceFee", - "meterDetails": [ - { - "meterId": "2e0bf1cf-eaeb-4dce-8b37-03e60472bf66", - "meterType": "ServiceFee", - "billingModel": { - "model": "PT1M" - } - }, - { - "meterId": "24beef08-5f0a-4a1f-95fc-82d21a85a589", - "meterType": "ShippingFee", - "billingModel": { - "model": "PT0H" - } - }, - { - "meterId": "aa9e6a15-419f-482b-a890-fd60d4727955", - "meterType": "LostOrDamagedFee", - "billingModel": { - "model": "PT0H" - } - } - ] - }, - "availabilityInformation": { - "availabilityStage": "Available", - "disabledReason": "None" - }, - "filterableProperties": [ - { - "type": "ShipToCountries", - "supportedValues": [ - "US", - "UK" - ] - } - ] - }, - "name": "azurestackedge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", - "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" - } - } - } -} diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json index 71feca9901fd..378eb86bc97d 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/ListProductFamiliesMetadata.json @@ -62,10 +62,7 @@ ] } ] - }, - "name": "azurestackedge", - "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/productFamiliesMetadata/azurestackedge", - "type": "Microsoft.EdgeOrder/ProductFamiliesMetadata" + } } ] }