diff --git a/Microsoft.Compute/2014-01-01/swagger/service.json b/Microsoft.Compute/2014-01-01/swagger/service.json deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/Microsoft.Compute/2014-01-01/swagger/service.yaml b/Microsoft.Compute/2014-01-01/swagger/service.yaml deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/Microsoft.Compute/2015-06-15/swagger/service.json b/Microsoft.Compute/2015-06-15/swagger/service.json new file mode 100644 index 000000000000..b3bcabde903a --- /dev/null +++ b/Microsoft.Compute/2015-06-15/swagger/service.json @@ -0,0 +1,2621 @@ +{ + "swagger": "2.0", + "info": { + "title": "ComputeManagementClient", + "version": "2015-06-15" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}": { + "delete": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_Delete", + "description": "The operation to delete the availability set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "availabilitySetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the availability set." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + } + } + }, + "get": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_Get", + "description": "The operation to get the availability set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "availabilitySetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the availability set." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets": { + "get": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_List", + "description": "The operation to list the availability sets.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/AvailabilitySetListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes": { + "get": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_ListAvailableSizes", + "description": "Lists virtual-machine-sizes available to be used for an availability set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "availabilitySetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the availability set." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{name}": { + "put": { + "tags": [ + "AvailabilitySets" + ], + "operationId": "AvailabilitySets_CreateOrUpdate", + "description": "The operation to create or update the availability set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "Parameters supplied to the Create Availability Set operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AvailabilitySet" + }, + "description": "Parameters supplied to the Create Availability Set operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/AvailabilitySet" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}": { + "get": { + "tags": [ + "VirtualMachineImages" + ], + "operationId": "VirtualMachineImages_Get", + "description": "Gets a virtual machine image.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "offer", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "skus", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineImage" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers": { + "get": { + "tags": [ + "VirtualMachineImages" + ], + "operationId": "VirtualMachineImages_ListOffers", + "description": "Gets a list of virtual machine image offers.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers": { + "get": { + "tags": [ + "VirtualMachineImages" + ], + "operationId": "VirtualMachineImages_ListPublishers", + "description": "Gets a list of virtual machine image publishers.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus": { + "get": { + "tags": [ + "VirtualMachineImages" + ], + "operationId": "VirtualMachineImages_ListSkus", + "description": "Gets a list of virtual machine image skus.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "offer", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions": { + "get": { + "tags": [ + "VirtualMachineImages" + ], + "operationId": "VirtualMachineImages_List", + "description": "Gets a list of virtual machine images.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "offer", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "skus", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + }, + "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": { + "get": { + "tags": [ + "VirtualMachineExtensionImages" + ], + "operationId": "VirtualMachineExtensionImages_Get", + "description": "Gets a virtual machine extension image.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "type", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineExtensionImage" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions": { + "get": { + "tags": [ + "VirtualMachineExtensionImages" + ], + "operationId": "VirtualMachineExtensionImages_ListVersions", + "description": "Gets a list of virtual machine extension image versions.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "type", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$orderby", + "in": "query", + "required": false, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + }, + "x-ms-odata": "#/definitions/VirtualMachineImageResource" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types": { + "get": { + "tags": [ + "VirtualMachineExtensionImages" + ], + "operationId": "VirtualMachineExtensionImages_ListTypes", + "description": "Gets a list of virtual machine extension image types.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineImageResource" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}": { + "put": { + "tags": [ + "VirtualMachineExtensions" + ], + "operationId": "VirtualMachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine where the extension should be create or updated." + }, + { + "name": "vmExtensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineExtension" + }, + "description": "Parameters supplied to the Create Virtual Machine Extension operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineExtension" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineExtension" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "VirtualMachineExtensions" + ], + "operationId": "VirtualMachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine where the extension should be deleted." + }, + { + "name": "vmExtensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine extension." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "200": { + "description": "" + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualMachineExtensions" + ], + "operationId": "VirtualMachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine containing the extension." + }, + { + "name": "vmExtensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Name of the property to expand. Allowed value is null or 'instanceView'." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineExtension" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usage_List", + "description": "Lists compute usages for a subscription.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which resource usage is queried." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Lists virtual-machine-sizes available in a location for a subscription.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Capture", + "description": "Captures the VM by copying VirtualHardDisks of the VM and outputs a template that can be used to create similar VMs.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineCaptureParameters" + }, + "description": "Parameters supplied to the Capture Virtual Machine operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ComputeLongRunningOperationResult" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}": { + "put": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_CreateOrUpdate", + "description": "The operation to create or update a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachine" + }, + "description": "Parameters supplied to the Create Virtual Machine operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Delete", + "description": "The operation to delete a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Get", + "description": "The operation to get a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Name of the property to expand. Allowed value is null or 'instanceView'." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Deallocate", + "description": "Shuts down the Virtual Machine and releases the compute resources. You are not billed for the compute resources that this Virtual Machine uses.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Generalize", + "description": "Sets the state of the VM as Generalized.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_List", + "description": "The operation to list virtual machines under a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListAll", + "description": "Gets the list of Virtual Machines in the subscription. Use nextLink property in the response to get the next page of Virtual Machines. Do this till nextLink is not null to fetch all the Virtual Machines.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes": { + "get": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_ListAvailableSizes", + "description": "Lists virtual-machine-sizes available to be used for a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/powerOff": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_PowerOff", + "description": "The operation to power off (stop) a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Restart", + "description": "The operation to restart a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/start": { + "post": { + "tags": [ + "VirtualMachines" + ], + "operationId": "VirtualMachines_Start", + "description": "The operation to start a virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "InstanceViewStatus": { + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the status Code." + }, + "level": { + "type": "string", + "description": "Gets or sets the level Code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": "StatusLevelTypes" + }, + "displayStatus": { + "type": "string", + "description": "Gets or sets the short localizable label for the status." + }, + "message": { + "type": "string", + "description": "Gets or sets the optional detailed Message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the time of the status." + } + }, + "description": "Instance view status." + }, + "AvailabilitySetProperties": { + "properties": { + "platformUpdateDomainCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets Update Domain count." + }, + "platformFaultDomainCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets Fault Domain count." + }, + "virtualMachines": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets or sets a list containing reference to all Virtual Machines created under this Availability Set." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of a resource." + }, + "AvailabilitySet": { + "properties": { + "properties": { + "$ref": "#/definitions/AvailabilitySetProperties" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "Create or update Availability Set parameters." + }, + "AvailabilitySetListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailabilitySet" + }, + "description": "Gets or sets the list of availability sets" + } + }, + "description": "The List Availability Set operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the VM size name." + }, + "numberOfCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Number of cores supported by a VM size." + }, + "osDiskSizeInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the OS disk size allowed by a VM size." + }, + "resourceDiskSizeInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Resource disk size allowed by a VM size." + }, + "memoryInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Memory size supported by a VM size." + }, + "maxDataDiskCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Maximum number of data disks allowed by a VM size." + } + }, + "description": "Describes the properties of a VM size." + }, + "VirtualMachineSizeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "Gets or sets the list of virtual machine sizes." + } + }, + "description": "The List Virtual Machine operation response." + }, + "PurchasePlan": { + "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets the publisher ID." + }, + "name": { + "type": "string", + "description": "Gets or sets the plan ID." + }, + "product": { + "type": "string", + "description": "Gets or sets the product ID." + } + }, + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "OSDiskImage": { + "properties": { + "operatingSystem": { + "type": "string", + "description": "Gets or sets the operating system of the osDiskImage.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": "OperatingSystemTypes" + } + }, + "description": "Contains the os disk image information." + }, + "DataDiskImage": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "Gets the LUN number for a data disk.This value is used to identify data disk image inside the VMImage therefore it must be unique for each data disk.The allowed character for the value is digit." + } + }, + "description": "Contains the data disk images information." + }, + "VirtualMachineImageProperties": { + "properties": { + "plan": { + "$ref": "#/definitions/PurchasePlan" + }, + "osDiskImage": { + "$ref": "#/definitions/OSDiskImage" + }, + "dataDiskImages": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImage" + } + } + }, + "description": "Describes the properties of a Virtual Machine Image." + }, + "VirtualMachineImage": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineImageProperties" + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Describes a Virtual Machine Image." + }, + "VirtualMachineImageResource": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Virtual machine image resource information." + }, + "VirtualMachineExtensionImageProperties": { + "properties": { + "operatingSystem": { + "type": "string", + "description": "Gets or sets the operating system this extension supports." + }, + "computeRole": { + "type": "string", + "description": "Gets or sets the type of role (IaaS or PaaS) this extension supports." + }, + "handlerSchema": { + "type": "string", + "description": "Gets or sets the schema defined by publisher, where extension consumers should provide settings in a matching schema." + }, + "vmScaleSetEnabled": { + "type": "boolean", + "description": "Gets or sets whether the extension can be used on xRP VMScaleSets.By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS." + }, + "supportsMultipleExtensions": { + "type": "boolean", + "description": "Gets or sets whether the handler can support multiple extensions." + } + }, + "description": "Describes the properties of a Virtual Machine Extension Image." + }, + "VirtualMachineExtensionImage": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionImageProperties" + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Describes a Virtual Machine Extension Image." + }, + "VirtualMachineExtensionInstanceView": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the virtual machine extension name." + }, + "type": { + "type": "string", + "description": "Gets or sets the full type of the extension handler which includes both publisher and type." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Gets or sets the type version of the extension handler." + }, + "substatuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets the name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the extension handler." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Gets or sets the type version of the extension handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions." + }, + "settings": { + "type": "object", + "description": "Gets or sets Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "Gets or sets Json formatted protected settings for the extension." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView", + "description": "Gets or sets the virtual machine extension instance view." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineExtension": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "Describes a Virtual Machine Extension." + }, + "UsageName": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets a string describing the resource name." + }, + "localizedValue": { + "type": "string", + "description": "Gets or sets a localized string describing the resource name." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "properties": { + "unit": { + "type": "string", + "description": "Gets or sets an enum describing the unit of measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": "UsageUnit" + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the current value of the usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the limit of usage." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "Gets or sets the name of the type of usage." + } + }, + "description": "Describes Compute Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "Gets or sets the list Compute Resource Usages." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineCaptureParameters": { + "properties": { + "vhdPrefix": { + "type": "string", + "description": "Gets or sets the captured VirtualHardDisk's name prefix." + }, + "destinationContainerName": { + "type": "string", + "description": "Gets or sets the destination container name." + }, + "overwriteVhds": { + "type": "boolean", + "description": "Gets or sets whether it overwrites destination VirtualHardDisk if true, in case of conflict." + } + }, + "description": "Capture Virtual Machine parameters." + }, + "ComputeLongRunningOperationProperties": { + "properties": { + "output": { + "type": "object", + "description": "Operation output data (raw JSON)" + } + }, + "description": "Compute-specific operation properties, including output" + }, + "ApiErrorBase": { + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the particular error." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Api error base." + }, + "InnerError": { + "properties": { + "exceptiontype": { + "type": "string", + "description": "Gets or sets the exception type." + }, + "errordetail": { + "type": "string", + "description": "Gets or sets the internal error message or exception dump." + } + }, + "description": "Inner error details." + }, + "ApiError": { + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ApiErrorBase" + }, + "description": "Gets or sets the Api error details" + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "Gets or sets the Api inner error" + }, + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the particular error." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Api error." + }, + "ComputeLongRunningOperationResult": { + "properties": { + "operationId": { + "type": "string", + "description": "Gets the operation identifier." + }, + "status": { + "type": "string", + "description": "Gets the operation status.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "Preempted" + ], + "x-ms-enum": "ComputeOperationStatus" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the operation start time" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the operation end time" + }, + "properties": { + "$ref": "#/definitions/ComputeLongRunningOperationProperties" + }, + "error": { + "$ref": "#/definitions/ApiError", + "description": "Gets the operation error, if any occurred." + } + }, + "description": "The Compute service response for long-running operations." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the plan ID." + }, + "publisher": { + "type": "string", + "description": "Gets or sets the publisher ID." + }, + "product": { + "type": "string", + "description": "Gets or sets the offer ID." + }, + "promotionCode": { + "type": "string", + "description": "Gets or sets the promotion code." + } + }, + "description": "Plan for the resource." + }, + "HardwareProfile": { + "properties": { + "vmSize": { + "type": "string", + "description": "The virtual machine size name.", + "enum": [ + "Basic_A0", + "Basic_A1", + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A0", + "Standard_A1", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5" + ], + "x-ms-enum": "VirtualMachineSizeTypes" + } + }, + "description": "Describes a hardware profile." + }, + "ImageReference": { + "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets the image publisher." + }, + "offer": { + "type": "string", + "description": "Gets or sets the image offer." + }, + "sku": { + "type": "string", + "description": "Gets or sets the image sku." + }, + "version": { + "type": "string", + "description": "Gets or sets the image version. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor and Build being decimal numbers. Specify 'latest' to use the latest version of image." + } + }, + "description": "The image reference." + }, + "VirtualHardDisk": { + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the virtual hard disk's uri. It should be a valid Uri to a virtual hard disk." + } + }, + "description": "Describes the uri of a disk." + }, + "OSDisk": { + "properties": { + "osType": { + "type": "string", + "description": "Gets or sets the Operating System type.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": "OperatingSystemTypes" + }, + "name": { + "type": "string", + "description": "Gets or sets the disk name." + }, + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Virtual Hard Disk." + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." + }, + "caching": { + "type": "string", + "description": "Gets or sets the caching type.", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": "CachingTypes" + }, + "createOption": { + "type": "string", + "description": "Gets or sets the create option.", + "enum": [ + "fromImage", + "empty", + "attach" + ], + "x-ms-enum": "DiskCreateOptionTypes" + } + }, + "description": "Describes an Operating System disk." + }, + "DataDisk": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the logical unit number." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the disk size in GB for a blank data disk to be created." + }, + "name": { + "type": "string", + "description": "Gets or sets the disk name." + }, + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Virtual Hard Disk." + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." + }, + "caching": { + "type": "string", + "description": "Gets or sets the caching type.", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": "CachingTypes" + }, + "createOption": { + "type": "string", + "description": "Gets or sets the create option.", + "enum": [ + "fromImage", + "empty", + "attach" + ], + "x-ms-enum": "DiskCreateOptionTypes" + } + }, + "description": "Describes a data disk." + }, + "StorageProfile": { + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Gets or sets the image reference." + }, + "osDisk": { + "$ref": "#/definitions/OSDisk", + "description": "Gets or sets the OS disk." + }, + "dataDisks": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + }, + "description": "Gets or sets the data disks." + } + }, + "description": "Describes a storage profile." + }, + "AdditionalUnattendContent": { + "properties": { + "passName": { + "type": "string", + "description": "Gets or sets the pass name. Currently, the only allowable value is oobeSystem.", + "enum": [ + "oobeSystem" + ], + "x-ms-enum": "PassNames" + }, + "componentName": { + "type": "string", + "description": "Gets or sets the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ], + "x-ms-enum": "ComponentNames" + }, + "settingName": { + "type": "string", + "description": "Gets or sets setting name (e.g. FirstLogonCommands, AutoLogon )", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ], + "x-ms-enum": "SettingNames" + }, + "content": { + "type": "string", + "description": "Gets or sets XML formatted content that is added to the unattend.xml file in the specified pass and component.The XML must be less than 4 KB and must include the root element for the setting or feature that is being inserted." + } + }, + "description": "Gets or sets additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is a applied." + }, + "WinRMListener": { + "properties": { + "protocol": { + "type": "string", + "description": "Gets or sets the Protocol used by WinRM listener. Currently only Http and Https are supported.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": "ProtocolTypes" + }, + "certificateUrl": { + "type": "string", + "description": "Gets or sets the Certificate URL in KMS for Https listeners. Should be null for Http listeners." + } + }, + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + }, + "WinRMConfiguration": { + "properties": { + "listeners": { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + }, + "description": "Gets or sets the list of Windows Remote Management listeners" + } + }, + "description": "Describes Windows Remote Management configuration of the VM" + }, + "WindowsConfiguration": { + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Gets or sets whether VM Agent should be provisioned on the Virtual Machine." + }, + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Gets or sets whether Windows updates are automatically installed on the VM" + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the Time Zone of the VM" + }, + "additionalUnattendContent": { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + }, + "description": "Gets or sets the additional base-64 encoded XML formatted information that can be included in the Unattend.xml file." + }, + "winRM": { + "$ref": "#/definitions/WinRMConfiguration", + "description": "Gets or sets the Windows Remote Management configuration of the VM" + } + }, + "description": "Describes Windows Configuration of the OS Profile." + }, + "SshPublicKey": { + "properties": { + "path": { + "type": "string", + "description": "Gets or sets the full path on the created VM where SSH public key is stored. If the file already exists, the specified key is appended to the file." + }, + "keyData": { + "type": "string", + "description": "Gets or sets Certificate public key used to authenticate with VM through SSH.The certificate must be in Pem format with or without headers." + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshConfiguration": { + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "description": "Gets or sets the list of SSH public keys used to authenticate with linux based VMs" + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "LinuxConfiguration": { + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Gets or sets whether Authentication using user name and password is allowed or not" + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Gets or sets the SSH configuration for linux VMs" + } + }, + "description": "Describes Windows Configuration of the OS Profile." + }, + "VaultCertificate": { + "properties": { + "certificateUrl": { + "type": "string", + "description": "Gets or sets the URL referencing a secret in a Key Vault which contains a properly formatted certificate." + }, + "certificateStore": { + "type": "string", + "description": "Gets or sets the Certificate store in LocalMachine to add the certificate to on Windows, leave empty on Linux." + } + }, + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "properties": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the Relative URL of the Key Vault containing all of the certificates in VaultCertificates." + }, + "vaultCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + }, + "description": "Gets or sets the list of key vault references in SourceVault which contain certificates" + } + }, + "description": "Describes a set of certificates which are all in the same Key Vault." + }, + "OSProfile": { + "properties": { + "computerName": { + "type": "string", + "description": "Gets or sets the computer name." + }, + "adminUsername": { + "type": "string", + "description": "Gets or sets the admin user name." + }, + "adminPassword": { + "type": "string", + "description": "Gets or sets the admin user password." + }, + "customData": { + "type": "string", + "description": "Gets or sets a base-64 encoded string of custom data." + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Gets or sets the Windows Configuration of the OS profile." + }, + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Gets or sets the Linux Configuration of the OS profile." + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "description": "Gets or sets the List of certificates for addition to the VM." + } + }, + "description": "Describes an OS profile." + }, + "NetworkInterfaceReferenceProperties": { + "properties": { + "primary": { + "type": "boolean", + "description": "Gets or sets whether this is a primary NIC on a virtual machine" + } + }, + "description": "Describes a network interface reference properties." + }, + "NetworkInterfaceReference": { + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Describes a network interface reference." + }, + "NetworkProfile": { + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + }, + "description": "Gets or sets the network interfaces." + } + }, + "description": "Describes a network profile." + }, + "VirtualMachineExtensionHandlerInstanceView": { + "properties": { + "type": { + "type": "string", + "description": "Gets or sets full type of the extension handler which includes both publisher and type." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Gets or sets the type version of the extension handler." + }, + "status": { + "$ref": "#/definitions/InstanceViewStatus", + "description": "Gets or sets the extension handler status." + } + }, + "description": "The instance view of a virtual machine extension handler." + }, + "VirtualMachineAgentInstanceView": { + "properties": { + "vmAgentVersion": { + "type": "string", + "description": "Gets or sets the VM Agent full version." + }, + "extensionHandlers": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtensionHandlerInstanceView" + }, + "description": "Gets or sets the virtual machine extension handler instance view." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of the VM Agent running on the virtual machine." + }, + "DiskInstanceView": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the disk name." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of the disk." + }, + "VirtualMachineInstanceView": { + "properties": { + "platformUpdateDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Update Domain count." + }, + "platformFaultDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Fault Domain count." + }, + "rdpThumbPrint": { + "type": "string", + "description": "Gets or sets the Remote desktop certificate thumbprint." + }, + "vmAgent": { + "$ref": "#/definitions/VirtualMachineAgentInstanceView", + "description": "Gets or sets the VM Agent running on the virtual machine." + }, + "disks": { + "type": "array", + "items": { + "$ref": "#/definitions/DiskInstanceView" + }, + "description": "Gets or sets the the disks information." + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + "description": "Gets or sets the extensions information." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of a virtual machine." + }, + "VirtualMachineProperties": { + "properties": { + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Gets or sets the hardware profile." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Gets or sets the storage profile." + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Gets or sets the OS profile." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Gets or sets the network profile." + }, + "availabilitySet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference Id of the availailbity set to which this virtual machine belongs." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineInstanceView", + "description": "Gets the virtual machine instance view." + } + }, + "description": "Describes the properties of a Virtual Machine." + }, + "VirtualMachine": { + "properties": { + "plan": { + "$ref": "#/definitions/Plan", + "description": "Gets or sets the purchase plan when deploying virtual machine from VM Marketplace images." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineProperties" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + }, + "description": "Gets the virtual machine child extension resources." + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "Describes a Virtual Machine." + }, + "VirtualMachineListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachine" + }, + "description": "Gets or sets the list of virtual machines." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the uri to fetch the next page of VMs. Call ListNext() with this to fetch the next page of Virtual Machines." + } + }, + "description": "The List Virtual Machine operation response." + }, + "DeleteOperationResult": { + "properties": { + "operationId": { + "type": "string", + "description": "Gets the operation identifier." + }, + "status": { + "type": "string", + "description": "Gets the operation status.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": "OperationStatus" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the operation start time" + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the operation end time" + }, + "error": { + "$ref": "#/definitions/ApiError", + "description": "Gets or sets the operation error if any occurred" + } + }, + "description": "The compute long running operation response." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Network/2015-05-01-preview/swagger/service.json b/Microsoft.Network/2015-05-01-preview/swagger/service.json new file mode 100644 index 000000000000..34d264896ce9 --- /dev/null +++ b/Microsoft.Network/2015-05-01-preview/swagger/service.json @@ -0,0 +1,4429 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkResourceProviderClient", + "version": "2015-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": { + "delete": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Delete", + "description": "The delete applicationgateway operation deletes the specified applicationgateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the applicationgateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "202": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Get", + "description": "The Get applicationgateway operation retreives information about the specified applicationgateway.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the applicationgateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + } + }, + "put": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_CreateOrUpdate", + "description": "The Put ApplicationGateway operation creates/updates a ApplicationGateway", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ApplicationGateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGateway" + }, + "description": "Parameters supplied to the create/delete ApplicationGateway operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_List", + "description": "The List ApplicationGateway opertion retrieves all the applicationgateways in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": { + "get": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_ListAll", + "description": "The List applicationgateway opertion retrieves all the applicationgateways in a subscription.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Start", + "description": "The Start ApplicationGateway operation starts application gatewayin the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": { + "post": { + "tags": [ + "ApplicationGateways" + ], + "operationId": "ApplicationGateways_Stop", + "description": "The STOP ApplicationGateway operation stops application gatewayin the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "applicationGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the application gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": { + "delete": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_Delete", + "description": "The delete loadbalancer operation deletes the specified loadbalancer.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the loadBalancer." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_Get", + "description": "The Get ntework interface operation retreives information about the specified network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the loadBalancer." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + } + } + }, + "put": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_CreateOrUpdate", + "description": "The Put LoadBalancer operation creates/updates a LoadBalancer", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "loadBalancerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the loadBalancer." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LoadBalancer" + }, + "description": "Parameters supplied to the create/delete LoadBalancer operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LoadBalancer" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_ListAll", + "description": "The List loadBalancer opertion retrieves all the loadbalancers in a subscription.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": { + "get": { + "tags": [ + "LoadBalancers" + ], + "operationId": "LoadBalancers_List", + "description": "The List loadBalancer opertion retrieves all the loadbalancers in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { + "put": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_CreateOrUpdate", + "description": "The Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "description": "Parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_Get", + "description": "The Get LocalNetworkGateway operation retrieves information about the specified local network gateway through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}/": { + "delete": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_Delete", + "description": "The Delete LocalNetworkGateway operation deletes the specifed local network Gateway through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "localNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the local network gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "204": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { + "get": { + "tags": [ + "LocalNetworkGateways" + ], + "operationId": "LocalNetworkGateways_List", + "description": "The List LocalNetworkGateways opertion retrieves all the local network gateways stored.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/LocalNetworkGatewayListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": { + "delete": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Delete", + "description": "The delete netwokInterface operation deletes the specified netwokInterface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Get", + "description": "The Get ntework interface operation retreives information about the specified network interface.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + } + }, + "put": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_CreateOrUpdate", + "description": "The Put NetworkInterface operation creates/updates a networkInterface", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network interface." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "Parameters supplied to the create/update NetworkInterface operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_ListAll", + "description": "The List networkInterfaces opertion retrieves all the networkInterfaces in a subscription.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_List", + "description": "The List networkInterfaces opertion retrieves all the networkInterfaces in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": { + "delete": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_Delete", + "description": "The Delete NetworkSecurityGroup operation deletes the specifed network security group", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "202": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_Get", + "description": "The Get NetworkSecurityGroups operation retrieves information about the specified network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + } + } + }, + "put": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "description": "The Put NetworkSecurityGroup operation creates/updates a network security groupin the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + }, + "description": "Parameters supplied to the create/update Network Security Group operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroup" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_ListAll", + "description": "The list NetworkSecurityGroups returns all network security groups in a subscription", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "tags": [ + "NetworkSecurityGroups" + ], + "operationId": "NetworkSecurityGroups_List", + "description": "The list NetworkSecurityGroups returns all network security groups in a resource group", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/": { + "delete": { + "tags": [ + "PublicIpAddresses" + ], + "operationId": "PublicIpAddresses_Delete", + "description": "The delete publicIpAddress operation deletes the specified publicIpAddress.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "204": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "PublicIpAddresses" + ], + "operationId": "PublicIpAddresses_Get", + "description": "The Get publicIpAddress operation retreives information about the specified pubicIpAddress", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/PublicIpAddress" + } + } + } + }, + "put": { + "tags": [ + "PublicIpAddresses" + ], + "operationId": "PublicIpAddresses_CreateOrUpdate", + "description": "The Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "publicIpAddressName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the publicIpAddress." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIpAddress" + }, + "description": "Parameters supplied to the create/update PublicIPAddress operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/PublicIpAddress" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/PublicIpAddress" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "tags": [ + "PublicIpAddresses" + ], + "operationId": "PublicIpAddresses_ListAll", + "description": "The List publicIpAddress opertion retrieves all the publicIpAddresses in a subscription.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/PublicIpAddressListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "tags": [ + "PublicIpAddresses" + ], + "operationId": "PublicIpAddresses_List", + "description": "The List publicIpAddress opertion retrieves all the publicIpAddresses in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/PublicIpAddressListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": { + "delete": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_Delete", + "description": "The delete network security rule operation deletes the specified network security rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + }, + "204": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_Get", + "description": "The Get NetworkSecurityRule operation retreives information about the specified network security rule.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + } + } + }, + "put": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_CreateOrUpdate", + "description": "The Put network security rule operation creates/updates a security rule in the specified network security group", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "name": "securityRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the security rule." + }, + { + "name": "securityRuleParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "Parameters supplied to the create/update network security rule operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SecurityRule" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": { + "get": { + "tags": [ + "SecurityRules" + ], + "operationId": "SecurityRules_List", + "description": "The List network security rule opertion retrieves all the security rules in a network security group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "networkSecurityGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SecurityRuleListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets/{subnetName}": { + "delete": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_Delete", + "description": "The delete subnet operation deletes the specified subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "202": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_Get", + "description": "The Get subnet operation retreives information about the specified subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Subnet" + } + } + } + }, + "put": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_CreateOrUpdate", + "description": "The Put Subnet operation creates/updates a subnet in thespecified virtual network", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "name": "subnetParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Subnet" + }, + "description": "Parameters supplied to the create/update Subnet operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Subnet" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/Subnet" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}/subnets": { + "get": { + "tags": [ + "Subnets" + ], + "operationId": "Subnets_List", + "description": "The List subnets opertion retrieves all the subnets in a virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SubnetListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": { + "get": { + "tags": [ + "Usages" + ], + "operationId": "Usages_List", + "description": "Lists compute usages for a subscription.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which resource usage is queried." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { + "put": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate", + "description": "The Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway conenction." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + }, + "description": "Parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_Get", + "description": "The Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/": { + "delete": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_Delete", + "description": "The Delete VirtualNetworkGatewayConnection operation deletes the specifed virtual network Gateway connection through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway connection." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "202": { + "description": "" + }, + "204": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_GetSharedKey", + "description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection shared key name." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + } + } + }, + "put": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_SetSharedKey", + "description": "The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + }, + "description": "Parameters supplied to the Begin Set Virtual Network Gateway conection Shared key operation throughNetwork resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": { + "get": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_List", + "description": "The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": { + "post": { + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "operationId": "VirtualNetworkGatewayConnections_ResetSharedKey", + "description": "The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The virtual network gateway connection reset shared key Name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + }, + "description": "Parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + } + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworkgateways/{virtualNetworkGatewayName}": { + "put": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "description": "The Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "description": "Parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Get", + "description": "The Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/": { + "delete": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Delete", + "description": "The Delete VirtualNetworkGateway operation deletes the specifed virtual network Gateway through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + }, + "204": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { + "get": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_List", + "description": "The List VirtualNetworkGateways opertion retrieves all the virtual network gateways stored.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworkgateways/{virtualNetworkGatewayName}/reset": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_Reset", + "description": "The Reset VirtualNetworkGateway operation resets the primary of the virtual network gatewayin the specified resource group through Network resource provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "description": "Parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks/{virtualNetworkName}": { + "delete": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_Delete", + "description": "The Delete VirtualNetwork operation deletes the specifed virtual network", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_Get", + "description": "The Get VirtualNetwork operation retrieves information about the specified virtual network.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + } + }, + "put": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_CreateOrUpdate", + "description": "The Put VirtualNetwork operation creates/updates a virtual network in the specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetwork" + }, + "description": "Parameters supplied to the create/update Virtual Network operation" + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualnetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_ListAll", + "description": "The list VirtualNetwork returns all Virtual Networks in a subscription", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualnetworks": { + "get": { + "tags": [ + "VirtualNetworks" + ], + "operationId": "VirtualNetworks_List", + "description": "The list VirtualNetwork returns all Virtual Networks in a resource group", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": { + "get": { + "operationId": "CheckDnsNameAvailability", + "description": "Checks whether a domain name in the cloudapp.net zone is available for use.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the domain name" + }, + { + "name": "domainNameLabel", + "in": "query", + "required": false, + "type": "string", + "description": "The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DnsNameAvailabilityResult" + } + } + } + } + } + }, + "definitions": { + "ApplicationGatewaySku": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets name of application gateway SKU", + "enum": [ + "Standard_Small", + "Standard_Medium", + "Standard_Large" + ], + "x-ms-enum": "ApplicationGatewaySkuName" + }, + "tier": { + "type": "string", + "description": "Gets or sets tier of application gateway", + "enum": [ + "Standard" + ], + "x-ms-enum": "ApplicationGatewayTier" + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Gets or sets capacity (instance count) of application gateway" + } + }, + "description": "SKU of application gateway" + }, + "ApplicationGatewayIpConfigurationPropertiesFormat": { + "properties": { + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the subnet resource.A subnet from where appliation gateway gets its private address " + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the application gateway subnet resource Updating/Deleting/Failed" + } + }, + "description": "Properties of IP configuration of application gateway" + }, + "ApplicationGatewayIpConfiguration": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayIpConfigurationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "IP configuration of application gateway" + }, + "ApplicationGatewaySslCertificatePropertiesFormat": { + "properties": { + "data": { + "type": "string", + "description": "Gets or sets the certificate data " + }, + "password": { + "type": "string", + "description": "Gets or sets the certificate password " + }, + "publicCertData": { + "type": "string", + "description": "Gets or sets the certificate public data " + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the ssl certificate resource Updating/Deleting/Failed" + } + }, + "description": "Properties of SSL certificates of application gateway" + }, + "ApplicationGatewaySslCertificate": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "SSL certificates of application gateway" + }, + "ApplicationGatewayFrontendIpConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "Gets or sets the privateIPAddress of the Network Interface IP Configuration" + }, + "privateIPAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": "IpAllocationMethod" + }, + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the subnet resource" + }, + "publicIPAddress": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the PublicIP resource" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Frontend IP configuration of application gateway" + }, + "ApplicationGatewayFrontendIpConfiguration": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayFrontendIpConfigurationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Frontend IP configuration of application gateway" + }, + "ApplicationGatewayFrontendPortPropertiesFormat": { + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the frontend port" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the frontend port resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Frontend Port of application gateway" + }, + "ApplicationGatewayFrontendPort": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Frontend Port of application gateway" + }, + "ApplicationGatewayBackendAddress": { + "properties": { + "fqdn": { + "type": "string", + "description": "Gets or sets the dns name" + }, + "ipAddress": { + "type": "string", + "description": "Gets or sets the ip address" + } + }, + "description": "Backend Address of application gateway" + }, + "ApplicationGatewayBackendAddressPoolPropertiesFormat": { + "properties": { + "backendIpConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets or sets backendIpConfiguration of application gateway " + }, + "backendAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendAddress" + }, + "description": "Gets or sets the backend addresses" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the backend address pool resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Backend Address Pool of application gateway" + }, + "ApplicationGatewayBackendAddressPool": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Backend Address Pool of application gateway" + }, + "ApplicationGatewayBackendHttpSettingsPropertiesFormat": { + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the port" + }, + "protocol": { + "type": "string", + "description": "Gets or sets the protocol", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": "ApplicationGatewayProtocol" + }, + "cookieBasedAffinity": { + "type": "string", + "description": "Gets or sets the cookie affinity", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": "ApplicationGatewayCookieBasedAffinity" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Backend address pool settings of application gateway" + }, + "ApplicationGatewayBackendHttpSettings": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Backend address pool settings of application gateway" + }, + "ApplicationGatewayHttpListenerPropertiesFormat": { + "properties": { + "frontendIpConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets frontend IP configuration resource of application gateway " + }, + "frontendPort": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets frontend port resource of application gateway " + }, + "protocol": { + "type": "string", + "description": "Gets or sets the protocol", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": "ApplicationGatewayProtocol" + }, + "sslCertificate": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets ssl certificate resource of application gateway " + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the http listener resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Http listener of application gateway" + }, + "ApplicationGatewayHttpListener": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Http listener of application gateway" + }, + "ApplicationGatewayRequestRoutingRulePropertiesFormat": { + "properties": { + "ruleType": { + "type": "string", + "description": "Gets or sets the rule type", + "enum": [ + "Basic" + ], + "x-ms-enum": "ApplicationGatewayRequestRoutingRuleType" + }, + "backendAddressPool": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets backend address pool resource of application gateway " + }, + "backendHttpSettings": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets frontend port resource of application gateway " + }, + "httpListener": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets http listener resource of application gateway " + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the request routing rule resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Request routing rule of application gateway" + }, + "ApplicationGatewayRequestRoutingRule": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Request routing rule of application gateway" + }, + "ApplicationGatewayPropertiesFormat": { + "properties": { + "sku": { + "$ref": "#/definitions/ApplicationGatewaySku", + "description": "Gets or sets sku of application gateway resource" + }, + "operationalState": { + "type": "string", + "description": "Gets operational state of application gateway resource", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping" + ], + "x-ms-enum": "ApplicationGatewayOperationalState" + }, + "gatewayIpConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayIpConfiguration" + }, + "description": "Gets or sets subnets of application gateway resource" + }, + "sslCertificates": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslCertificate" + }, + "description": "Gets or sets ssl certificates of application gateway resource" + }, + "frontendIpConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendIpConfiguration" + }, + "description": "Gets or sets frontend IP addresses of application gateway resource" + }, + "frontendPorts": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendPort" + }, + "description": "Gets or sets frontend ports of application gateway resource" + }, + "backendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPool" + }, + "description": "Gets or sets backend address pool of application gateway resource" + }, + "backendHttpSettingsCollection": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings" + }, + "description": "Gets or sets backend http settings of application gateway resource" + }, + "httpListeners": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayHttpListener" + }, + "description": "Gets or sets HTTP listeners of application gateway resource" + }, + "requestRoutingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRule" + }, + "description": "Gets or sets request routing rules of application gateway resource" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Application Gateway" + }, + "ApplicationGateway": { + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "ApplicationGateways resource" + }, + "ApplicationGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGateway" + }, + "description": "Gets a list of ApplicationGateways in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListLoadBalancers Api service call" + }, + "FrontendIpConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "Gets or sets the IP address of the Load Balancer.This is only specified if a specific private IP address shall be allocated from the subnet specified in subnetRef" + }, + "privateIPAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": "IpAllocationMethod" + }, + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the subnet resource.A subnet from wher the load balancer gets its private frontend address " + }, + "publicIPAddress": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the PublicIP resource" + }, + "inboundNatRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Read only.Inbound rules URIs that use this frontend IP" + }, + "loadBalancingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets Load Balancing rules URIs that use this frontend IP" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Frontend IP Configuration of the load balancer" + }, + "FrontendIpConfiguration": { + "properties": { + "properties": { + "$ref": "#/definitions/FrontendIpConfigurationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Frontend IP address of the load balancer" + }, + "BackendAddressPoolPropertiesFormat": { + "properties": { + "backendIPConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets collection of references to IPs defined in NICs" + }, + "loadBalancingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets Load Balancing rules that use this Backend Address Pool" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of BackendAddressPool" + }, + "BackendAddressPool": { + "properties": { + "properties": { + "$ref": "#/definitions/BackendAddressPoolPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Pool of backend IP addresseses" + }, + "LoadBalancingRulePropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets a reference to frontend IP Addresses" + }, + "backendAddressPool": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets a reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs" + }, + "probe": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the load balancer probe used by the Load Balancing rule." + }, + "protocol": { + "type": "string", + "description": "Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp", + "enum": [ + "Udp", + "Tcp" + ], + "x-ms-enum": "TransportProtocol" + }, + "loadDistribution": { + "type": "string", + "description": "Gets or sets the load distribution policy for this rule", + "enum": [ + "Default", + "SourceIP", + "SourceIPProtocol" + ], + "x-ms-enum": "LoadDistribution" + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive" + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal compotnent on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to '*' to automatically assign an unallocated port that is discoverable using the runtime API" + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This emlement is only used when the protocol is set to Tcp" + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of the load balancer" + }, + "LoadBalancingRule": { + "properties": { + "properties": { + "$ref": "#/definitions/LoadBalancingRulePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Rules of the load balancer" + }, + "ProbePropertiesFormat": { + "properties": { + "loadBalancingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets Load balancer rules that use this probe" + }, + "protocol": { + "type": "string", + "description": "Gets or sets the protocol of the end point. Possible values are http pr Tcp. If Tcp is specified, a received ACK is required for the probe to be successful. If http is specified,a 200 OK response from the specifies URI is required for the probe to be successful", + "enum": [ + "Http", + "Tcp" + ], + "x-ms-enum": "ProbeProtocol" + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Gets or sets Port for communicating the probe. Possible values range from 1 to 65535, inclusive." + }, + "intervalInSeconds": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5" + }, + "numberOfProbes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endponints to be taken out of rotation faster or slower than the typical times used in Azure. " + }, + "requestPath": { + "type": "string", + "description": "Gets or sets the URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + } + }, + "Probe": { + "properties": { + "properties": { + "$ref": "#/definitions/ProbePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Load balancer Probe" + }, + "InboundNatRulePropertiesFormat": { + "properties": { + "frontendIPConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets a reference to frontend IP Addresses" + }, + "backendIPConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets a reference to a private ip address defined on a NetworkInterface of a VM. Traffic sent to frontendPort of each of the frontendIPConfigurations is forwarded to the backed IP" + }, + "protocol": { + "type": "string", + "description": "Gets or sets the transport potocol for the external endpoint. Possible values are Udp or Tcp", + "enum": [ + "Udp", + "Tcp" + ], + "x-ms-enum": "TransportProtocol" + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the port for the external endpoint. You can spcify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive" + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal compotnent on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to '*' to automatically assign an unallocated port that is discoverable using the runtime API" + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This emlement is only used when the protocol is set to Tcp" + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Inbound NAT rule" + }, + "InboundNatRule": { + "properties": { + "properties": { + "$ref": "#/definitions/InboundNatRulePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Inbound NAT rule of the loadbalancer" + }, + "LoadBalancerPropertiesFormat": { + "properties": { + "frontendIPConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/FrontendIpConfiguration" + }, + "description": "Gets or sets frontend IP addresses of the load balancer" + }, + "backendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/BackendAddressPool" + }, + "description": "Gets or sets Pools of backend IP addresseses" + }, + "loadBalancingRules": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + }, + "description": "Gets or sets loadbalancing rules" + }, + "probes": { + "type": "array", + "items": { + "$ref": "#/definitions/Probe" + }, + "description": "Gets or sets list of Load balancer probes" + }, + "inboundNatRules": { + "type": "array", + "items": { + "$ref": "#/definitions/InboundNatRule" + }, + "description": "Gets or sets list of inbound rules" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of Load Balancer" + }, + "LoadBalancer": { + "properties": { + "properties": { + "$ref": "#/definitions/LoadBalancerPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "LoadBalancer resource" + }, + "LoadBalancerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancer" + }, + "description": "Gets a list of LoadBalancers in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListLoadBalancers Api service call" + }, + "AddressSpace": { + "properties": { + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets List of address blocks reserved for this virtual network in CIDR notation" + } + }, + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets" + }, + "LocalNetworkGatewayPropertiesFormat": { + "properties": { + "localNetworkAddressSpace": { + "$ref": "#/definitions/AddressSpace", + "description": "Local network site Address space" + }, + "gatewayIpAddress": { + "type": "string", + "description": "IP address of local network gateway." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed" + } + }, + "description": "LocalNetworkGateway properties" + }, + "LocalNetworkGateway": { + "properties": { + "properties": { + "$ref": "#/definitions/LocalNetworkGatewayPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "A common class for general resource information" + }, + "LocalNetworkGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "description": "Gets List of LocalNetworkGateways that exists in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListLocalNetworkGateways Api service call" + }, + "NetworkInterfaceIpConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "Gets or sets the privateIPAddress of the Network Interface IP Configuration" + }, + "privateIPAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": "IpAllocationMethod" + }, + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the subnet resource" + }, + "publicIPAddress": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the PublicIP resource" + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets or sets the reference of LoadBalancerBackendAddressPool resource" + }, + "loadBalancerInboundNatRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets or sets list of references of LoadBalancerInboundNatRules" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of IPConfiguration" + }, + "NetworkInterfaceIpConfiguration": { + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfaceIpConfigurationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "IPConfiguration in a NetworkInterface" + }, + "NetworkInterfaceDnsSettings": { + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets list of DNS servers IP addresses" + }, + "appliedDnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets list of Applied DNS servers IP addresses" + }, + "internalDnsNameLabel": { + "type": "string", + "description": "Gets or sets the Internal DNS name" + }, + "internalFqdn": { + "type": "string", + "description": "Gets or sets full IDNS name in the form, DnsName.VnetId.ZoneId.TopleveSuffix. This is set when the NIC is associated to a VM" + } + }, + "description": "Dns Settings of a network interface" + }, + "NetworkInterfacePropertiesFormat": { + "properties": { + "virtualMachine": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of a VirtualMachine" + }, + "networkSecurityGroup": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the NetworkSecurityGroup resource" + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceIpConfiguration" + }, + "description": "Gets or sets list of IPConfigurations of the NetworkInterface" + }, + "dnsSettings": { + "$ref": "#/definitions/NetworkInterfaceDnsSettings", + "description": "Gets or sets DNS Settings in NetworkInterface" + }, + "macAddress": { + "type": "string", + "description": "Gets the MAC Address of the network interface" + }, + "primary": { + "type": "boolean", + "description": "Gets whether this is a primary NIC on a virtual machine" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "NetworkInterface properties. " + }, + "NetworkInterface": { + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfacePropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "A NetworkInterface in a resource group" + }, + "NetworkInterfaceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "Gets or sets list of NetworkInterfaces in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListNetworkInterface Api service call" + }, + "SecurityRulePropertiesFormat": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets a description for this rule. Restricted to 140 chars." + }, + "protocol": { + "type": "string", + "description": "Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).", + "enum": [ + "Tcp", + "Udp", + "*" + ], + "x-ms-enum": "SecurityRuleProtocol" + }, + "sourcePortRange": { + "type": "string", + "description": "Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterix “*” can also be used to match all ports." + }, + "destinationPortRange": { + "type": "string", + "description": "Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterix “*” can also be used to match all ports." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "Gets or sets source address prefix. CIDR or source IP range. Asterix “*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress rule, specifies where network traffic originates from. " + }, + "destinationAddressPrefix": { + "type": "string", + "description": "Gets or sets destination address prefix. CIDR or source IP range. Asterix “*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. " + }, + "access": { + "type": "string", + "description": "Gets or sets network traffic is allowed or denied. Possible values are “Allow” and “Deny”", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": "SecurityRuleAccess" + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "direction": { + "type": "string", + "description": "Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outcoming traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": "SecurityRuleDirection" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + } + }, + "SecurityRule": { + "properties": { + "properties": { + "$ref": "#/definitions/SecurityRulePropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Network security rule" + }, + "NetworkSecurityGroupPropertiesFormat": { + "properties": { + "securityRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "Gets or sets Security rules of network security group" + }, + "defaultSecurityRules": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "Gets or sets Default security rules of network security group" + }, + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets collection of references to Network Interfaces" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets collection of references to subnets" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Network Security Group resource" + }, + "NetworkSecurityGroup": { + "properties": { + "properties": { + "$ref": "#/definitions/NetworkSecurityGroupPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "NetworkSecurityGroup resource" + }, + "NetworkSecurityGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityGroup" + }, + "description": "Gets List of NetworkSecurityGroups in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListNetworkSecurityGroups Api servive call" + }, + "PublicIpAddressDnsSettings": { + "properties": { + "domainNameLabel": { + "type": "string", + "description": "Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system." + }, + "fqdn": { + "type": "string", + "description": "Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone." + }, + "reverseFqdn": { + "type": "string", + "description": "Gets or Sests the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. " + } + }, + "description": "Contains FQDN of the DNS record associated with the public IP address" + }, + "PublicIpAddressPropertiesFormat": { + "properties": { + "publicIPAllocationMethod": { + "type": "string", + "description": "Gets or sets PublicIP allocation method (Static/Dynamic)", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": "IpAllocationMethod" + }, + "ipConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Gets a reference to the network interface IP configurations using this public IP address" + }, + "dnsSettings": { + "$ref": "#/definitions/PublicIpAddressDnsSettings", + "description": "Gets or sets FQDN of the DNS record associated with the public IP address" + }, + "ipAddress": { + "type": "string", + "description": "Gets the assigned public IP address" + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Idletimeout of the public IP address" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "PublicIpAddress properties" + }, + "PublicIpAddress": { + "properties": { + "properties": { + "$ref": "#/definitions/PublicIpAddressPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "PublicIPAddress resource" + }, + "PublicIpAddressListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicIpAddress" + }, + "description": "Gets List of publicIP addresses that exists in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListPublicIpAddresses Api service call" + }, + "SecurityRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRule" + }, + "description": "Gets security rules in a network security group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group" + }, + "SubnetPropertiesFormat": { + "properties": { + "addressPrefix": { + "type": "string", + "description": "Gets or sets Address prefix for the subnet." + }, + "networkSecurityGroup": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the NetworkSecurityGroup resource" + }, + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets array of references to the network interface IP configurations using subnet" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + } + }, + "Subnet": { + "properties": { + "properties": { + "$ref": "#/definitions/SubnetPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "Subnet in a VirtualNework resource" + }, + "SubnetListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Subnet" + }, + "description": "Gets the subnets in a virtual network" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network" + }, + "UsageName": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets a string describing the resource name." + }, + "localizedValue": { + "type": "string", + "description": "Gets or sets a localized string describing the resource name." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "properties": { + "unit": { + "type": "string", + "description": "Gets or sets an enum describing the unit of measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": "UsageUnit" + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the current value of the usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the limit of usage." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "Gets or sets the name of the type of usage." + } + }, + "description": "Describes Network Resource Usage." + }, + "UsagesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "Gets or sets the list Network Resource Usages." + } + }, + "description": "The List Usages operation response." + }, + "VirtualNetworkGatewayIpConfigurationPropertiesFormat": { + "properties": { + "privateIPAddress": { + "type": "string", + "description": "Gets or sets the privateIPAddress of the Network Interface IP Configuration" + }, + "privateIPAllocationMethod": { + "type": "string", + "description": "Gets or sets PrivateIP allocation method (Static/Dynamic)", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": "IpAllocationMethod" + }, + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the subnet resource" + }, + "publicIPAddress": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the reference of the PublicIP resource" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + }, + "description": "Properties of VirtualNetworkGatewayIPConfiguration" + }, + "VirtualNetworkGatewayIpConfiguration": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayIpConfigurationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource" + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "SubResource" + } + ], + "description": "IpConfiguration for Virtual network gateway" + }, + "VirtualNetworkGatewayPropertiesFormat": { + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayIpConfiguration" + }, + "description": "IpConfigurations for Virtual network gateway." + }, + "gatewayType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "Vpn" + ], + "x-ms-enum": "VirtualNetworkGatewayType" + }, + "vpnType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "PolicyBased", + "RouteBased" + ], + "x-ms-enum": "VpnType" + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp Flag" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the VirtualNetworkGateway resource Updating/Deleting/Failed" + } + }, + "description": "VirtualNeworkGateay properties" + }, + "VirtualNetworkGateway": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "A common class for general resource information" + }, + "VirtualNetworkGatewayConnectionPropertiesFormat": { + "properties": { + "virtualNetworkGateway1": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "virtualNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "localNetworkGateway2": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "connectionType": { + "type": "string", + "description": "Gateway connection type -Ipsec/Dedicated/VpnClient/Vnet2Vnet", + "enum": [ + "IPsec", + "Vnet2Vnet", + "ExpressRoute", + "VPNClient" + ], + "x-ms-enum": "VirtualNetworkGatewayConnectionType" + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The Routing weight." + }, + "sharedKey": { + "type": "string", + "description": "The Ipsec share key." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the VirtualNetworkGatewayConnection resource Updating/Deleting/Failed" + } + }, + "description": "VirtualNeworkGatewayConnection properties" + }, + "VirtualNetworkGatewayConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "A common class for general resource information" + }, + "ConnectionSharedKey": { + "properties": { + "value": { + "type": "string", + "description": "The virtual network connection shared key value" + } + }, + "description": "Response for GetConnectionSharedKey Api servive call" + }, + "VirtualNetworkGatewayConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + }, + "description": "Gets List of VirtualNetworkGatewayConnections that exists in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworkGatewayConnections Api service call" + }, + "ConnectionResetSharedKeyPropertiesFormat": { + "properties": { + "keyLength": { + "type": "integer", + "format": "int64", + "description": "The virtual network connection reset shared key length" + } + }, + "description": "VirtualNeworkGatewayConnectionResetSharedKey properties" + }, + "ConnectionResetSharedKey": { + "properties": { + "properties": { + "$ref": "#/definitions/ConnectionResetSharedKeyPropertiesFormat" + } + } + }, + "VirtualNetworkGatewayListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "description": "Gets List of VirtualNetworkGateways that exists in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworkGateways Api service call" + }, + "DhcpOptions": { + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets list of DNS servers IP addresses" + } + }, + "description": "DHCPOptions contains an array of DNS servers available to VMs deployed in the virtual networkStandard DHCP option for a subnet overrides VNET DHCP options." + }, + "VirtualNetworkPropertiesFormat": { + "properties": { + "addressSpace": { + "$ref": "#/definitions/AddressSpace", + "description": "Gets or sets AddressSpace that contains an array of IP address ranges that can be used by subnets" + }, + "dhcpOptions": { + "$ref": "#/definitions/DhcpOptions", + "description": "Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network" + }, + "subnets": { + "type": "array", + "items": { + "$ref": "#/definitions/Subnet" + }, + "description": "Gets or sets List of subnets in a VirtualNetwork" + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" + } + } + }, + "VirtualNetwork": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkPropertiesFormat" + }, + "etag": { + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "Virtual Network resource" + }, + "VirtualNetworkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + }, + "description": "Gets list of VirtualNetworks in a resource group" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Response for ListVirtualNetworks Api servive call" + }, + "DnsNameAvailabilityResult": { + "properties": { + "available": { + "type": "boolean", + "description": "Domain availability (True/False)" + } + }, + "description": "Response for CheckDnsNameAvailability Api servive call" + }, + "ErrorDetails": { + "properties": { + "code": { + "type": "string" + }, + "target": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "Error": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "target": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + } + }, + "innerError": { + "type": "string" + } + } + }, + "AzureAsyncOperationResult": { + "properties": { + "status": { + "type": "string", + "description": "Status of the AzureAsuncOperation", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": "OperationStatus" + }, + "error": { + "$ref": "#/definitions/Error" + } + }, + "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Resources.Authorization/2015-01-01/swagger/service.json b/Microsoft.Resources.Authorization/2015-01-01/swagger/service.json new file mode 100644 index 000000000000..491e952a740b --- /dev/null +++ b/Microsoft.Resources.Authorization/2015-01-01/swagger/service.json @@ -0,0 +1,741 @@ +{ + "swagger": "2.0", + "info": { + "title": "AuthorizationClient", + "version": "2015-01-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}": { + "put": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_CreateOrUpdateAtResourceGroupLevel", + "description": "Create or update a management lock at the resource group level.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name." + }, + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The lock name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagementLockProperties" + }, + "description": "The management lock parameters." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}": { + "put": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_CreateOrUpdateAtResourceLevel", + "description": "Create or update a management lock at the resource level or any level below resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. " + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of lock." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagementLockProperties" + }, + "description": "Create or update management lock parameters." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + } + } + }, + "delete": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_DeleteAtResourceLevel", + "description": "Deletes the management lock of a resource or any level below resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. " + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of lock." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + }, + "204": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}": { + "put": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_CreateOrUpdateAtSubscriptionLevel", + "description": "Create or update a management lock at the subscription level.", + "parameters": [ + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of lock." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ManagementLockProperties" + }, + "description": "The management lock parameters." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + } + } + }, + "delete": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_DeleteAtSubscriptionLevel", + "description": "Deletes the management lock of a subscription.", + "parameters": [ + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of lock." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "202": { + "description": "" + }, + "200": { + "description": "" + } + } + }, + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_Get", + "description": "Gets the management lock of a scope.", + "parameters": [ + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the management lock." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockObject" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Authorization/locks/{lockName}": { + "delete": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_DeleteAtResourceGroupLevel", + "description": "Deletes the management lock of a resource group.", + "parameters": [ + { + "name": "resourceGroup", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group names." + }, + { + "name": "lockName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of lock." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "202": { + "description": "" + }, + "204": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks": { + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_ListAtResourceGroupLevel", + "description": "Gets all the management locks of a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource group name." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/ManagementLockObject" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks": { + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_ListAtResourceLevel", + "description": "Gets all the management locks of a resource or any level below resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/ManagementLockObject" + } + }, + "/{nextLink}": { + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_ListNext", + "description": "Get a list of management locks at resource level or below.", + "parameters": [ + { + "name": "nextLink", + "in": "path", + "required": true, + "type": "string", + "description": "NextLink from the previous successful call to List operation.", + "x-ms-skip-url-encoding": true + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks": { + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_ListAtSubscriptionLevel", + "description": "Gets all the management locks of a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ManagementLockListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/ManagementLockObject" + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "tagname": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagvalue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupExtendedFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagValue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource group filter." + }, + "ManagementLockProperties": { + "properties": { + "level": { + "type": "string", + "description": "Gets or sets the lock level of the management lock.", + "enum": [ + "NotSpecified", + "CanNotDelete", + "ReadOnly" + ], + "x-ms-enum": "LockLevel" + }, + "notes": { + "type": "string", + "description": "Gets or sets the notes of the management lock." + } + }, + "description": "The management lock properties." + }, + "ManagementLockObject": { + "properties": { + "properties": { + "$ref": "#/definitions/ManagementLockProperties", + "description": "Gets or sets the properties of the lock." + }, + "id": { + "type": "string", + "description": "Gets or sets the Id of the lock." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the lock." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the lock." + } + }, + "description": "Management lock information." + }, + "ManagementLockListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagementLockObject" + }, + "description": "Gets or sets the list of locks." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of management locks." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.json b/Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.json new file mode 100644 index 000000000000..0117c58b2b80 --- /dev/null +++ b/Microsoft.Resources.Feature/2014-08-01-preview/swagger/service.json @@ -0,0 +1,312 @@ +{ + "swagger": "2.0", + "info": { + "title": "FeatureClient", + "version": "2014-08-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Features/features": { + "get": { + "tags": [ + "Features" + ], + "operationId": "Features_ListAll", + "description": "Gets a list of previewed features for all the providers in the current subscription.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/FeatureOperationsListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features": { + "get": { + "tags": [ + "Features" + ], + "operationId": "Features_List", + "description": "Gets a list of previewed features of a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/FeatureOperationsListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}": { + "get": { + "tags": [ + "Features" + ], + "operationId": "Features_Get", + "description": "Get all features under the subscription.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Namespace of the resource provider." + }, + { + "name": "featureName", + "in": "path", + "required": true, + "type": "string", + "description": "Previewed feature name in the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/FeatureResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register": { + "post": { + "tags": [ + "Features" + ], + "operationId": "Features_Register", + "description": "Registers for a previewed feature of a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Namespace of the resource provider." + }, + { + "name": "featureName", + "in": "path", + "required": true, + "type": "string", + "description": "Previewed feature name in the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/FeatureResult" + } + } + } + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "tagname": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagvalue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupExtendedFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagValue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource group filter." + }, + "FeatureProperties": { + "properties": { + "state": { + "type": "string", + "description": "Gets or sets the state of the previewed feature." + } + }, + "description": "Previewed feature information." + }, + "FeatureResult": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the feature." + }, + "properties": { + "$ref": "#/definitions/FeatureProperties", + "description": "Gets or sets the properties of the previewed feature." + }, + "id": { + "type": "string", + "description": "Gets or sets the Id of the feature." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the feature." + } + }, + "description": "Previewed feature information." + }, + "FeatureOperationsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FeatureResult" + }, + "description": "Gets or sets the list of Features." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of previewed features." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Resources/2014-04-01-preview/swagger/service.json b/Microsoft.Resources/2014-04-01-preview/swagger/service.json new file mode 100644 index 000000000000..bd2e15883301 --- /dev/null +++ b/Microsoft.Resources/2014-04-01-preview/swagger/service.json @@ -0,0 +1,2140 @@ +{ + "swagger": "2.0", + "info": { + "title": "ResourceManagementClient", + "version": "2014-04-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Unregister", + "description": "Unregisters provider from a subscription.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Namespace of the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Register", + "description": "Registers provider to be used with a subscription.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Namespace of the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_List", + "description": "Gets a list of resource providers.", + "parameters": [ + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters. If null is passed returns all deployments." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ProviderListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}": { + "get": { + "tags": [ + "Providers" + ], + "operationId": "Providers_Get", + "description": "Gets a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Namespace of the resource provider." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Provider" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_ListResources", + "description": "Get all of the resources under a subscription.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "Query parameters. If null is passed returns all resource groups." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters. If null is passed returns all resource groups." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { + "head": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_CheckExistence", + "description": "Checks whether resource group exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to check. The name is case insensitive." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "404": { + "description": "" + }, + "204": { + "description": "" + } + } + }, + "put": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_CreateOrUpdate", + "description": "Create a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to be created or updated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "Parameters supplied to the create or update resource group service operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceGroupExtended" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceGroupExtended" + } + } + } + }, + "delete": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Delete", + "description": "Begin deleting resource group.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to be deleted. The name is case insensitive." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Get", + "description": "Get a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to get. The name is case insensitive." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceGroupExtended" + } + } + } + }, + "patch": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_Patch", + "description": "Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource groups, though if a field is unspecified current value will be carried over. ", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to be created or updated. The name is case insensitive." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGroup" + }, + "description": "Parameters supplied to the update state resource group service operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceGroupExtended" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups": { + "get": { + "tags": [ + "ResourceGroups" + ], + "operationId": "ResourceGroups_List", + "description": "Gets a collection of resource groups.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters. If null is passed returns all resource groups." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceGroupListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/ResourceGroupExtendedFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources_MoveResources", + "description": "Move resources within or across subscriptions.", + "parameters": [ + { + "name": "sourceResourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "Source resource group name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourcesMoveInfo" + }, + "description": "move resources' parameters." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/resources": { + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_List", + "description": "Get all of the resources under a subscription.", + "parameters": [ + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters. If null is passed returns all resource groups." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/GenericResourceFilter" + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { + "head": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CheckExistence", + "description": "Checks whether resource exists.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + } + } + }, + "delete": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Delete", + "description": "Delete resource and all of its resources. ", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "202": { + "description": "" + }, + "200": { + "description": "" + } + } + }, + "put": { + "tags": [ + "Resources" + ], + "operationId": "Resources_CreateOrUpdate", + "description": "Create a resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Create or update resource parameters." + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/GenericResource" + } + } + } + }, + "get": { + "tags": [ + "Resources" + ], + "operationId": "Resources_Get", + "description": "Returns a resource belonging to a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "parentResourcePath", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceType", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity.", + "x-ms-skip-url-encoding": true + }, + { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "", + "schema": { + "$ref": "#/definitions/GenericResource" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/GenericResource" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}": { + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_DeleteValue", + "description": "Delete a subscription resource tag value.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "200": { + "description": "" + } + } + }, + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdateValue", + "description": "Create a subscription resource tag value.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "name": "tagValue", + "in": "path", + "required": true, + "type": "string", + "description": "The value of the tag." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/TagValue" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/TagValue" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames/{tagName}": { + "put": { + "tags": [ + "Tags" + ], + "operationId": "Tags_CreateOrUpdate", + "description": "Create a subscription resource tag.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/TagDetails" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/TagDetails" + } + } + } + }, + "delete": { + "tags": [ + "Tags" + ], + "operationId": "Tags_Delete", + "description": "Delete a subscription resource tag.", + "parameters": [ + { + "name": "tagName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the tag." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + }, + "200": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/tagNames": { + "get": { + "tags": [ + "Tags" + ], + "operationId": "Tags_List", + "description": "Get a list of subscription resource tags.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/TagsListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_Get", + "description": "Get a list of deployments operations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "Operation Id." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentOperation" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations": { + "get": { + "tags": [ + "DeploymentOperations" + ], + "operationId": "DeploymentOperations_List", + "description": "Gets a list of deployments operations.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentOperationsListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/providers/{resourceProviderNamespace}/operations": { + "get": { + "tags": [ + "ResourceProviderOperationDetails" + ], + "operationId": "ResourceProviderOperationDetails_List", + "description": "Gets a list of resource providers.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "Resource identity." + }, + { + "name": "api-version", + "in": "query", + "required": true, + "type": "string" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationDetailListResult" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationDetailListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/cancel": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Cancel", + "description": "Cancel a currently running template deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.resources/deployments/{deploymentName}/validate": { + "post": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Validate", + "description": "Validate a deployment template.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Deployment to validate." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + }, + "400": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentValidateResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}": { + "put": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_CreateOrUpdate", + "description": "Create a named template deployment using a template.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Deployment" + }, + "description": "Additional parameters supplied to the operation." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + } + }, + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_Get", + "description": "Get a deployment.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to get. The name is case insensitive." + }, + { + "name": "deploymentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the deployment." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentExtended" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/": { + "get": { + "tags": [ + "Deployments" + ], + "operationId": "Deployments_List", + "description": "Get a list of deployments.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group to filter by. The name is case insensitive." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "description": "Query parameters. If null is passed returns all deployments." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/DeploymentListResult" + } + } + }, + "x-ms-pageable": true, + "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "tagname": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagvalue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupExtendedFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagValue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource group filter." + }, + "ProviderResourceType": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "locations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the collection of locations where this resource type can be created in." + }, + "apiVersions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the api version." + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the properties." + } + }, + "description": "Resource type managed by the resource provider." + }, + "Provider": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the provider id." + }, + "namespace": { + "type": "string", + "description": "Gets or sets the namespace of the provider." + }, + "registrationState": { + "type": "string", + "description": "Gets or sets the registration state of the provider." + }, + "resourceTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ProviderResourceType" + }, + "description": "Gets or sets the collection of provider resource types." + } + }, + "description": "Resource provider information." + }, + "ProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "Gets or sets the list of resource providers." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of resource providers." + }, + "GenericResource": { + "properties": { + "plan": { + "$ref": "#/definitions/Plan", + "description": "Gets or sets the plan of the resource." + }, + "properties": { + "type": "object", + "description": "Gets or sets the resource properties." + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "Resource information." + }, + "Plan": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the plan ID." + }, + "publisher": { + "type": "string", + "description": "Gets or sets the publisher ID." + }, + "product": { + "type": "string", + "description": "Gets or sets the offer ID." + }, + "promotionCode": { + "type": "string", + "description": "Gets or sets the promotion code." + } + }, + "description": "Plan for the resource." + }, + "ResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GenericResource" + }, + "description": "Gets or sets the list of resource groups." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourceGroup": { + "properties": { + "location": { + "type": "string", + "description": "Gets or sets the location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc." + }, + "properties": { + "type": "object", + "description": "Gets or sets the resource group properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource group." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets resource group provisioning state." + } + }, + "description": "Resource group information." + }, + "ResourceGroupFormatResourceProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets resource group provisioning state." + } + }, + "description": "The resource group properties." + }, + "ResourceGroupExtended": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ID of the resource group." + }, + "name": { + "type": "string", + "description": "Gets or sets the Name of the resource group." + }, + "properties": { + "$ref": "#/definitions/ResourceGroupFormatResourceProperties" + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource group." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets resource group provisioning state." + } + }, + "description": "Resource group information." + }, + "ResourceGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGroupExtended" + }, + "description": "Gets or sets the list of resource groups." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of resource groups." + }, + "ResourcesMoveInfo": { + "properties": { + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the ids of the resources." + }, + "targetResourceGroup": { + "type": "string", + "description": "The target resource group." + } + }, + "description": "Parameters of move resources." + }, + "TagCount": { + "properties": { + "type": { + "type": "string", + "description": "Type of count." + }, + "value": { + "type": "string", + "description": "Value of count." + } + }, + "description": "Tag count." + }, + "TagValue": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the tag ID." + }, + "tagValue": { + "type": "string", + "description": "Gets or sets the tag value." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "Gets or sets the tag value count." + } + }, + "description": "Tag information." + }, + "TagDetails": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the tag ID." + }, + "tagName": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "count": { + "$ref": "#/definitions/TagCount", + "description": "Gets or sets the tag count." + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/TagValue" + }, + "description": "Gets or sets the list of tag values." + } + }, + "description": "Tag details." + }, + "TagsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagDetails" + }, + "description": "Gets or sets the list of tags." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of subscription tags." + }, + "TargetResource": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ID of the resource." + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "resourceType": { + "type": "string", + "description": "Gets or sets the type of the resource." + } + }, + "description": "Target resource." + }, + "DeploymentOperationProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the state of the provisioning." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the date and time of the operation." + }, + "statusCode": { + "type": "string", + "description": "Gets or sets operation status code." + }, + "statusMessage": { + "type": "object", + "description": "Gets or sets operation status message." + }, + "targetResource": { + "$ref": "#/definitions/TargetResource", + "description": "Gets or sets the target resource." + } + }, + "description": "Deployment operation properties." + }, + "DeploymentOperation": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets full deployment operation id." + }, + "operationId": { + "type": "string", + "description": "Gets or sets deployment operation id." + }, + "properties": { + "$ref": "#/definitions/DeploymentOperationProperties", + "description": "Gets or sets deployment properties." + } + }, + "description": "Deployment operation information." + }, + "DeploymentOperationsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentOperation" + }, + "description": "Gets or sets the list of deployments." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of deployment operations." + }, + "ResourceProviderOperationDisplayProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets operation description." + }, + "provider": { + "type": "string", + "description": "Gets or sets operation provider." + }, + "resource": { + "type": "string", + "description": "Gets or sets operation resource." + }, + "operation": { + "type": "string", + "description": "Gets or sets operation." + }, + "description": { + "type": "string", + "description": "Gets or sets operation description." + } + }, + "description": "Resource provider operation's display properties." + }, + "ResourceProviderOperationDefinition": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the provider operation name." + }, + "display": { + "$ref": "#/definitions/ResourceProviderOperationDisplayProperties", + "description": "Gets or sets the display property of the provider operation." + } + }, + "description": "Resource provider operation information." + }, + "ResourceProviderOperationDetailListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperationDefinition" + }, + "description": "Gets or sets the list of resource provider operations." + } + }, + "description": "List of resource provider operations." + }, + "TemplateLink": { + "properties": { + "uri": { + "type": "string", + "description": "URI referencing the template." + }, + "contentVersion": { + "type": "string", + "description": "If included it must match the ContentVersion in the template." + } + }, + "description": "Entity representing the reference to the template." + }, + "ParametersLink": { + "properties": { + "uri": { + "type": "string", + "description": "URI referencing the template." + }, + "contentVersion": { + "type": "string", + "description": "If included it must match the ContentVersion in the template." + } + }, + "description": "Entity representing the reference to the deployment paramaters." + }, + "DeploymentProperties": { + "properties": { + "template": { + "type": "object", + "description": "Gets or sets the template content. Use only one of Template or TemplateLink." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "Gets or sets the URI referencing the template. Use only one of Template or TemplateLink." + }, + "parameters": { + "type": "object", + "description": "Deployment parameters. Use only one of Parameters or ParametersLink." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "Gets or sets the URI referencing the parameters. Use only one of Parameters or ParametersLink." + }, + "mode": { + "type": "string", + "description": "Gets or sets the deployment mode.", + "enum": [ + "Incremental" + ], + "x-ms-enum": "DeploymentMode" + } + }, + "description": "Deployment properties." + }, + "Deployment": { + "properties": { + "properties": { + "$ref": "#/definitions/DeploymentProperties", + "description": "Gets or sets the deployment properties." + } + }, + "description": "Deployment operation parameters." + }, + "ResourceManagementError": { + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code returned from the server." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message returned from the server." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the error." + } + } + }, + "ResourceManagementErrorWithDetails": { + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceManagementError" + }, + "description": "Gets or sets validation error." + }, + "code": { + "type": "string", + "description": "Gets or sets the error code returned from the server." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message returned from the server." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the error." + } + } + }, + "BasicDependency": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "Gets or sets the dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "Dependency": { + "properties": { + "dependsOn": { + "type": "array", + "items": { + "$ref": "#/definitions/BasicDependency" + }, + "description": "Gets the list of dependencies." + }, + "id": { + "type": "string", + "description": "Gets or sets the ID of the dependency." + }, + "resourceType": { + "type": "string", + "description": "Gets or sets the dependency resource type." + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the dependency resource name." + } + }, + "description": "Deployment dependency information." + }, + "DeploymentPropertiesExtended": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the state of the provisioning." + }, + "correlationId": { + "type": "string", + "description": "Gets or sets the correlation ID of the deployment." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the timestamp of the template deployment." + }, + "outputs": { + "type": "object", + "description": "Gets or sets key/value pairs that represent deploymentoutput." + }, + "providers": { + "type": "array", + "items": { + "$ref": "#/definitions/Provider" + }, + "description": "Gets the list of resource providers needed for the deployment." + }, + "dependencies": { + "type": "array", + "items": { + "$ref": "#/definitions/Dependency" + }, + "description": "Gets the list of deployment dependencies." + }, + "template": { + "type": "object", + "description": "Gets or sets the template content. Use only one of Template or TemplateLink." + }, + "templateLink": { + "$ref": "#/definitions/TemplateLink", + "description": "Gets or sets the URI referencing the template. Use only one of Template or TemplateLink." + }, + "parameters": { + "type": "object", + "description": "Deployment parameters. Use only one of Parameters or ParametersLink." + }, + "parametersLink": { + "$ref": "#/definitions/ParametersLink", + "description": "Gets or sets the URI referencing the parameters. Use only one of Parameters or ParametersLink." + }, + "mode": { + "type": "string", + "description": "Gets or sets the deployment mode.", + "enum": [ + "Incremental" + ], + "x-ms-enum": "DeploymentMode" + } + }, + "description": "Deployment properties with additional details." + }, + "DeploymentValidateResult": { + "properties": { + "error": { + "$ref": "#/definitions/ResourceManagementErrorWithDetails", + "description": "Gets or sets validation error." + }, + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "Gets or sets the template deployment properties." + } + }, + "description": "Information from validate template deployment response." + }, + "DeploymentExtended": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ID of the deployment." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the deployment." + }, + "properties": { + "$ref": "#/definitions/DeploymentPropertiesExtended", + "description": "Gets or sets deployment properties." + } + }, + "description": "Deployment information." + }, + "DeploymentListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentExtended" + }, + "description": "Gets or sets the list of deployments." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "List of deployments." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Storage/2015-05-01-preview/swagger/service.json b/Microsoft.Storage/2015-05-01-preview/swagger/service.json new file mode 100644 index 000000000000..9287299ff4bf --- /dev/null +++ b/Microsoft.Storage/2015-05-01-preview/swagger/service.json @@ -0,0 +1,704 @@ +{ + "swagger": "2.0", + "info": { + "title": "StorageManagementClient", + "version": "2015-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": { + "post": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_CheckNameAvailability", + "description": "Checks that account name is valid and is not in use.", + "parameters": [ + { + "name": "accountName", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCheckNameAvailabilityParameters" + }, + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}": { + "put": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_Create", + "description": "Asynchronously creates a new storage account with the specified parameters. Existing accounts cannot be updated with this API and should instead use the Update Storage Account API. If an account is already created and subsequent PUT request is issued with exact same set of properties, then HTTP 200 would be returned. ", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCreateParameters" + }, + "description": "The parameters to provide for the created account." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_Delete", + "description": "Deletes a storage account in Microsoft Azure.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "" + }, + "204": { + "description": "" + } + } + }, + "get": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_GetProperties", + "description": "Returns the properties for the specified storage account including but not limited to name, account type, location, and account status. The ListKeys operation should be used to retrieve storage keys.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + } + } + }, + "patch": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_Update", + "description": "Updates the account type or tags for a storage account. It can also be used to add a custom domain (note that custom domains cannot be added via the Create operation). Only one custom domain is supported per storage account. This API can only be used to update one of tags, accountType, or customDomain per call. To update multiple of these properties, call the API multiple times with one change per call. This call does not change the storage keys for the account. If you want to change storage account keys, use the RegenerateKey operation. The location and name of the storage account cannot be changed after creation.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountUpdateParameters" + }, + "description": "The parameters to update on the account. Note that only one property can be changed at a time using this API. " + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys": { + "post": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_ListKeys", + "description": "Lists the access keys for the specified storage account.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccountKeys" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_List", + "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_ListByResourceGroup", + "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey": { + "post": { + "tags": [ + "StorageAccounts" + ], + "operationId": "StorageAccounts_RegenerateKey", + "description": "Regenerates the access keys for the specified storage account.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user’s subscription." + }, + { + "name": "accountName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. " + }, + { + "name": "regenerateKey", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountRegenerateKeyParameters" + }, + "description": "Specifies name of the key which should be regenerated." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/StorageAccountKeys" + } + } + } + } + } + }, + "definitions": { + "StorageAccountCheckNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "CheckNameAvailabilityResult": { + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." + }, + "reason": { + "type": "string", + "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", + "enum": [ + "AccountNameInvalid", + "AlreadyExists" + ], + "x-ms-enum": "Reason" + }, + "message": { + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail." + } + }, + "description": "The CheckNameAvailability operation response." + }, + "StorageAccountPropertiesCreateParameters": { + "properties": { + "accountType": { + "type": "string", + "description": "Gets or sets the account type.", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Standard_GRS", + "Standard_RAGRS", + "Premium_LRS" + ], + "x-ms-enum": "AccountType" + } + } + }, + "StorageAccountCreateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesCreateParameters" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "The parameters to provide for the account." + }, + "Endpoints": { + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint." + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint." + }, + "table": { + "type": "string", + "description": "Gets the table endpoint." + } + }, + "description": "The URIs that are used to perform a retrieval of a public blob, queue or table object." + }, + "CustomDomain": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the custom domain name. Name is the CNAME source." + }, + "useSubDomain": { + "type": "boolean", + "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates" + } + }, + "description": "The custom domain assigned to this storage account. This can be set via Update." + }, + "StorageAccountProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets the status of the storage account at the time the operation was called.", + "enum": [ + "Creating", + "ResolvingDNS", + "Succeeded" + ], + "x-ms-enum": "ProvisioningState" + }, + "accountType": { + "type": "string", + "description": "Gets the type of the storage account.", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Standard_GRS", + "Standard_RAGRS", + "Premium_LRS" + ], + "x-ms-enum": "AccountType" + }, + "primaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob endpoint." + }, + "primaryLocation": { + "type": "string", + "description": "Gets the location of the primary for the storage account." + }, + "statusOfPrimary": { + "type": "string", + "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", + "enum": [ + "Available", + "Unavailable" + ], + "x-ms-enum": "AccountStatus" + }, + "lastGeoFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is StandardGRS or StandardRAGRS." + }, + "secondaryLocation": { + "type": "string", + "description": "Gets the location of the geo replicated secondary for the storage account. Only available if the accountType is StandardGRS or StandardRAGRS." + }, + "statusOfSecondary": { + "type": "string", + "description": "Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the accountType is StandardGRS or StandardRAGRS.", + "enum": [ + "Available", + "Unavailable" + ], + "x-ms-enum": "AccountStatus" + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets the creation date and time of the storage account in UTC." + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "Gets the user assigned custom domain assigned to this storage account." + }, + "secondaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue or table object from the secondary location of the storage account. Only available if the accountType is StandardRAGRS." + } + } + }, + "StorageAccount": { + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountProperties" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "The storage account." + }, + "StorageAccountKeys": { + "properties": { + "key1": { + "type": "string", + "description": "Gets the value of key 1." + }, + "key2": { + "type": "string", + "description": "Gets the value of key 2." + } + }, + "description": "The access keys for the storage account." + }, + "StorageAccountListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageAccount" + }, + "description": "Gets the list of storage accounts and their properties." + }, + "nextLink": { + "type": "string", + "description": "Gets the link to the next set of results. Currently this will always be empty as the API does not support pagination." + } + }, + "description": "The list storage accounts operation response." + }, + "StorageAccountPropertiesUpdateParameters": { + "properties": { + "accountType": { + "type": "string", + "description": "Gets or sets the account type. Note that StandardZRS and PremiumLRS accounts cannot be changed to other account types, and other account types cannot be changed to StandardZRS or PremiumLRS.", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Standard_GRS", + "Standard_RAGRS", + "Premium_LRS" + ], + "x-ms-enum": "AccountType" + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." + } + } + }, + "StorageAccountUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters" + } + }, + "allOf": [ + { + "$ref": "Resource" + } + ], + "description": "The parameters to update on the account." + }, + "StorageAccountRegenerateKeyParameters": { + "properties": { + "keyName": { + "type": "string", + "enum": [ + "key1", + "key2" + ], + "x-ms-enum": "KeyName" + } + } + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file diff --git a/Microsoft.Subscriptions/2014-04-01-preview/swagger/service.json b/Microsoft.Subscriptions/2014-04-01-preview/swagger/service.json new file mode 100644 index 000000000000..b47ae4fec53d --- /dev/null +++ b/Microsoft.Subscriptions/2014-04-01-preview/swagger/service.json @@ -0,0 +1,273 @@ +{ + "swagger": "2.0", + "info": { + "title": "SubscriptionClient", + "version": "2014-04-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/json" + ], + "produces": [ + "application/json", + "text/json" + ], + "paths": { + "/subscriptions/{subscriptionId}": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_Get", + "description": "Gets details about particular subscription.", + "parameters": [ + { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Id of the subscription." + }, + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/Subscription" + } + } + } + } + }, + "/subscriptions": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "Subscriptions_List", + "description": "Gets a list of the subscriptionIds.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SubscriptionListResult" + } + } + }, + "x-ms-pageable": true + } + }, + "/tenants": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_List", + "description": "Gets a list of the tenantIds.", + "parameters": [ + { + "in": "query", + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/TenantListResult" + } + } + }, + "x-ms-pageable": true + } + } + }, + "definitions": { + "DeploymentExtendedFilter": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state." + } + }, + "description": "Deployment filter." + }, + "GenericResourceFilter": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "tagname": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagvalue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource filter." + }, + "ResourceGroupExtendedFilter": { + "properties": { + "tagName": { + "type": "string", + "description": "Gets or sets the tag name." + }, + "tagValue": { + "type": "string", + "description": "Gets or sets the tag value." + } + }, + "description": "Resource group filter." + }, + "Subscription": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the ID of the resource (/subscriptions/SubscriptionId)." + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription Id." + }, + "displayName": { + "type": "string", + "description": "Gets or sets the subscription display name" + }, + "state": { + "type": "string", + "description": "Gets or sets the subscription state" + } + }, + "description": "Subscription information." + }, + "SubscriptionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Subscription" + }, + "description": "Gets or sets subscriptions." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "Subscription list operation response." + }, + "TenantIdDescription": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets Id" + }, + "tenantId": { + "type": "string", + "description": "Gets or sets tenantId" + } + }, + "description": "Tenant Id information" + }, + "TenantListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TenantIdDescription" + }, + "description": "Gets or sets tenant Ids." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the URL to get the next set of results." + } + }, + "description": "Tenant Ids information." + }, + "Resource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-external": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "x-ms-external": true + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + } +} \ No newline at end of file